yuch7 / cwlexec

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

cwlexec doesn't support inputs of type Array<enum> #30

Closed mscheremetjew closed 5 years ago

mscheremetjew commented 5 years ago

cwlexec reports the following and exits: The variable type of the field [type] is not valid, "a valid CWL type" is required.

if the input port is defined like that:

inputs:
  - id: applications
    type:
      type: array
      items:
        type: enum
        name: applications
        symbols:
          - PfamA
          - TIGRFAM

on the other hand cwltool & cwl-runner is accepting those type definitions.

mscheremetjew commented 5 years ago

here is a simple test case for reproduction: test.cwl.txt test.input.yaml.txt

skeeey commented 5 years ago

This should be a bug, we will work on it

mscheremetjew commented 5 years ago

@skeeey Thanks a lot for letting us know.

skeeey commented 5 years ago

Fixed at c5990c4