Skip to content

Commit e79d1a0

Browse files
authored
--leave-tmpdir includes the input staging directories (#1674)
1 parent 741f4e5 commit e79d1a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cwltool/job.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ def stderr_stdout_log_path(
439439
with runtimeContext.workflow_eval_lock:
440440
self.output_callback(outputs, processStatus)
441441

442-
if self.stagedir is not None and os.path.exists(self.stagedir):
442+
if runtimeContext.rm_tmpdir and self.stagedir is not None and os.path.exists(self.stagedir):
443443
_logger.debug(
444444
"[job %s] Removing input staging directory %s",
445445
self.name,

0 commit comments

Comments
 (0)