We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad21bce commit 1f69c1eCopy full SHA for 1f69c1e
cwltool/executors.py
@@ -97,7 +97,10 @@ def execute(self,
97
path_mapper=runtime_context.path_mapper)
98
99
if runtime_context.rm_tmpdir:
100
- cleanIntermediate(filter(lambda x: not x.startswith(runtime_context.cachedir), self.output_dirs))
+ if runtime_context.cachedir is not None:
101
+ cleanIntermediate(filter(lambda x: not x.startswith(runtime_context.cachedir), self.output_dirs))
102
+ else:
103
+ cleanIntermediate(self.output_dirs)
104
105
if self.final_output and self.final_status:
106
0 commit comments