diff macros.xml @ 31:2bb2e07a7a21 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/jbrowse commit 12dff0abf006f6c81f6462cdf4ea9c0c740d1e9c
author iuc
date Mon, 15 Apr 2019 10:31:26 -0400
parents ca2def38369c
children 6b774e9d6387
line wrap: on
line diff
--- a/macros.xml	Thu Apr 11 09:35:00 2019 -0400
+++ b/macros.xml	Mon Apr 15 10:31:26 2019 -0400
@@ -14,7 +14,7 @@
     </requirements>
   </xml>
   <token name="@DATA_DIR@">\$GALAXY_JBROWSE_SHARED_DIR</token>
-  <token name="@WRAPPER_VERSION@">galaxy2</token>
+  <token name="@WRAPPER_VERSION@">galaxy3</token>
   <token name="@ATTRIBUTION@"><![CDATA[
 **Attribution**
 
@@ -290,6 +290,44 @@
     </section>
   </xml>
 
+  <xml name="track_custom_config">
+    <section name="jb_custom_config" title="JBrowse Custom Track Config [Advanced]" expanded="false">
+      <repeat name="option" title="Custom Track Config Option">
+        <param name="opt_key" type="text" label="Key for JBrowse track config option"
+               help="Multilevel keys (e.g., 'style.label') are delimited by a period character ('.').">
+          <validator type="regex" message="Key must consist of alphanumeric characters only, possibly separated by the period character ('.')">^[\w]+(\.\w+)*$</validator>
+        </param>
+        <conditional name="opt_value">
+          <param name="val_type" type="select" label="Choose the type of value for the option">
+            <option value="text" selected="true">Text</option>
+            <option value="integer">Integer number</option>
+            <option value="float">Floating point number</option>
+            <option value="boolean">Boolean</option>
+          </param>
+          <when value="text">
+            <param name="val" type="text" label="Value for custom track option."
+                   help="Will override other track options set elsewhere.">
+              <validator type="empty_field" />
+            </param>
+          </when>
+          <when value="integer">
+            <param name="val" type="integer" value="0" label="Value for custom track option."
+                   help="Will override other track options set elsewhere." />
+          </when>
+          <when value="float">
+            <param name="val" type="float" value="0" label="Value for custom track option."
+                   help="Will override other track options set elsewhere." />
+          </when>
+          <when value="boolean">
+            <param name="val" type="boolean" truevalue="true" falsevalue="false"
+                   label="Value for custom track option."
+                   help="Will override other track options set elsewhere." />
+          </when>
+        </conditional>
+      </repeat>
+    </section>
+  </xml>
+
   <xml name="track_menu">
     <section name="jbmenu" title="JBrowse Contextual Menu options [Advanced]" expanded="false">
       <repeat name="track_menu" title="Track Menu">