Skip to content

Commit

Permalink
Added CWLObjectType named union
Browse files Browse the repository at this point in the history
This commit introduces a `CWLObjectType` named union to represent a
valid CWL object. Using a more precise union type instead of `Any`
allows for a smarter parsing from SALAD auto-generated parsers.
In particular, `CWLObjectType` is used to define the type of the
`default` directive in CWL `InputParameter` and `WorkflowStepInput`
fields. Plus, a `CWLInputFile` type is introduced to represent a CWL
jobfiles as `map<string, CWLObjectType>`.
  • Loading branch information
GlassOfWhiskey committed Feb 7, 2023
1 parent f79146f commit 0327a00
Show file tree
Hide file tree
Showing 5 changed files with 547 additions and 399 deletions.
Loading

0 comments on commit 0327a00

Please sign in to comment.