Scientific workflow engine designed for simplicity & scalability. Trivially transition between one off use cases to massive scale production environments
This potential bug was encountered while writing a CWL task that required a pair of inputs. Namely, Cromwell is requiring a parameter that is both 1) not required per CWL spec and 2) not even used. Working and failing examples given below.
I am on a Linux Mint (19) machine, using cromwell-36.jar (downloaded October 29, 2018) with java10:
$ java -version
openjdk version "10.0.1" 2018-04-17
OpenJDK Runtime Environment (build 10.0.1+10-Ubuntu-3ubuntu1)
OpenJDK 64-Bit Server VM (build 10.0.1+10-Ubuntu-3ubuntu1, mixed mode)
For both the working and failing CWL files, I use the following input:
As mentioned, ignoring the name parameter is probably acceptable, BUT if I remove that parameter, the execution fails. The failing example is the same, but with "name": "SOME JUNK VALUE", removed:
This potential bug was encountered while writing a CWL task that required a pair of inputs. Namely, Cromwell is requiring a parameter that is both 1) not required per CWL spec and 2) not even used. Working and failing examples given below.
I am on a Linux Mint (19) machine, using
cromwell-36.jar
(downloaded October 29, 2018) with java10:For both the working and failing CWL files, I use the following input:
Below is the successful CWL file. In particular, note the
inputs.type.name
which is set to a garbage value.This was run with:
java -jar cromwell-36.jar run works.json --inputs inputs.json
.There are two issues:
name
key is being ignored. Since it is not required (see next item), this is by itself quite minor.name
key is not required per the CWL spec (https://www.commonwl.org/v1.0/CommandLineTool.html#InputRecordSchema)As mentioned, ignoring the
name
parameter is probably acceptable, BUT if I remove that parameter, the execution fails. The failing example is the same, but with"name": "SOME JUNK VALUE",
removed:The stack trace reports: