Skip to content

Commit 20b99ac

Browse files
fix: fix follow-up issue with group job handling when retrieving storage (#3871)
inputs <!--Add a description of your PR here--> ### QC <!-- Make sure that you can tick the boxes below. --> * [x] The PR contains a test case for the changes or the changes are already covered by an existing test case. * [x] The documentation (`docs/`) is updated to reflect the changes or this is not necessary (e.g. if the change does neither modify the language nor the behavior or functionalities of Snakemake). <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Refined job input evaluation logic for improved handling of external inputs and job status checking. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 02c1198 commit 20b99ac

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/snakemake/dag.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,13 +421,13 @@ def access_pattern(f):
421421
for f in inner_job.input:
422422
if (
423423
f.is_storage
424-
and not job.is_norun
424+
and not inner_job.is_norun
425425
and (
426426
# if f exists in storage, retrieve below will check if it is
427427
# newer than an eventual local copy
428428
(also_missing_internal and await f.exists_in_storage())
429429
or self.is_external_input(
430-
f, job, not_needrun_is_external=True
430+
f, inner_job, not_needrun_is_external=True
431431
)
432432
)
433433
):

0 commit comments

Comments
 (0)