I am a total newbie in CWL and I’m struggling to write a simple workflow. I want to write a workflow.cwl which will read all my elementary cwl files, and my elementary cwl files will run my actual python program. This is what I have written so far and encountered with error - (ERROR Tool definition failed validation: mapSubject ‘outputs’ value ‘None’ is not a dict and does not have a mapPredicate.). I would really appreciate your help, Thank you in advance!!
workflow.cwl
Thank you for your response! However even after changing it to in and out it is still giving me the same error. I am not sure what this error means “mapSubject ‘out’ value ‘None’ is not a dict and does not have a mapPredicate.”
(env) (base) amrutakale@Amrutas-MacBook-Pro demo % cwl-runner tool.cwl input.yml
INFO /Users/amrutakale/env/bin/cwl-runner 3.1.20211020155521
INFO Resolved 'tool.cwl' to 'file:///Users/amrutakale/env/demo/tool.cwl'
ERROR Tool definition failed validation:
mapSubject 'out' value 'None' is not a dict and does not have a mapPredicate.