Skip to content

Commit cb61d1c

Browse files
committed
Merge branch 'feature-js-console-output' of https://github.com/wtsi-hgi/cwltool into feature-js-console-output
2 parents 2c65fad + 053e188 commit cb61d1c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cwltool/main.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -913,6 +913,9 @@ def main(argsl=None, # type: List[str]
913913
if out is not None:
914914

915915
def locToPath(p):
916+
for field in ("path", "nameext", "nameroot", "dirname"):
917+
if field in p:
918+
del p[field]
916919
if p["location"].startswith("file://"):
917920
p["path"] = uri_file_path(p["location"])
918921

0 commit comments

Comments
 (0)