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

types for input/output not consistent

未关闭
#2 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
43
派生
28
平均合并
4 小时 7 分钟
30 天内合并 PR
4

描述

```
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?

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。