Skip to content

Commit 4e3815f

Browse files
committed
plumb debug and js_console keyword args through to do_eval when processing workflows
1 parent 8959e7e commit 4e3815f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cwltool/workflow.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ def receive_output(self, step, outputparms, final_output_callback, jobout, proce
322322
if completed == len(self.steps):
323323
self.do_output_callback(final_output_callback)
324324

325-
def try_make_job(self, step, final_output_callback, **kwargs):
325+
def try_make_job(self, step, final_output_callback, debug=False, js_console=False, **kwargs):
326326
# type: (WorkflowJobStep, Callable[[Any, Any], Any], **Any) -> Generator
327327
inputparms = step.tool["inputs"]
328328
outputparms = step.tool["outputs"]
@@ -362,7 +362,7 @@ def valueFromFunc(k, v): # type: (Any, Any) -> Any
362362
if k in valueFrom:
363363
return expression.do_eval(
364364
valueFrom[k], shortio, self.workflow.requirements,
365-
None, None, {}, context=v)
365+
None, None, {}, context=v, debug=debug, js_console=js_console)
366366
else:
367367
return v
368368

0 commit comments

Comments
 (0)