Open fhembroff opened 1 year ago
I think this should be fairly easy to correct.
I think all you would have to do is check the WDL file for something that looks like version: X
and if it doesn't exist, the WDL is version draft-2
, and if it does you just return whatever X
is.
There's code in the web service that gets the version of a WDL file. It would be good to reuse that, although that code is currently not accessible by the CLI.
➤ Charles Overbeck commented:
Cromwell does not support 1.1, so that doesn’t matter.
Miniwdl does, but miniwdl doesn’t work with AGC/Dockstore CLI.
We don’t know how Cromwell reacts to 1.1, but AGC checks that the command-line version switch matches the descriptor version.
➤ Charles Overbeck commented:
Could be an issue for eLwazi, but we’ll re-prioritize if that comes up.
Describe the bug Currently, we are unable to run WDL workflows that are not version "1.0" through WES on the CLI.
This is because we specify what version of WDL we are using for WES here, however, we have set the variable to be always equal to "1.0" here, here and here.
This means that any WDL workflow that is not version "1.0" will not run through WES. If a WDL workflow is the wrong version, we see an error that looks like this (found by going through the agc logs),
To Reproduce Steps to reproduce the behavior: Attempt to launch this workflow on AGC using the provided commands.
Expected behavior The CLI should be able to run all WDL versions (particularly version
draft-2
, as it is used a lot on dockstore.org).Additional context CLI VERSION: 1.13.1
I also found that if modify this line to
draft-2
the workflow in the "To reproduce" section will work.┆Issue is synchronized with this Jira Story ┆Fix Versions: Dockstore 2.X ┆Issue Number: DOCK-2334 ┆Sprint: Backlog ┆Issue Type: Story