Optional WDL Inputs to Toggle Flag
The WDL Spec describes a situation similar to what I'm trying to do here:
In this case, I assume that Cromwell knows that it should do the "--val" here because of the concatenation with the val parameters contents. However, my problem is that I do not want to concatenate the contents of val, because my flag is a toggle that does not take a parameter. So what I want is that if val is specified, I just want:
python script.py --val
and if it is not, I want
How can I accomplish this with the constraints of the WDL language?