diff macros.xml @ 3:ba0c40780ecf draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
author iuc
date Sun, 10 Apr 2022 11:40:35 +0000
parents 22c2a1ac7ae3
children ac092723240d
line wrap: on
line diff
--- a/macros.xml	Fri Sep 07 10:58:16 2018 -0400
+++ b/macros.xml	Sun Apr 10 11:40:35 2022 +0000
@@ -1,19 +1,24 @@
-<?xml version="1.0"?>
 <macros>
-    <token name="@WRAPPER_VERSION@">1.1.0</token>
+    <token name="@TOOL_VERSION@">1.1.0</token>
+    <token name="@VERSION_SUFFIX@">1</token>
+    <token name="@PROFILE@">21.01</token>
     <xml name="inputs_outputs">
         <inputs>
-            <param format="tabular" help="" label="Input tabular dataset" name="in_file" type="data" />
+            <param name="in_file" type="data" format="tabular,csv,tsv" label="Input tabular dataset" help="" />
             <yield />
         </inputs>
         <outputs>
-            <data format="tabular" name="out_file" label="${tool.name} on ${on_string}" />
+            <data name="out_file" format_source="in_file" label="${tool.name} on ${on_string}" />
         </outputs>
     </xml>
-
+    <token name="@FIELD_SEPARATOR@"><![CDATA[
+        #if $in_file.ext == 'csv'
+            -t ,
+        #end if
+    ]]></token>
     <xml name="requirements">
         <requirements>
-            <requirement type="package" version="@WRAPPER_VERSION@">datamash</requirement>
+            <requirement type="package" version="@TOOL_VERSION@">datamash</requirement>
         </requirements>
     </xml>
     <xml name="stdio">