diff pandas_pivot_table.xml @ 4:eaf2444a2a50 draft default tip

"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/pandas_pivot_table/ commit de16c12e9e27d41d7c7624d7574c51b5bb8edff1-dirty"
author jjohnson
date Fri, 18 Dec 2020 19:35:57 +0000
parents 4b65133e0722
children
line wrap: on
line diff
--- a/pandas_pivot_table.xml	Thu Dec 17 22:23:11 2020 +0000
+++ b/pandas_pivot_table.xml	Fri Dec 18 19:35:57 2020 +0000
@@ -7,6 +7,7 @@
         <token name="@AGGITEM@">'\S+'\s*:\s*@AGGFUNCS@</token>
         <token name="@AGGDICT@">{@AGGITEM@(,\s*@AGGITEM@)*}</token>
         <token name="@AGGF@">(@AGGFUNCS@|@AGGDICT@)</token>
+        <token name="@COL_HELP@">Name of column or 1-based oridinal position of column</token>
     </macros>
     <requirements>
         <requirement type="package" version="@VERSION@">pandas</requirement>
@@ -56,24 +57,28 @@
         </conditional>         
 	<param name="skiprows" type="integer" value="0" min="0" label="Skip table rows"/>
 	<param name="pvt_index" type="text" value="" label="Pivot table index columns">
+            <help>@COL_HELP@</help>
             <validator type="regex" message="Column names separated by commas">^\S+(,\S+)*$</validator>
         </param> 
 	<param name="pvt_columns" type="text" value="" label="Pivot table columns to split into output columns">
+            <help>@COL_HELP@</help>
             <validator type="regex" message="Column names separated by commas">^\S+(,\S+)*$</validator>
         </param> 
 	<param name="pvt_values" type="text" value="" label="Pivot table value  columns">
+            <help>@COL_HELP@</help>
             <validator type="regex" message="Column names separated by commas">^\S+(,\S+)*$</validator>
         </param> 
 	<param name="aggfunc" type="text" value="" label="Pivot table aggregate function">
             <help><![CDATA[
                 <ul>
                 <li>Available Number Functions: @AGGFUNC@</li>
-                <li>Specify functions as (remember the single quotes):</li>
+                <li>Specify functions as:</li>
                     <ul>
                       <li>  - A single function applied to each <i>value</i> column:  <b>'min'</b></li>
                       <li>  - An array of functions applied to each <i>value</i> column:  <b>['min', 'max', 'mean', 'std']</b></li>
                       <li>  - A dictionary of <i>value column : function(s)</i>: <b>{'A' : 'sum', 'B' : ['min', 'max']}</b></li>
                     </ul>
+                <li><i>(remember the single quotes)</i></li>
                 </ul>
             ]]></help>
             <validator type="regex" message="Do not forget the single quotes">@AGGF@</validator>