Skip to content

Commit af940f3

Browse files
committed
fix error in path setup
1 parent 6b2cc20 commit af940f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cwltool/singularity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def add_volumes(self, pathmapper, runtime, stage_output):
116116
for _, vol in pathmapper.items():
117117
if not vol.staged:
118118
continue
119-
if stage_output:
119+
if stage_output and not vol.target.startswith(container_outdir):
120120
containertgt = container_outdir + vol.target[len(host_outdir):]
121121
else:
122122
containertgt = vol.target

0 commit comments

Comments
 (0)