galaxyproject / galaxy

Data intensive science for everyone.
https://galaxyproject.org
Other
1.38k stars 992 forks source link

Leaving workflow parameter value empty is interpreted as "X__oc__param name__cc__" #4205

Open tshtatland opened 7 years ago

tshtatland commented 7 years ago

Leaving workflow parameter value blank (empty string) causes the value to be a modified version of the workflow parameter name. See example below:

https://usegalaxy.org/api/version {"extra": {}, "version_major": "17.05"}

history = https://usegalaxy.org/u/tshtatland/h/1706161wkflparams

workflow = https://usegalaxy.org/u/tshtatland/w/test1

Workflow parameter is used to add a column to tsv file: ${Added value}

input tsv:

1 2 3 11 12 13 21 22 23 31 32 33 41 42 43

Adding "1" works as expected:

1 2 3 4 11 12 13 1 21 22 23 1 31 32 33 1 41 42 43 1

When workflow parameter is left empty, the output is not expected: 1 2 3 4 11 12 13 XocAdded valuecc 21 22 23 XocAdded valuecc 31 32 33 XocAdded valuecc 41 42 43 XocAdded valuecc

Expected behavior is for column 4 to be parameter value (here, empty string), not parameter name ("${Added value}" translated to "XocAdded valuecc"), e.g.:

1 2 3 4 11 12 13
21 22 23
31 32 33
41 42 43

hexylena commented 5 years ago

Retested, still an issue.

bwlang commented 4 years ago

could be a nice hackathon project...