Update: July 26, 2019
This section of the forum is now closed; we are working on a new support model for WDL that we will share here shortly. For Cromwell-specific issues, see the Cromwell docs and post questions on Github.

CWL issues with Cromwell 44 (imports and type)

I'm having issues running CWL workflows with Cromwell 44 whereas previously with 36.1, it passes. I have workarounds but I'm wondering which ones are issues and which ones are design changes. Here's my test script:
```
#!/bin/bash
set -o pipefail
set -o nounset
set -o xtrace

wget github.com/broadinstitute/cromwell/releases/download/44/cromwell-44.jar
wget github.com/broadinstitute/cromwell/releases/download/36.1/cromwell-36.1.jar
wget raw.githubusercontent.com/common-workflow-language/common-workflow-language/master/v1.0/examples/1st-tool.cwl
wget raw.githubusercontent.com/common-workflow-language/common-workflow-language/master/v1.0/examples/echo-job.yml
zip imports.zip 1st-tool.cwl echo-job.yml
java -jar cromwell-36.1.jar run 1st-tool.cwl --inputs echo-job.yml
java -jar cromwell-36.1.jar run 1st-tool.cwl --inputs echo-job.yml --type cwl
java -jar cromwell-36.1.jar run 1st-tool.cwl --inputs echo-job.yml --type cwl --imports imports.zip
java -jar cromwell-44.jar run 1st-tool.cwl --inputs echo-job.yml
java -jar cromwell-44.jar run 1st-tool.cwl --inputs echo-job.yml --type cwl
java -jar cromwell-44.jar run 1st-tool.cwl --inputs echo-job.yml --type cwl --imports imports.zip
Of the last 6 commands, the 1st, 2nd, 3rd, and 5th command pass. The 4th and 6th does not.
```
So my two issues are:

44 seems to have troubles figuring out what the language type is
Something is off about the imports flag for 44
Tagged:
Sign In or Register to comment.