nextflow-io / cwl2nxf

Import a CWL workflow specification to Nextflow script (experimental)
Apache License 2.0
27 stars 5 forks source link

JS inputs from a scatter step #19

Open KevinSayers opened 7 years ago

KevinSayers commented 7 years ago

When the JS inputs get parsed currently they do not work correctly. In CWL the scatter results in a single input for a given name. The parser currently parses everything at once so this results in a single array of files which do not have the JS attributes (e.g. nameroot).

read:[[class:File, path:tutorial/reads/SRR493366.fastq], [class:File, path:tutorial/reads/SRR493367.fastq], [class:File, path:tutorial/reads/SRR493368.fastq], [class:File, path:tutorial/reads/SRR493369.fastq], [class:File, path:tutorial/reads/SRR493370.fastq], [class:File, path:tutorial/reads/SRR493371.fastq]]

This should have each read separately with associated information.