Using rabix-cli-1.0.5, Rabix fails on CWL that specifies complex inputs, such as an array of records. By comparison, Cromwell and the reference cwltool both succeed on the sample inputs.
An example error message is:
Execution failed for root. org.rabix.bindings.cwl.processor.CWLPortProcessorException:
org.rabix.bindings.cwl.processor.CWLPortProcessorException:
Error: java.lang.String cannot be cast to java.util.Map while processing value:
[{my_field=field_1}, {my_field=field_2}]
Both CWL examples below fail with this same sample input - test.yaml:
P.S. I'm not sure if InlineJavascriptRequirement is needed for an ExpressionTool or whether the expression should work with a simple string value (rather than an interpolated value). The CWL specifications and tutorial don't give much details.
Using
rabix-cli-1.0.5
, Rabix fails on CWL that specifies complex inputs, such as an array of records. By comparison, Cromwell and the referencecwltool
both succeed on the sample inputs.An example error message is:
Both CWL examples below fail with this same sample input -
test.yaml
:Using inline JS -
test-command-line.cwl
Using ExpressionTool -
test-expression.cwl
P.S. I'm not sure if
InlineJavascriptRequirement
is needed for an ExpressionTool or whether theexpression
should work with a simple string value (rather than an interpolated value). The CWL specifications and tutorial don't give much details.