schema_salad icon indicating copy to clipboard operation
schema_salad copied to clipboard

codegen validation rejects valid document

Open mr-c opened this issue 2 years ago • 1 comments

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 avatar Nov 06 '23 11:11 mr-c

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

  • format_checking_equivalentclass: https://github.com/common-workflow-language/cwl-v1.2/blob/1.2.1_proposed/tests/formattest3.cwl
  • filesarray_secondaryfiles: https://github.com/common-workflow-language/cwl-v1.2/blob/1.2.1_proposed/tests/docker-array-secondaryfiles.cwl
  • input_records_file_entry_with_format: https://github.com/common-workflow-language/cwl-v1.2/blob/1.2.1_proposed/tests/record-in-format.cwl
  • record_output_file_entry_format: https://github.com/common-workflow-language/cwl-v1.2/blob/1.2.1_proposed/tests/record-out-format.cwl

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

mr-c avatar Nov 13 '23 16:11 mr-c