Skip to content

Commit

Permalink
fix: pass triggers and resources to subworkflow (#1733)
Browse files Browse the repository at this point in the history
* pass resources to subworkflow

* pass rerun_triggers to subworkflow
  • Loading branch information
goi42 committed Jun 22, 2022
1 parent 9b5ee38 commit fa7fb75
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions snakemake/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -833,10 +833,12 @@ def files(items):
targets=subworkflow_targets,
cores=self._cores,
nodes=self.nodes,
resources=self.global_resources,
configfiles=[subworkflow.configfile]
if subworkflow.configfile
else None,
updated_files=updated,
rerun_triggers=self.rerun_triggers,
):
return False
dag.updated_subworkflow_files.update(
Expand Down

0 comments on commit fa7fb75

Please sign in to comment.