Hi all! Noticed one interesting thing that may cause a problem when running java application in a workflow step.
Brief explanation:
Workflow structure: File -> Step1 -> Directory -> Step2 -> File
On the input of Step2 I got an error:
WorkflowException("Invalid filename: '%s' contains illegal characters" % (f["basename"]))WorkflowException: Invalid filename: '' contains illegal characters,
because after Step1 some of the subfolders of Directory have "basename": ""
Detailed explanation:
Link on the workflow with all Dockerfiles and input data:
https://github.com/michael-kotliar/cwl_sandbox/tree/master/fastqc_parser
If run workflow - get an error:
cwl-runner --debug workflow.cwl workflow-job.json
If run each tools separately - all works fine:
cwl-runner --debug fastqc.cwl fastqc-job.jsoncwl-runner --debug parse-fastqc-results.cwl parse-fastqc-results-job.json
Part of workflow log, where some of the basenames are empty :
@michael-kotliar commented on 24 Jan 2017