Question: Cannot dynamically load options when the type attribute value is data
0
gravatar for 1426859016
2.1 years ago by
14268590160
14268590160 wrote:

I want to use the <options> tag when param tag's type attribute value is data.but this option cannot be loaded. Below is my test.xml and the tool_data_table_conf.xml and tool-data/test.loc test.xml code: <param name="test" type="data" label="this is a test"> <options from_data_table="test_indexes"/> </param> tool_data_table_conf.xml code: <tables>

<columns>value, dbkey, name, path</columns><file path="tool-data/test.loc"/>

</tables> tool-data/test.loc code:

hg19 hg19 hg19 /home/xin/ww/hg19

I feel like I'm missing out on something important.Has anyone ever had this problem?

galaxy • 503 views
ADD COMMENTlink modified 2.1 years ago by Devon Ryan1.9k • written 2.1 years ago by 14268590160
1
gravatar for Devon Ryan
2.1 years ago by
Devon Ryan1.9k
Germany
Devon Ryan1.9k wrote:

You want type="select". You can find a slightly more complicated example here.

ADD COMMENTlink written 2.1 years ago by Devon Ryan1.9k

but I would like to set dynamically creates a list of options whose values can be obtained from a predefined file stored locally when type="data", do you have some ideas?

ADD REPLYlink written 2.1 years ago by 14268590160

That's what my example does. You don't use type="data" for that.

ADD REPLYlink written 2.1 years ago by Devon Ryan1.9k

I may understand what you mean, thank you very much

ADD REPLYlink written 2.1 years ago by 14268590160
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 178 users visited in the last hour