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 1f69c1e commit 0e82410Copy full SHA for 0e82410
cwltool/executors.py
@@ -97,8 +97,9 @@ def execute(self,
97
path_mapper=runtime_context.path_mapper)
98
99
if runtime_context.rm_tmpdir:
100
- if runtime_context.cachedir is not None:
101
- cleanIntermediate(filter(lambda x: not x.startswith(runtime_context.cachedir), self.output_dirs))
+ cachedir = runtime_context.cachedir
+ if cachedir is not None:
102
+ cleanIntermediate(filter(lambda x: not x.startswith(cachedir), self.output_dirs))
103
else:
104
cleanIntermediate(self.output_dirs)
105
0 commit comments