Closed cmeesters closed 2 months ago
The pull request modifies the check_active_jobs
function in the snakemake_executor_plugin_slurm/__init__.py
file by adding a line to yield job information when the job status is neither "UNKNOWN" nor other specified states. This change improves the function's control flow, allowing for more effective processing of active jobs.
Files | Change Summary |
---|---|
snakemake_executor_plugin_slurm/__init__.py |
Added yield j in function check_active_jobs |
🐰 In the meadow where jobs do play,
A new line added brightens the day.
With statuses checked, we hop and we yield,
Active jobs flourish, their fates now revealed.
So let's dance and rejoice, for changes are here,
In the world of Snakemake, we cheer with good cheer! 🎉
snakemake_executor_plugin_slurm/__init__.py (1)
`364-364`: **LGTM!** The change to yield `j` when the job status is neither "UNKNOWN" nor any other specified state is a good addition. It allows the function to provide job information to the caller in more cases, potentially enabling better handling of active jobs.
Summary by CodeRabbit