changeset 21:86755160afbf draft default tip

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit c2b1677d1c94433f777c2dc28ac8eec0a99cc6a7
author bgruening
date Fri, 16 Aug 2024 10:41:54 +0000
parents fbf99087e067
children
files cut.xml sort_rows.xml
diffstat 2 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/cut.xml	Thu Mar 28 13:20:16 2024 +0000
+++ b/cut.xml	Fri Aug 16 10:41:54 2024 +0000
@@ -1,4 +1,4 @@
-<tool id="tp_cut_tool" name="Advanced Cut" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
+<tool id="tp_cut_tool" name="Advanced Cut" version="@TOOL_VERSION@+galaxy2" profile="@PROFILE@">
     <description>columns from a table (cut)</description>
     <macros>
         <import>macros.xml</import>
@@ -13,10 +13,10 @@
             #if $cut_type_options.cut_element != '-f'
                 '$cut_type_options.list'
             #else
+                '$cut_type_options.colnames_option.list'
                 #if str($cut_type_options.delimiter) != '':
                     -d"$cut_type_options.delimiter"
                 #end if
-                '$cut_type_options.colnames_option.list'
             #end if
             '$input'
         > '$output'
@@ -194,7 +194,11 @@
             <param name="list" value="1,3,4"/>
             <param name="delimiter" value=""/>
             <output name="output" file="cut_results1.txt"/>
+            <assert_command>
+                <has_text text="-f '1,3,4'"/>
+            </assert_command>
         </test>
+
         <test expect_num_outputs="1">
             <param name="input" value="cut1.txt"/>
             <conditional name="cut_type_options">
@@ -207,6 +211,9 @@
             </conditional>
             <param name="complement" value="--complement" />
             <output name="output" file="cut_results2.txt"/>
+            <assert_command>
+                <has_text text="-f '2'"/>
+            </assert_command>
         </test>
         <test expect_num_outputs="1">
             <param name="input" value="cut1.txt"/>
--- a/sort_rows.xml	Thu Mar 28 13:20:16 2024 +0000
+++ b/sort_rows.xml	Fri Aug 16 10:41:54 2024 +0000
@@ -18,7 +18,6 @@
     <outputs>
         <data name="outfile" format_source="infile" metadata_source="infile"/>
     </outputs>
-    <options sanitize="False"/>
     <tests>
         <test>
             <param name="infile" value="sort_rows1.tabular" ftype="tabular" />