Skip to content

types for input/output not consistent #2

Open
@gijzelaerr

Description

@gijzelaerr
cwlVersion: v1.0
class: Workflow

inputs:
 a: int
 b: int[]
 c:
   type: int?

outputs: {}

steps: {}

python:

IN: from cwl_utils.parser_v1_0 import load_document
IN: [i.type for i in load_document('test.cwl').inputs]
Out: 
['int',
 <cwl_utils.parser_v1_0.InputArraySchema at 0x7f9242121400>,
 ['null', 'int']]

Shouldn't the InputArraySchema object also be a string, for example array?

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