Hyedryn/elikopy

sbatch_output referenced before assignement

ColinVDB opened this issue · 0 comments

if sbatch_output is not None:

When you try to run the sbatch command, if it fails and goes to the ecept section, the line 'if sbatch_output' creates an error because the sbatch_output variable is referenced before assignement.

Screenshot from 2023-11-09 13-36-38