Skip to content

Commit

Permalink
Make structure argument optional in subworkflow_progress
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Nov 11, 2021
1 parent 90a0311 commit 1709748
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/workflow/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ def subworkflow_invoker(self, trans, step, structure, use_cached_job=False):
progress=subworkflow_progress,
)

def subworkflow_progress(self, subworkflow_invocation, step, param_map, structure):
def subworkflow_progress(self, subworkflow_invocation, step, param_map, structure=None):
subworkflow = subworkflow_invocation.workflow
subworkflow_inputs = {}
for input_subworkflow_step in subworkflow.input_steps:
Expand Down

0 comments on commit 1709748

Please sign in to comment.