common-workflow-language / schema_salad

Semantic Annotations for Linked Avro Data
https://www.commonwl.org/v1.2/SchemaSalad.html
Apache License 2.0
72 stars 62 forks source link

codegen validation rejects valid document #766

Open mr-c opened 9 months ago

mr-c commented 9 months ago

https://github.com/ResearchObject/runcrate/blob/main/tests/data/revsort-run-1/workflow/packed.cwl

https://github.com/ResearchObject/runcrate/actions/runs/6746561680/job/18340868647#step:5:226

E       schema_salad.exceptions.ValidationException: Value is a array, but valid type for this field is an object.
E       Value is a array, but valid type for this field is an object.
E       Value is a array, but valid type for this field is an object.

Also, where are the line numbers and filename?

mr-c commented 9 months ago

also these 4 conformance tests fail to run using cwltool --fast-parser and the new codegen

https://github.com/common-workflow-language/cwltool/actions/runs/6849823212/job/18622793216?pr=1678#step:7:335