diff --git a/cwltool/main.py b/cwltool/main.py index 2347e70cd..c724f0ffe 100755 --- a/cwltool/main.py +++ b/cwltool/main.py @@ -910,6 +910,9 @@ def main(argsl=None, # type: List[str] if out is not None: def locToPath(p): + for field in ("path", "nameext", "nameroot", "dirname"): + if field in p: + del p[field] if p["location"].startswith("file://"): p["path"] = uri_file_path(p["location"])