Skip to content

Commit e3bd4af

Browse files
Generate parser from cwltool extensions
This commit fixes #309 by generating the Python CWL parsers directly from the `codegen` branch of cwltool, including all the cwltool extensions in the parsers logic.
1 parent 3865f5f commit e3bd4af

File tree

6 files changed

+8177
-712
lines changed

6 files changed

+8177
-712
lines changed

Diff for: README.rst

+3-3
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/cwltool/raw/codegen/cwltool/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/cwltool/raw/codegen/cwltool/extensions-v1.1.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/cwltool/raw/codegen/cwltool/extensions-v1.2.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)