diff macros.xml @ 6:e813f9537cb2 draft

Uploaded
author greg
date Thu, 30 Aug 2018 09:43:24 -0400
parents 3e10a2683769
children 241760d3c944
line wrap: on
line diff
--- a/macros.xml	Tue Aug 21 11:24:26 2018 -0400
+++ b/macros.xml	Thu Aug 30 09:43:24 2018 -0400
@@ -2,16 +2,16 @@
 <macros>
     <token name="@WRAPPER_VERSION@">1.0</token>
     <xml name="param_method">
-        <param name="method" type="select" label="Protein clustering method">
-            <option value="gfam" selected="true">GFam</option>
-            <option value="orthofinder">OrthoFinder</option>
-            <option value="orthomcl">OrthoMCL</option>
-        </param>
+        <param name="method" type="select" label="Protein clustering method" dynamic_options="get_clustering_method_options(scaffold)"/>
     </xml>
     <xml name="param_scaffold">
-        <param name="scaffold" type="select" label="Gene family scaffold">
-            <options from_data_table="plant_tribes_scaffolds" />
-            <validator type="no_options" message="No PlantTribes scaffolds are available.  Use the PlantTribes Scaffolds Download Data Manager tool in Galaxy to install and populate the PlantTribes scaffolds data table." />
+        <param name="scaffold" type="select" label="Gene family scaffold" refresh_on_change="True">
+            <options from_data_table="plant_tribes_scaffolds">
+                <column name="name" index="1"/>
+                <column name="value" index="2"/>
+                <filter type="sort_by" column="1"/>
+                <validator type="no_options" message="No PlantTribes scaffolds are available.  Use the PlantTribes Scaffolds Download Data Manager tool in Galaxy to install and populate the PlantTribes scaffolds data table."/>
+            </options>
         </param>
     </xml>
     <xml name="citation1">