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

InputArraySchema can't find some types #93

Closed
mr-c opened this issue Sep 4, 2021 · 0 comments
Closed

InputArraySchema can't find some types #93

mr-c opened this issue Sep 4, 2021 · 0 comments

Comments

@mr-c
Copy link
Member

mr-c commented Sep 4, 2021

Inspired by #71 (comment)

Parsing the result of cwltool --pack against https://github.com/common-workflow-language/cwl-v1.2/blob/5f27e234b4ca88ed1280dedf9e3391a01de12912/tests/import_schema-def.cwl#L14 works, but if the capture_kit type is changed to an array at https://github.com/common-workflow-language/cwl-v1.2/blob/5f27e234b4ca88ed1280dedf9e3391a01de12912/tests/import_schema-def.cwl#L14 then we get

                                                       Trying 'InputArraySchema'
packed2_import_schema-def.cwl:30:25:                     the `items` field is not valid because:
                                                           Term
                                                           '_:aec64949-a7fe-4207-a722-1bc42b7a1b6e#capture_kit.yml/capture_kit'
                                                           not in vocabulary

Maybe because the base ArraySchema has typeDSL: true not under items but under the static type field?

https://github.com/common-workflow-language/schema_salad/blob/main/schema_salad/metaschema/metaschema_base.yml#L172

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

Successfully merging a pull request may close this issue.

1 participant