How to get the dynamically loaded select menus to work in workflows?
Hi, We have our own local instance of Galaxy from the 15.03.2 release. I have developed a tool that works perfectly well normally but cannot get it integrated into a workflow as we would like. My tool's input form has 3 select menus that use a .loc file (using “from_file” in the options tag) to dynamically load the select options depending on the selected option in the previous field . The problem we see in the workflows happens in the following manner: For the choice of input1 (A or B), there should be a subsequent menu with options for input2 (1,2,3 or 4,5,6 respectively). The select menu input1 is automatically populated with A as this is the first option in the file, and thus the second menu is automatically populated with 1, 2, and 3. However, when you try to select B as input1 the following message is shown: An invalid option was selected for input2, u’1, please verify. The select menu for input1 is then immediately reverted back to A. I can never select B. Is there a way to get the dynamically loaded select menus to work in workflows? Many thanks. Joanna
I think this may be a limitation with the workflow forms... there is much less dynamism in the workflow run dialog then in the tool run dialog. I think Aysam is working on workflow modifications that will bring these various forms closer together - I don't know if that will be enough to implement this or not. https://trello.com/c/H5u4HrC3 http://dev.list.galaxyproject.org/quot-when-else-quot-in-lt-conditional-gt-R... Sorry for the bad news. -John On Thu, May 7, 2015 at 12:17 PM, Joanna Parmley <joanna@generalbioinformatics.com> wrote:
Hi,
We have our own local instance of Galaxy from the 15.03.2 release. I have developed a tool that works perfectly well normally but cannot get it integrated into a workflow as we would like.
My tool's input form has 3 select menus that use a .loc file (using “from_file” in the options tag) to dynamically load the select options depending on the selected option in the previous field .
The problem we see in the workflows happens in the following manner:
For the choice of input1 (A or B), there should be a subsequent menu with options for input2 (1,2,3 or 4,5,6 respectively). The select menu input1 is automatically populated with A as this is the first option in the file, and thus the second menu is automatically populated with 1, 2, and 3. However, when you try to select B as input1 the following message is shown:
An invalid option was selected for input2, u’1, please verify.
The select menu for input1 is then immediately reverted back to A. I can never select B.
Is there a way to get the dynamically loaded select menus to work in workflows?
Many thanks.
Joanna
___________________________________________________________ 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)
-
Joanna Parmley
-
John Chilton