nextflow-io / cwl2nxf

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

Empty list output should not copy #5

Closed KevinSayers closed 7 years ago

KevinSayers commented 7 years ago

Currently if the outputs are an empty list the Nextflow script still has a publishDir added as the empty list is present both in the step and the workflow outputs. This should be checked such if it is an empty list the publishDir should be omitted.

outputs: []

KevinSayers commented 7 years ago

This has now been addressed. Additionally, now the Nextflow output field is only included if outputs are actually present.