Skip to content

Commit 033aa18

Browse files
author
Peter Amstutz
committed
Fix support piping input object from stdin, refs #1
1 parent 6ce6370 commit 033aa18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cwltool/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ def load_tool(argsworkflow, updateonly, strict, makeTool, debug,
343343

344344
return t
345345

346-
def load_job_order(args, t, parser):
346+
def load_job_order(args, t, parser, stdin):
347347

348348
job_order_object = None
349349

@@ -522,7 +522,7 @@ def main(args=None,
522522
_logger.error("Temporary directory prefix doesn't exist.")
523523
return 1
524524

525-
job_order_object = load_job_order(args, t, parser)
525+
job_order_object = load_job_order(args, t, parser, stdin)
526526

527527
if type(job_order_object) == int:
528528
return job_order_object

0 commit comments

Comments
 (0)