This is a test version of Biostars. For the public version, visit https://www.biostars.org.
CWL input files as secondaryFiles JS

I am using CWL, just got a fresh install of cwltool (cwl-runner says its version 2.0) and the way I always used to specify secondaryFiles doesn't work anymore, especially:

inputs:
  - id: reference_fasta
    type: File
    inputBinding:
      position: 1
      prefix: '--reference'
    secondaryFiles:
      - $( inputs.reference_index )
      - $( inputs.reference_dict )
  - id: reference_index
    type: File
  - id: reference_dict
    type: File

does not recognize $( inputs.file ) format anymore, it keeps failing with:

ERROR Workflow error: can only concatenate str (not "dict") to str

Any idea?

cwl input secondaryfiles

0 answers

No answers yet.

Log in to answer this question.