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
Traceback (most recent call last):
File "/usr/local/bin/cwl-upgrader", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python3.6/dist-packages/cwlupgrader/main.py", line 24, in main
document = draft3_to_v1_0(document)
File "/usr/local/lib/python3.6/dist-packages/cwlupgrader/main.py", line 34, in draft3_to_v1_0
_draft3_to_v1_0(document)
File "/usr/local/lib/python3.6/dist-packages/cwlupgrader/main.py", line 57, in _draft3_to_v1_0
hints_and_requirements_clean(document)
File "/usr/local/lib/python3.6/dist-packages/cwlupgrader/main.py", line 161, in hints_and_requirements_clean
if entry["class"] == "CreateFileRequirement":
KeyError: 'class'
The text was updated successfully, but these errors were encountered:
I've looked into fixing this by simply skipping keys without a class, but the problem is I'm not sure how to even write out these import statements if we're using the dictionary-style requirements block, which is how cwl-upgrader outputs its CWL.
The
$import
key seems to cause this to fail. For example, here is the minimal CWL that will cause this problem:The error I get is:
The text was updated successfully, but these errors were encountered: