Skip to content

Commit 2dc536d

Browse files
jxtxmr-c
authored andcommitted
Retain "outdir" in WorkflowJob.job.
Otherwise, the `--tmp-outdir-prefix` option passed on the command line is not respected, and outputs are instead written to the system temp directory.
1 parent d598e2d commit 2dc536d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

cwltool/workflow.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -361,9 +361,6 @@ def job(self, joborder, output_callback, **kwargs):
361361
self.state = {}
362362
self.processStatus = "success"
363363

364-
if "outdir" in kwargs:
365-
del kwargs["outdir"]
366-
367364
for e, i in enumerate(self.tool["inputs"]):
368365
with SourceLine(self.tool["inputs"], e, WorkflowException, _logger.isEnabledFor(logging.DEBUG)):
369366
iid = shortname(i["id"])

0 commit comments

Comments
 (0)