Skip to content

Commit 8e4ed82

Browse files
Added parsers for CWL input files (#199)
This commit adds support for parsing CWL input files with autogenerated Schema SALAD parsers, in order to obtain a coherent representation of CWL object between processfile and jobfile.
1 parent f2ac3ea commit 8e4ed82

18 files changed

+33440
-8025
lines changed

MANIFEST.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ include cwl_utils/cwlNodeEngineJSConsole.js
1010
include cwl_utils/cwlNodeEngineWithContext.js
1111
include testdata/*.cwl
1212
include testdata/*.yaml
13+
include testdata/*.yml
1314
include testdata/*.input
15+
include testdata/*.json
1416
include testdata/*.ttl
1517
include testdata/*.owl
1618
include testdata/*.js

create_cwl_from_objects.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99

1010
def main() -> None:
1111
"""Generate a CWL object to match "cat-tool.cwl"."""
12-
inputs = [cwl.CommandInputParameter(id="file1", type="File")]
12+
inputs = [cwl.CommandInputParameter(id="file1", type_="File")]
1313
outputs = [
1414
cwl.CommandOutputParameter(
1515
id="output",
16-
type="File",
16+
type_="File",
1717
outputBinding=cwl.CommandOutputBinding(glob="output"),
1818
)
1919
]

cwl_utils/cwl_v1_0_expression_refactor.py

Lines changed: 55 additions & 55 deletions
Large diffs are not rendered by default.

cwl_utils/cwl_v1_1_expression_refactor.py

Lines changed: 52 additions & 52 deletions
Large diffs are not rendered by default.

cwl_utils/cwl_v1_2_expression_refactor.py

Lines changed: 56 additions & 56 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)