Skip to content

Commit 12903ef

Browse files
author
Peter Amstutz
committed
Fix Workflow.visit() to visit step.tool.
1 parent 2c1731f commit 12903ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cwltool/workflow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ def job(self, joborder, basedir, output_callback, **kwargs):
399399

400400
def visit(self, op):
401401
self.tool = op(self.tool)
402-
self.steps = [op(s) for s in self.steps]
402+
self.steps = [op(s.tool) for s in self.steps]
403403

404404
class WorkflowStep(Process):
405405

0 commit comments

Comments
 (0)