common-workflow-language / common-workflow-language/cwl-utils

types for input/output not consistent

Open
#2 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
43
Forks
28
Avg merge
4h 7m
Merged PRs (30d)
4

Description

```
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',
,
['null', 'int']]
```
Shouldn't the `InputArraySchema` object also be a string, for example array?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.