Hi SMC_RNA team,
I am new to CWL and got the following tool definition failed validation error when using smc_rna_submit.py merge:
("mapSubject '%s' value '%s' is not a dictand does not have a mapPredicate", 'class', None).
Would you let me know how to correct it.
Thanks,
Created by cndgf Hi Thomas,
please see "Custom inputs do not match hints" thread
Thanks,
Dear cndgf,
I just tested the `smc_rna_submit.py` application with one of the test workflow files and it was able to validate and merge. May I ask what version of cwltool you are using? There was a recent update to the planemo image: `dream-smc-rna/images/dream-smcrna-09072016.tar.gz`
Thanks,
Thomas Thanks Kyle for the links. I think default file import feature is something that popped up in v1.0 of CWL that we hadn't planned for (if thats what you are talking about). The smc_rna_submit program uses `cwltool -pack` to create a single file workflow document and sends that to Synapse. Unfortunately the `--pack` option doesn't seem to import these external file dependencies into the single document. We'll have to add some instructions to our submission wiki to discourage people from using that particular feature.
Also, for other CWL specific issues, its worth trying the [Biostars page](https://www.biostars.org/t/cwl/) or the [Mailing List](https://groups.google.com/forum/#!forum/common-workflow-language) or the [Gitter Channel](https://gitter.im/common-workflow-language/common-workflow-language). If you find out anything useful, please post a it back in this forum. Hi Arfa,
I imported a small json file to my workflow and smc_rna_submit.py merge did not like it so I just pasted the file content directly into my workflow.
Hope this helps!
Hi. I am also new to CWL. Can you tell how you solved the issue. I am getting the same error. Dear cndgf,
Apologies for the delay in response. Glad you figured it out.
Best,
Thomas I figured out the problem. My v1.0 workflows have some import statements and while they are fine with cwl-runner but failed validation. Additional info: workflows using CWL v1.0
Drop files to upload
Tool definition failed validation page is loading…