Skip to content

Commit ec43270

Browse files
authored
Remove 'nameroot' and 'nameext' from output object. (#536)
1 parent 9e1112f commit ec43270

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cwltool/main.py

+3
Original file line numberDiff line numberDiff line change
@@ -910,6 +910,9 @@ def main(argsl=None, # type: List[str]
910910
if out is not None:
911911

912912
def locToPath(p):
913+
for field in ("path", "nameext", "nameroot", "dirname"):
914+
if field in p:
915+
del p[field]
913916
if p["location"].startswith("file://"):
914917
p["path"] = uri_file_path(p["location"])
915918

0 commit comments

Comments
 (0)