Skip to content

Commit 6ef6f72

Browse files
author
Peter Amstutz
committed
Support uri fragments in cwl:tool field of job objects.
1 parent 48251ec commit 6ef6f72

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cwltool/main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,7 @@ def load_tool(argsworkflow, updateonly, strict, makeTool, debug,
298298
if "cwl:tool" in workflowobj:
299299
jobobj = workflowobj
300300
workflowobj = document_loader.fetch(urlparse.urljoin(uri, workflowobj["cwl:tool"]))
301+
_, urifrag = urlparse.urldefrag(workflowobj["cwl:tool"])
301302
del jobobj["cwl:tool"]
302303

303304
workflowobj = update.update(workflowobj, document_loader, fileuri)

0 commit comments

Comments
 (0)