Hi Leandro

Although we use 'dynamic_options' successfully in many tools, it is still a little mystery to me sometimes - probably due to my non-existing python knowledge.


Hence just double checking:

Does  [ "One",1,True ],
      [ "Two",2,False ],
      [ "Three",3,False]
                          work?


Regards, Hans

On 02/29/2012 04:44 PM, Leandro Hermida wrote:
Hello,

If you have a form with an input like this:

<param name="input1" type="select" dynamic_options="get_options()" />

And the options dynamically generated have integers as values, e.g.
options tuples like this:

[ "One", 1, 1 ],
[ "Two", 2, 0 ],
[ "Three", 3, 0 ]

When you try to submit the galaxy form you always get the validation
error  "An invalid option was selected, please verify".

regards,
Leandro
___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:

   http://lists.bx.psu.edu/
___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:

 http://lists.bx.psu.edu/

Reply via email to