You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi - I'm curious how up to date and stable this package is. It seems like parsing a CWL 1.2 workflow works in some ways but not others. I can parse a workflow when its stored unpacked, but can't parse a workflow when its packed. I can use load_document_by_uri but can't use cwl_utils.parser.cwl_v1_2.load_document
Depending on how a document is stored/loaded, I'm running into different issues traversing the workflow steps. I'm trying to use the docker_extract.py script as an example. I'm wondering if there is a right way of using this package and/or a wrong way.
The text was updated successfully, but these errors were encountered:
When cwl.load_document is initially called, args.input is "CWL/myworkflow.cwl".
This gets loaded without error.
As the script traverses the workflow, it tries to load the individual step cwl files. At this point its not constructing the relative paths to the actual cwl files correctly.
In get_process_from_step(), cwl.load_document is called but with the value in step.run.
step.run points to the step/tool cwl RELATIVE to the workflow cwl, NOT the working directory where the script it invoked from, e.g tools/myworkflow.steps/a_tool.cwl. This means when load_document is calling, its looks for the CWL in "./tools/myworkflow.steps/a_tool.cwl" INSTEAD of "./CWL/tools/myworkflow.steps/a_tool.cwl"
golharam
changed the title
How stable is this package?
docker_extract.py is not handling relative directories very well.
Sep 1, 2022
Hi - I'm curious how up to date and stable this package is. It seems like parsing a CWL 1.2 workflow works in some ways but not others. I can parse a workflow when its stored unpacked, but can't parse a workflow when its packed. I can use load_document_by_uri but can't use cwl_utils.parser.cwl_v1_2.load_document
Depending on how a document is stored/loaded, I'm running into different issues traversing the workflow steps. I'm trying to use the docker_extract.py script as an example. I'm wondering if there is a right way of using this package and/or a wrong way.
The text was updated successfully, but these errors were encountered: