yuch7 / cwlexec

A new open source tool to run CWL workflows on LSF
Other
36 stars 8 forks source link

Unable to scatter over multiple arrays using a scatterMethod #8

Closed drjrm3 closed 6 years ago

drjrm3 commented 6 years ago

I am trying to scatter over 2 arrays of the same size using scatterMethod: flat_crossproduct and CWLEXEC fails with:

com.ibm.spectrumcomputing.cwl.model.process.parameter.type.file.CWLFile cannot be cast to java.lang.CharSequence

This seems to happen when using any scatterMethod. A failed run with debug info is attached.

CWLFileCastError.tar.gz

liuboxa commented 6 years ago

The scatter inputs are two different type (file, string), but Java is strong type, so when we scatter inputs, we should omit its type

liuboxa commented 6 years ago

Fixed in 50b76ed Also test with dotproduct