Skip to content

Rabix composer appears to generate invalid CWL according to cwltool --validate #444

@zymergen-mbarton

Description

@zymergen-mbarton

I have a relatively large workflow that I have created using rabix composer and then exported to YAML using both the command line rabix composer and the Seven Bridges web editor. In both cases I get an error when running cwltool --validate on the exported file. The errors appear to be related to unexpected fields. For example:

ERROR Tool definition failed validation:
workflow.cwl:1:1:         Object
                                 `workflow.cwl#production-workflow/workflow/1`
                                 is not valid because
                                   tried `Workflow` but
workflow.cwl:269:1:         the `steps` field is not valid because
                                       tried array of <WorkflowStep> but
workflow.cwl:2873:5:           item is invalid because
workflow.cwl:2879:5:             the `run` field is not valid because
workflow.cwl:2887:7:               the `inputs` field is not valid because
workflow.cwl:2888:11:               item is invalid because
                                                 * invalid field `prefix`, expected one of:
                                                 'label', 'secondaryFiles', 'streamable', 'doc', 'id', 'format',
                                                 'inputBinding', 'default', 'type'
workflow.cwl:2889:11:                 * invalid field `separate`, expected one of:
                                                 'label', 'secondaryFiles', 'streamable', 'doc', 'id', 'format',
                                                 'inputBinding', 'default', 'type'

The offending fields appear to be prefix and separate.

I wonder if you have any suggestions on how to generate a valid cwl file from exporting a workflow created in rabix composer? Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions