common-workflow-library / legacy

Deprecated
https://github.com/common-workflow-library/bio-cwl-tools
Apache License 2.0
100 stars 62 forks source link

Invalid job input record for workflow #138

Open rabi1029 opened 6 years ago

rabi1029 commented 6 years ago

Hi, I tried to work with cwl workflow and it worked well most of the time. But when I tried to use scatter-gather function, I got an error. I set a input parameter in the gather step (step_tool2), and the input was depended on scatter step (step_tool1). At the same time, the input was an array type for many files. And I want the input could be "null". It worked well when the input filies were existed or just used the gather step as a cwltool. But when I used the workflow, I got an error like this: " Exception on step 'step_tool2' Workflow error, try again with --debug for more information: Invalid job input record: the qc field is not valid because tried array of but item is invalid because is not a dict " It's so sad, I have no idea how to solve it. : (

I have posted my cwl file and error information as attachments below. qc.cwl.txt qc.e.txt

manu-chroma commented 6 years ago

Hey @rabi1029, can you run your workflow once again with --debug flag and paste the traceback code here?

rabi1029 commented 6 years ago

@manu-chroma thanks for your reply~ I have run my workflow with --debug and the traceback code printed into the qc.e.txt file (one of the attachments). Or you mean some traceback code else?