Skip to content

Commit b3998f1

Browse files
committed
fix: active jobs were not tracked properly
1 parent b40718c commit b3998f1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

snakemake_executor_plugin_slurm/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -716,17 +716,17 @@ async def check_active_jobs(
716716
active_jobs_seen_by_sacct
717717
- active_jobs_ids_with_current_sacct_status
718718
)
719+
active_jobs_seen_by_sacct = (
720+
active_jobs_seen_by_sacct
721+
| active_jobs_ids_with_current_sacct_status
722+
)
719723
# Only log detailed debug info on final attempt or when complete.
720724
# This avoids log flooding in verbose mode.
721725
if not missing_sacct_status or i + 1 == status_attempts:
722726
self.logger.debug(
723727
f"active_jobs_ids_with_current_sacct_status are: "
724728
f"{active_jobs_ids_with_current_sacct_status}"
725729
)
726-
active_jobs_seen_by_sacct = (
727-
active_jobs_seen_by_sacct
728-
| active_jobs_ids_with_current_sacct_status
729-
)
730730
self.logger.debug(
731731
"active_jobs_seen_by_sacct are: "
732732
f"{active_jobs_seen_by_sacct}"

0 commit comments

Comments
 (0)