Question: Unexpected Formatting Of Parameter Value Of Multiple Check Boxes
0
Sebastian J. Schultheiss • 30 wrote:
Dear Galaxy team,
we just discovered that a parameter in a tool description that is
formatted as checkboxes gives the following output when more than one
option is selected:
[u'value1', u'value2']
while checking only the value1 box just yields
value1
without any quotes etc.
We are passing on this output to octave/matlab, where command line
parameters have to be in single quotes '' in order to be recognized as
strings rather than names of variables. The former output disrupts the
quotation levels and was a bit unexpected. It looks it's just the
__str__ representation of a python list... is that correct? Could we
have an option (to preserve compatibility) to make the output look
more like
value1, value2
or something like that? If there already is such an option, I must
have overlooked it in your ToolConfigSyntax manual and am very sorry.
Thanks for your time!
-- Sebastian
ADD COMMENT
• link
•
modified 9.6 years ago
by
Greg Von Kuster • 840
•
written
9.6 years ago by
Sebastian J. Schultheiss • 30