diff macros.xml @ 9:ea8cbe5a8cd0 draft

Uploaded
author greg
date Thu, 30 Aug 2018 09:48:36 -0400
parents a7867769a706
children c331d86ec80b
line wrap: on
line diff
--- a/macros.xml	Wed Jun 06 09:24:38 2018 -0400
+++ b/macros.xml	Thu Aug 30 09:48:36 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">