Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix: fixed code change detection (#1513)
  • Loading branch information
johanneskoester committed Mar 25, 2022
1 parent aefb1eb commit 67298c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snakemake/dag.py
Expand Up @@ -2273,7 +2273,7 @@ def get_outputs_with_changes(self, change_type, include_needrun=True):
changed = list(chain(*map(is_changed, self.jobs)))
if change_type == "code":
for job in self.jobs:
if not job.is_group():
if not job.is_group() and (include_needrun or not self.needrun(job)):
changed.extend(list(job.outputs_older_than_script_or_notebook()))
return changed

Expand Down

0 comments on commit 67298c6

Please sign in to comment.