Hi Hans! I try to clarify my problem: The user selects a reference genome from <param name="reference" type="select" label="Select a reference genome" help="">. So in my scenario the value for $sReference.reference will be either "mm9_64" or "hg19". This value is needed to filter the supported reference annotations in case the user wants cuffcompare to be run. That?s why I need <filter type="param_value" ref="sReference.reference" column="0"/> I hope this brings some light in my problem ;-) Cheers, Sascha Original Message processed by CONSOLIDATE Subject: Re: [galaxy-dev] Filter options for type=select based on former selection Sent: Dienstag, 4. September 2012 12:56 From: Hans-Rudolf Hotz (hrh@fmi.ch) Hi Sascha I don?t quite understand your question... $sReference.ref is the variable you are looking for, isn?t-it? Regards, Hans On 09/04/2012 11:40 AM, Sascha Kastens wrote:
Hi all!
I am facing a simple problem but can t find a solution to solve it.
Before I start describing my problem here is the code from my tool:
falsevalue="no" label="Run Cuffcompare?" help="" />
help="" >
column="0"/>
label="Select the reference annotation" />
As you might see from the code above I am trying to filter the contents for
based on the selected value in label="Select a reference genome" help="">
(). As soon as I try to load this configuration
I get the error KeyError: sReference.reference . So it seems, that the tool cannot access the key sReference.reference. I figured out that the tool can access only the "top"
key from the conditional, i.e. I can use ref="sReference" column="0"/> and no error appears while reloading the tools config. But this
is not useful because sReference does not contain any value for filtering.
Does anybody know how the tool can access variables/keys under a conditonal tag without being within the conditional tag itself?
Thanks for any help/hints/advice!
Cheers,
Sascha
___________________________________________________________ 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: