Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mr-c opened this issue Jan 1, 2023 · 0 comments
Open

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

mr-c opened this issue Jan 1, 2023 · 0 comments

Comments

@mr-c
Copy link
Member

mr-c commented Jan 1, 2023

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: common-workflow-language/common-workflow-language#568

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant