Hi,
The conf of the parameters in question looks like this:
<param name="project1" type="select" label="Project">
<options from_data_table="my_projects">
<filter type="unique_value" name="unique" column="0"/>
</options>
</param>
<param name="target1" type="select" label="Target" multiple="true">
<options from_data_table="my_projects">
<column name="value" index="2"/>
<column name="name" index="2"/>
<filter type="param_value" ref="project1" name="target" column="0"/>
</options>
<help>
Select 1 or more targets if you would like to restrict your data set
</help>
</param>
The idea is that if a project is chosen from the project1 dropdown list, the target1 parameter is updated.
This seems to work fine as a standalone tool.
As soon as the tool is wrapped into a workflow, this gets broken: if project1 is chosen from the list, a server call is made but the response seems to reset the form fields. Both project1 and target1.
Thanks,
Marc
From: galaxy-dev-bounces@lists.bx.psu.edu [mailto:galaxy-dev-bounces@lists.bx.psu.edu]
On Behalf Of Marc Logghe
Sent: Monday, December 03, 2012 11:46 AM
To: galaxy-dev@lists.bx.psu.edu
Subject: [galaxy-dev] workflow input param issue
Hi,
I have a workflow that basically needs a select parameter as input. 2 steps in the workflow actually need the very same input. I don’t think there is a (easy) way to let the user only input the parameter once and that
it is passed to both steps.
Anyhow, currently - as a workaround and not very user friendly - the user needs to input the very same parameter twice, for each step where that parameter is required.
The first issue however, is that as soon as the first parameter is set, the second is set as well apparently (they have the same name, that could explain) which is fine, but not to the chosen one, eg. both are kind of
reset to default. No errors or something, simply reset, which makes it impossible to enter the parameter.