Skip to content

serialize to array of array instead of array #76

@yoanncouillec

Description

@yoanncouillec

base.inputs = <SBGWorkflowInputParameter[]> this.inputs.map(i => i.serialize());

Hi!
I faced a little bug while serializing CWL workflow.
When inputs type array contains more than one type it is serialize to an array of array like:
[ [ "int", "File" ] ]
However when the model contains only one typem the serialization is ok:
[ "File" ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions