Enhancements to the way dynamic_options work in order to enable tools using dynemic_options to function in workdflow.

We're still supporting the current dynamic_options functionality.  This is a first pass and will be cleaned up as we continue to evolve more tools to use this new approach.
Within tool configs, SelectToolParameter types now include a <select_options> tag set.  Several tools have been altered to use this new approach.  Other tools we enhanced to
use the ColumnListParameter type.
This commit is contained in:
Greg Von Kuster
2007-10-19 20:42:11 +00:00
parent cf916dac6f
commit e190e6e2b0
16 changed files with 334 additions and 290 deletions
+14 -4
View File
@@ -2,11 +2,21 @@
<command interpreter="python">encode_import.py $hg17,$hg16 $output</command>
<inputs>
<display>
<p><div class="toolFormTitle">hg17 (most recent datasets in bold)</div>$hg17</p>
<p><div class="toolFormTitle">hg16 (most recent datasets in bold)</div>$hg16</p>
<p><div class="toolFormTitle">hg17 (most recent datasets in bold)</div>$hg17</p>
<p><div class="toolFormTitle">hg16 (most recent datasets in bold)</div>$hg16</p>
</display>
<param name="hg17" type="select" display="checkboxes" multiple="true" dynamic_options="get_available_data( 'GENCODE','hg17' )"/>
<param name="hg16" type="select" display="checkboxes" multiple="true" dynamic_options="get_available_data( 'GENCODE','hg16' )"/>
<param name="hg17" type="select" display="checkboxes" multiple="true">
<select_options from_file="/depot/data2/galaxy/encode_datasets.loc" func="get_options_for_encode">
<func_param name="encode_group" value="GENCODE" />
<func_param name="build" value="hg17" />
</select_options>
</param>
<param name="hg16" type="select" display="checkboxes" multiple="true">
<select_options from_file="/depot/data2/galaxy/encode_datasets.loc" func="get_options_for_encode">
<func_param name="encode_group" value="GENCODE" />
<func_param name="build" value="hg16" />
</select_options>
</param>
</inputs>
<outputs>
<data format="bed" name="output"/>