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

types for input/output not consistent

Offen
#2 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
43
Forks
28
Ø Merge
4 Std. 7 Min.
Gemergte PRs (30 T.)
4

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.