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
Hello Sebastian,
Thanks very much for reporting this problem ( this was a bug ). It has been resolved in changeset 2354.
Regards,
Greg Von Kuster Galaxy Development Team
Sebastian J. Schultheiss 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 _______________________________________________ galaxy-user mailing list galaxy-user@bx.psu.edu http://mail.bx.psu.edu/cgi-bin/mailman/listinfo/galaxy-user
galaxy-user@lists.galaxyproject.org