Hi All,

I’m trying to implement a tool that get a list of options through the 
“dynamic_options” tag. I try to filter the options that get returned with 
another param, but it doensn’t seem to work.

my tool xml looks like this

<tool id="archivetolibrary" name="Copy files" version="0.1.0">
  <description>from the archive to a data library</description>
  <code file="list_files.py"/>
  <command interpreter="bash">
    test.sh > $log
  </command>
  <inputs>
    <param name="archive_source" type="select" display="radio" label="Choose 
source archive">
      <options from_file="archives.loc">
        <column name="name" index="0"/>
        <column name="value" index="1"/>
      </options>
    </param>
    <param name="query" type="text" label="Search for files"/>
    <param name="selected_file" type="select" label="Choose your file" 
dynamic_options="list_files(archive_source)">
      <filter type="param_value" ref="query" column="0" />
    </param>
</inputs>
  <outputs>
    <data name="log" format="txt" label="${tool.name} on ${on_string}"></data>
 </outputs>
  <tests>
    <test>
    </test>
  </tests>
  <help>
  </help>
</tool>


Anyone with experience implementing filters? (Gx 15.10 on Ubuntu 14.04.3)

Thanks!
Matthias
___________________________________________________________
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:
  https://lists.galaxyproject.org/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/

Reply via email to