common-workflow-language / common-workflow-language/cwltool

type checking: optional enum source with an optional string sink?

Open
#1,780 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
376
Forks
255
Avg merge
2d 7h
Merged PRs (30d)
12

Description

https://github.com/datirium/workflows/blob/00ea05e22788029370898fd4c17798b11edf0e57/workflows/hopach.cwl

```
$ cwltool --validate https://github.com/datirium/workflows/raw/00ea05e22788029370898fd4c17798b11edf0e57/workflows/hopach.cwl
ERROR Tool definition failed validation:

hopach.cwl:66:5: Source 'target_column'
of type ["null",
{"type": "enum",
"symbols":
["https://github.com/datirium/workflows/raw/master/workflows/hopach.cwl#target_column/Rpkm",
"https://github.com/datirium/workflows/raw/master/workflows/hopach.cwl#target_column/TotalReads"]}]
is incompatible
hopach.cwl:302:7: with sink
'target_column' of
type ["null",
"string"]
```

Related: https://github.com/common-workflow-language/common-workflow-language/issues/568

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.