Skip to content

Commit a3f3221

Browse files
Generate parser from cwltool extensions (#337)
1 parent 70fbcd9 commit a3f3221

35 files changed

+8822
-741
lines changed

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ include testdata/workflows/*.cwl
2121
include testdata/workflows/*.yaml
2222
include testdata/types/*.yml
2323
include testdata/checker_wf/*.cwl
24+
include testdata/extensions/*.cwl
2425
include cwl_utils/py.typed
2526
include docs/conf.py docs/Makefile docs/_static/favicon.ico docs/requirements.txt
2627
include docs/*.rst

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,19 +191,19 @@ flake8: $(PYSOURCES)
191191
cwl_utils/parser/cwl_v1_0.py: FORCE
192192
schema-salad-tool --codegen python \
193193
--codegen-parser-info "org.w3id.cwl.v1_0" \
194-
https://github.com/common-workflow-language/common-workflow-language/raw/codegen/v1.0/CommonWorkflowLanguage.yml \
194+
https://github.com/common-workflow-language/common-workflow-language/raw/codegen/v1.0/extensions.yml \
195195
> $@
196196

197197
cwl_utils/parser/cwl_v1_1.py: FORCE
198198
schema-salad-tool --codegen python \
199199
--codegen-parser-info "org.w3id.cwl.v1_1" \
200-
https://github.com/common-workflow-language/cwl-v1.1/raw/codegen/CommonWorkflowLanguage.yml \
200+
https://github.com/common-workflow-language/cwl-v1.1/raw/codegen/extensions.yml \
201201
> $@
202202

203203
cwl_utils/parser/cwl_v1_2.py: FORCE
204204
schema-salad-tool --codegen python \
205205
--codegen-parser-info "org.w3id.cwl.v1_2" \
206-
https://github.com/common-workflow-language/cwl-v1.2/raw/codegen/CommonWorkflowLanguage.yml \
206+
https://github.com/common-workflow-language/cwl-v1.2/raw/codegen/extensions.yml \
207207
> $@
208208

209209
regen_parsers: cwl_utils/parser/cwl_v1_*.py

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,13 +152,13 @@ Regenerate parsers
152152
To regenerate install the ``schema_salad`` package and run:
153153

154154
``cwl_utils/parser/cwl_v1_0.py`` was created via
155-
``schema-salad-tool --codegen python https://github.com/common-workflow-language/common-workflow-language/raw/codegen/v1.0/CommonWorkflowLanguage.yml --codegen-parser-info "org.w3id.cwl.v1_0" > cwl_utils/parser/cwl_v1_0.py``
155+
``schema-salad-tool --codegen python https://github.com/common-workflow-language/common-workflow-language/raw/codegen/v1.0/extensions.yml --codegen-parser-info "org.w3id.cwl.v1_0" > cwl_utils/parser/cwl_v1_0.py``
156156

157157
``cwl_utils/parser/cwl_v1_1.py`` was created via
158-
``schema-salad-tool --codegen python https://github.com/common-workflow-language/cwl-v1.1/raw/codegen/CommonWorkflowLanguage.yml --codegen-parser-info "org.w3id.cwl.v1_1" > cwl_utils/parser/cwl_v1_1.py``
158+
``schema-salad-tool --codegen python https://github.com/common-workflow-language/cwl-v1.1/raw/codegen/extensions.yml --codegen-parser-info "org.w3id.cwl.v1_1" > cwl_utils/parser/cwl_v1_1.py``
159159

160160
``cwl_utils/parser/cwl_v1_2.py`` was created via
161-
``schema-salad-tool --codegen python https://github.com/common-workflow-language/cwl-v1.2/raw/1.2.1_proposed/CommonWorkflowLanguage.yml --codegen-parser-info "org.w3id.cwl.v1_2" > cwl_utils/parser/cwl_v1_2.py``
161+
``schema-salad-tool --codegen python https://github.com/common-workflow-language/cwl-v1.2/raw/codegen/extensions.yml --codegen-parser-info "org.w3id.cwl.v1_2" > cwl_utils/parser/cwl_v1_2.py``
162162

163163
Release
164164
~~~~~~~

0 commit comments

Comments
 (0)