diff macros.xml @ 8:4bb02acaaabc draft

"planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hexrd commit 15bca193042c05f262db5cb1efe70e2cbd567615-dirty"
author ximgchess
date Thu, 20 Jan 2022 17:56:47 +0000
parents baba452d0613
children e67ad9795525
line wrap: on
line diff
--- a/macros.xml	Tue Jan 04 22:07:42 2022 +0000
+++ b/macros.xml	Thu Jan 20 17:56:47 2022 +0000
@@ -1,6 +1,6 @@
 <macros>
-    <token name="@TOOL_VERSION@">0.8.12</token>
-    <token name="@VERSION_SUFFIX@">1</token>
+    <token name="@TOOL_VERSION@">0.8.17</token>
+    <token name="@VERSION_SUFFIX@">0</token>
     <token name="@PROFILE@">21.09</token>
     <xml name="requirements">
         <requirements>
@@ -150,7 +150,7 @@
             <!-- active_hkls should be able to be optional="true" -->
             <param name="active_hkls" type="text" value="" label="active hkl planes"> 
                 <help>commas separated list of planes, e.g.: 0,1,2,3,4,5</help>
-                <validator type="regex" message="plane indeces separated by commas">^\d(,\d)*$</validator>
+                <validator type="regex" message="plane indices separated by commas">^\d(,\d)*$</validator>
 	    </param> 
         </section>
         <param name="on_map_threshold" type="integer" value="1" min="1" label="on-map threshold used in the scoring"/>
@@ -312,8 +312,8 @@
                 <param name="eta" type="float" value="" min="0" label="eta"/>
                 <param name="omega" type="float" value="" min="0" label="omega"/>
             </repeat>
-            <param name="refit" type="text" value="1" label="refit">
-                <validator type="regex" message="">^\d(,\d)*$</validator>
+            <param name="refit" type="text" value="1" label="refit" help="float values separated by commas">
+                <validator type="regex" message="">^[+-]?(\d+(\.\d*)?|\.\d+)([eE][+-]?\d+)?(,[+-]?(\d+(\.\d*)?|\.\d+)([eE][+-]?\d+)?)*$</validator>
             </param>
             <conditional name="max_tth">
                 <param name="tth_max_value" type="select" label="Set tth_max">
@@ -345,7 +345,7 @@
 #set $tth = []
 #set $eta = []
 #set $omega = []
-#set refit = '[' + str($tolerance.refit) + ']'
+#set $refit = '[' + str($tolerance.refit) + ']'
 #for $tol in $tolerance.tolerance_lists
 #silent $tth.append(float($tol.tth))
 #silent $eta.append(float($tol.eta))