yuch7 / cwlexec

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

Fails to run when input CWLType is an array of File, Directory #23

Closed biokcb closed 6 years ago

biokcb commented 6 years ago

Hi,

We have a simple tool (attached) that performs echo on an input, and accepts either a File or Directory. When we run it, it returns the error too many types for one paramter . I've tested this with an array that is [File, string] or [Directory, string] or [string, int] and it seems to work, but the combination of [File, Directory] throws this error.

TooManyTypesError.tar.gz

skeeey commented 6 years ago

The root cause is we did not distinguish File and Directory, we should use class field to distinguish them

skeeey commented 6 years ago

Fixed at 7587f60