I see the similar problem when I try to use first param_value as a filter on the second input selection and then second on the third input selection. The code works fine and makes right selections but displays the warning message “An invalid option was selected, please verify”.
My select code is similar:
<param name="inputmodel" type="select" size="100" label="Input Model" area="True"> <options from_file="coyote.loc"> <column name="name" index="2"/> <column name="value" index="2"/> <filter type="unique_value" column="2"/> </options> </param> <param name="inputSize" type="select" label="Box Size" selected="false"> <options from_file="coyote.loc"> <column name="name" index="3"/> <column name="value" index="3"/> <filter type="param_value" ref="inputmodel" column="2"/> <filter type="unique_value" column="3"/> </options> </param> <param name="inputRealization" type="select" label="Realization based on different seed values" selected="false"> <options from_file="coyote.loc"> <column name="name" index="4"/> <column name="value" index="4"/> <filter type="param_value" ref="inputmodel" column="2"/> <filter type="param_value" ref="inputSize" column="3"/> <filter type="unique_value" column="4"/> </options> </param> <param name="input" type="select" size="300" label="Input Snapshot" area="True" help="Choosing Input Snapshot files" selected="false"> <options from_file="coyote.loc"> <column name="name" index="6"/> <column name="value" index="6"/> <filter type="param_value" ref="inputmodel" column="2”/> <filter type="param_value" ref="inputSize" column=“3"/> <filter type="param_value" ref="inputRealization" column="4"/> </options> </param>
Did you figure out where the problem is?
Thanks, Saba
<filter type="param_value" ref="inputmodel" column="2"/>
<filter type="param_value" ref="inputSize" column="3"/>
If you closely look at the above line the double quotes are different for column field.
<filter type="param_value" ref="inputRealization" column="4"
/> </options> </param>
Did you figure out where the problem is?
Thanks, Saba
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/
To search Galaxy mailing lists use the unified search at: http://galaxyproject.org/search/mailinglists/
I just checked, its not like that in the original code.
<param name="input" type="select" size="300" label="Input Snapshot" area="True" help="Choosing Input Snapshot files" selected="false"> <options from_file="coyote.loc"> <column name="name" index="6"/> <column name="value" index="6"/> <filter type="param_value" ref="inputmodel" column="2"/> <filter type="param_value" ref="inputSize" column="3"/> <filter type="param_value" ref="inputRealization" column="4"/> </options> </param>
On Feb 21, 2014, at 1:50 PM, Vipin TS <vipin.ts@gmail.commailto:vipin.ts@gmail.com> wrote:
<filter type="param_value" ref="inputmodel" column="2”/> <filter type="param_value" ref="inputSize" column=“3"/>
If you closely look at the above line the double quotes are different for column field.
<filter type="param_value" ref="inputRealization" column="4"/> </options> </param>
Did you figure out where the problem is?
Thanks, Saba
___________________________________________________________ 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/
To search Galaxy mailing lists use the unified search at: http://galaxyproject.org/search/mailinglists/
Hi all,
I am trying to write a tool that based on user criteria will run a different script. In the code below, If I select Use_Snapshot, I see the right interface but somehow galaxy tries to execute the #else part and look for “m” input parameter. The example I have seen in documentation is using the script with same name in both if and else and the number of input arguments is the same as well. Any suggestions/ideas why always #else part gets executed although right interface appears based on user selection.
Thanks, Saba
<command> #if $source.source_select==“Use_Snapshot" cM-snapshot.sh $input $output #else cM.sh $m $b $ns $w $s $z $output #end if </command>
<inputs> <conditional name="source"> <param name="source_select" type="select" label="Specify the input"> <option value="Use_Snapshot">Use Snapshot</option> <option value="Set_Values">Set Values</option> </param> <when value="Use_Snapshot"> <param name="input" type="data" format="dbm" size="100" label="Input Snapshot"/> <sanitizer sanitize="False"/> </when> <when value="Set_Values"> <param name="m" label="Omega_m h^2" type="float" value="0.1279" min="0.120" max="0.155"/> <param name="b" label="Omega_b h^2" type="float" value="0.0232" min="0.0215" max="0.0235"/> <param name="ns" label="n_s" type="float" value="0.8629" min="0.85" max="1.05"/> <param name="w" label="w" type="float" value="-1.184" min="-1.30" max="-0.70"/> <param name="s" label="sigma_8" type="float" value="0.6159" min="0.61" max="0.9"/> <param name="z" label="z" type="float" value="1.0" min="0.0" max="1.0"/> <sanitizer sanitize="False"/> </when> </conditional> </inputs>
galaxy-dev@lists.galaxyproject.org