Skip to content

Commit

Permalink
fix: added forgotten yield in case of job preemption
Browse files Browse the repository at this point in the history
  • Loading branch information
cmeesters committed Sep 11, 2024
1 parent 8adfbf8 commit 6159844
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions snakemake_executor_plugin_slurm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,7 @@ async def check_active_jobs(
We leave it to SLURM to resume your job(s)"""
)
yield j
elif status == "UNKNOWN":
# the job probably does not exist anymore, but 'sacct' did not work
# so we assume it is finished
Expand Down

0 comments on commit 6159844

Please sign in to comment.