Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fixed code change detection #1513

Merged
merged 2 commits into from Mar 25, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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