tool xml to fetch choices from a URL
Hi: I need users to specify a project when they run a tool… I would like this to be a select list whose set of options comes from a remote url. What’s the best way to achieve that UI? Should I try to add a from_url attribute to the options tag? Thanks, Brad -- Brad Langhorst, Ph.D. Applications and Product Development Scientist
It may be possible to do this using a select field plus dynamic options. The cummeRbund tool seems to use a select that uses arbitrary Python to generate options - but I may be missing something. https://github.com/galaxyproject/tools-devteam/tree/master/tools/cummeRbund If it really does that - than it would seem to be possible to ping a remote URL as part of that option building. Hope this helps, -John On Sun, Feb 8, 2015 at 8:52 AM, Langhorst, Brad <Langhorst@neb.com> wrote:
Hi:
I need users to specify a project when they run a tool… I would like this to be a select list whose set of options comes from a remote url.
What’s the best way to achieve that UI?
Should I try to add a from_url attribute to the options tag?
Thanks,
Brad -- Brad Langhorst, Ph.D. Applications and Product Development Scientist
___________________________________________________________ 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: https://lists.galaxyproject.org/
To search Galaxy mailing lists use the unified search at: http://galaxyproject.org/search/mailinglists/
participants (2)
-
John Chilton
-
Langhorst, Brad