I try to clarify my problem:
The user selects a reference genome from <param name="reference"
type="select" label="Select a reference genome"
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"
I hope this brings some light in my problem ;-)
processed by CONSOLIDATE
Re: [galaxy-dev] Filter options for type=select based on former selection
Dienstag, 4. September 2012 12:56
Hans-Rudolf Hotz (hrh(a)fmi.ch)
I don?t quite understand your question...
$sReference.ref is the variable you are looking for, isn?t-it?
On 09/04/2012 11:40 AM, Sascha Kastens wrote:
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="" />
label="Select the reference annotation" />
As you might see from the code above I am trying to filter the contents
based on the selected value in label="Select a reference genome"
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!
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: