common-workflow-lab / python-cwlgen

Generation of CWL programmatically. Available types: CommandLineTool and DockerRequirement
https://github.com/common-workflow-language/cwl-utils
MIT License
29 stars 13 forks source link

No support for array param_types, eg: CommandInputArraySchema #14

Closed illusional closed 5 years ago

illusional commented 5 years ago

Array types are not a primitive, however they can be represented in two ways: type[] or using the CommandInputArraySchema. Based on my fix for #12 in #13, it should be simple to add a CommandInputArraySchema, check for is instance and validate the fields based on the spec.