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
When the id field is missing and the CWL is provided directly as Python objects, the following error is raised:
KeyError: processobj["id"]
However, the code seems to attempt adding a temporary id (in the form _:<UUID> beforehand) to work around the "missing" document reference when the contents are provided directly. Therefore, the above processobj reference seems invalid.
Workflow Code
see above
Full Traceback
Traceback (most recent call last):
File "/opt/pycharm-2023.2/plugins/python/helpers/pydev/pydevconsole.py", line 364, in runcode
coro = func()
File "<input>", line 1, in <module>
File "/home/francis/dev/conda/envs/weaver/lib/python3.10/site-packages/cwltool/factory.py", line 67, in make
load = load_tool.load_tool(cwl, self.loading_context)
File "/home/francis/dev/conda/envs/weaver/lib/python3.10/site-packages/cwltool/load_tool.py", line 605, in load_tool
loadingContext, uri = resolve_and_validate_document(
File "/home/francis/dev/conda/envs/weaver/lib/python3.10/site-packages/cwltool/load_tool.py", line 519, in resolve_and_validate_document
uri = processobj["id"]
File "/home/francis/dev/conda/envs/weaver/lib/python3.10/site-packages/ruamel/yaml/comments.py", line 927, in __getitem__return ordereddict.__getitem__(self, key)
KeyError: 'id'
Your Environment
cwltool version: 3.1.20230906142556
The text was updated successfully, but these errors were encountered:
Expected Behavior
Actual Behavior
When the
id
field is missing and the CWL is provided directly as Python objects, the following error is raised:However, the code seems to attempt adding a temporary
id
(in the form_:<UUID>
beforehand) to work around the "missing" document reference when the contents are provided directly. Therefore, the aboveprocessobj
reference seems invalid.Workflow Code
see above
Full Traceback
Your Environment
The text was updated successfully, but these errors were encountered: