-
Notifications
You must be signed in to change notification settings - Fork 359
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot perform operation: String + womLong(x) in config #4659
Comments
I am getting this bug in Cromwell 44. Could not evaluate expression: "--mem-per-cpu=" + memory_mb: Cannot perform operation: --mem-per-cpu= + WomLong(1024) |
This works as expected in Cromwell 36 so the behavior changed between 36 and 37. |
This still persists in Cromwell 47. I think +op is not defined between WomString and WomLong while + between WomString and WomInteger is defined? |
still persist in cromwell 75. |
Cromwell 37 errors when the backend submit configuration contains an expression like:
${"-l h_vmem=" + memory + "G"}
:error message
This is a minimal example of a config which gets such an error:
Could not evaluate expression: "echo " + memory: Cannot perform operation: echo + WomLong(4)
This means that the launch command given in the cromwell docs here will not work.
A current workaround would be to use an expression like this instead:
${true="echo" false="" defined(memory)} ${memory}
The text was updated successfully, but these errors were encountered: