We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6c8c8d commit 5d98fe7Copy full SHA for 5d98fe7
cwlupgrader/main.py
@@ -12,7 +12,8 @@ def main(): # type: () -> int
12
with open(path) as entry:
13
document = ruamel.yaml.load(entry)
14
if ('cwlVersion' in document
15
- and document['cwlVersion'] == 'cwl:draft-3'):
+ and (document['cwlVersion'] == 'cwl:draft-3'
16
+ or document['cwlVersion'] == 'draft-3')):
17
draft3_to_v1_0(document)
18
else:
19
print("Skipping non draft-3 CWL document", file=sys.stderr)
0 commit comments