changeset 1:2f3c6f2dcf39 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 5a6df0b54ca66fb588886b4610bbd837cd624fed
author iuc
date Wed, 21 Sep 2016 21:44:29 -0400
parents c4611129661b
children 562f3c677828
files datamash-ops.xml macros.xml
diffstat 2 files changed, 10 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/datamash-ops.xml	Wed Oct 28 12:46:01 2015 -0400
+++ b/datamash-ops.xml	Wed Sep 21 21:44:29 2016 -0400
@@ -34,7 +34,7 @@
         <param falsevalue="" help="--full" label="Print all fields from input file" name="print_full_line" truevalue="--full" type="boolean" />
         <param falsevalue="" help="--ignore-case" label="Ignore case when grouping" name="ignore_case" truevalue="--ignore-case" type="boolean" />
         <repeat default="1" min="1" name="operations" title="Operation to perform on each group">
-            <param label="Type" name="op_name" type="select">
+            <param name="op_name" type="select" label="Type">
                 <option value="count">count</option>
                 <option value="sum">sum</option>
                 <option value="min">minimum</option>
@@ -63,21 +63,23 @@
                 <option value="collapse">Combine all values</option>
                 <option value="countunique">Count Unique values</option>
             </param>
-            <param data_ref="in_file" label="On column" name="op_column" type="data_column" />
+            <param name="op_column" data_ref="in_file" label="On column" type="data_column" />
         </repeat>
     </expand>
     <tests>
         <test>
-            <param name="in_file" value="group_compute_input.txt" />
+            <param name="in_file" value="group_compute_input.txt" ftype="tabular" />
             <param name="grouping" value="2" />
             <param name="header_in" value="true" />
             <param name="header_out" value="true" />
             <param name="need_sort" value="true" />
             <param name="print_full_line" value="false" />
-            <param name="op_column" value="3" />
-            <param name="op_name" value="sum" />
             <param name="ignore_case" value="false" />
-            <output file="group_compute_output.txt" name="out_file" />
+            <repeat name="operations">
+                <param name="op_name" value="sum" />
+                <param name="op_column" value="3" />
+            </repeat>
+            <output file="group_compute_output.txt" name="out_file" ftpye="tabular" />
         </test>
     </tests>
     <help>
--- a/macros.xml	Wed Oct 28 12:46:01 2015 -0400
+++ b/macros.xml	Wed Sep 21 21:44:29 2016 -0400
@@ -9,6 +9,7 @@
             <data format="tabular" name="out_file" label="${tool.name} on ${on_string}" />
         </outputs>
     </xml>
+
     <xml name="requirements">
         <requirements>
             <requirement type="package" version="1.0.6">datamash</requirement>
@@ -37,4 +38,4 @@
 
 -----
     </token>
-</macros>
\ No newline at end of file
+</macros>