Skip to content

Commit 1b660e0

Browse files
committed
Avoid deleting cached output
1 parent 0094a14 commit 1b660e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cwltool/executors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def execute(self,
9797
path_mapper=runtime_context.path_mapper)
9898

9999
if runtime_context.rm_tmpdir:
100-
cleanIntermediate(self.output_dirs)
100+
cleanIntermediate(filter(lambda x: x != runtime_context.cachedir, self.output_dirs))
101101

102102
if self.final_output and self.final_status:
103103

0 commit comments

Comments
 (0)