Cromwell fails to return struct as output!
See original GitHub issueCromwell cannot handle any output that is struct base. I enclose a workflow where it is very clear to see that even though both latest development versions (as well as latest releases) of Cromwell and Womtool validated and executed the workflow for some strange reason at runtime Cromwell consider that it is a Map and not a struct and crashes in the very end of execution
QuantifiedRun quantified_run = {"run": srr, "folder": quant_folder, "quant": quant, "lib": quant_lib}
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (8 by maintainers)
Top Results From Across the Web
output directory is missing? /cromwell_root/script: line 103
The return code is 137. I am following up with the Salmon team to figure out what that error code means. I notice...
Read more >Code Snippets to Answer Common WDL Design Problems
How can I output a file that has been named dynamically as a bash variable ... How to run a wdl on cori...
Read more >Handling failed blocks within scattered WDL workflow
Optional outputs should work in WDL 1.0. Here is an example that runs without issue through cromwell (version 74).
Read more >(How to) Execute Workflows from the gatk-workflows Git ...
Download latest release of Cromwell, the java excutable that will run the WDL. ... At this point your directory structure should look like...
Read more >Running a Bioinformatics Software Pipeline with Wdl/Cromwell
The outputs of the workflow will be written to <workflow_root>/call-<call_name>/execution/ folder! Please explore the directory structure for ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@aednichols I managed to get it working with:
However, I am very confused why it is working as object is supposed to be deprecated in development and because you have
as a suggested syntax and you never mention that it does not work anymore. I think it is a documentation issue that you have
This also worked for me. I had issues with a workflow that tried to use this struct:
This wouldn’t work:
But changing it to this did the trick:
@Coppini, you can see that I am using an array of files in the struct and it worked, so at least that is solved now if it was really the issue.