Open mscheremetjew opened 5 years ago
@mscheremetjew
Currently, cwlexec
does not support using $import
to import an input/output type from SchemaDefRequirement
:-(, you need to define a type in input/output filed directly, and we will consider to support this feature in next plan, thanks
@skeeey Thanks for the update on that. I will work around this meanwhile.
A simple workaround is to preprocess using cwltool --pack
You could also try packing your CWL into a single file with cwltool --pack test.cwll > test-packed.cwl
.
This does $import
and $include
processing, so that may be easier for cwlexec
to ingest until they become more compliant with the entirety of CWL v1.0.
@mr-c nice! thanks for adding this. other developers will benefit from it.
cwlexec reports the following and exits:
if a type definition is imported like that:
here is a simple test case for reproduction: test.cwl.txt test.yaml.txt test_values.yaml.txt
call: