Mercurial > repos > bgruening > text_processing
diff cut.xml @ 22:3dc70b59608c draft default tip
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit 2dc2df988bd2dde9f8d7f629b594186dbd4fdc2b
author | bgruening |
---|---|
date | Fri, 07 Mar 2025 20:44:20 +0000 |
parents | 86755160afbf |
children |
line wrap: on
line diff
--- a/cut.xml Fri Aug 16 10:41:54 2024 +0000 +++ b/cut.xml Fri Mar 07 20:44:20 2025 +0000 @@ -1,4 +1,4 @@ -<tool id="tp_cut_tool" name="Advanced Cut" version="@TOOL_VERSION@+galaxy2" profile="@PROFILE@"> +<tool id="tp_cut_tool" name="Advanced Cut" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> <description>columns from a table (cut)</description> <macros> <import>macros.xml</import> @@ -191,14 +191,19 @@ <tests> <test expect_num_outputs="1"> <param name="input" value="cut1.txt"/> - <param name="list" value="1,3,4"/> - <param name="delimiter" value=""/> + <conditional name="cut_type_options"> + <param name="cut_element" value="-f"/> + <param name="delimiter" value="" /> + <conditional name="colnames_option"> + <param name="header" value="Y"/> + <param name="list" value="1,3,4"/> + </conditional> + </conditional> <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"> @@ -217,9 +222,10 @@ </test> <test expect_num_outputs="1"> <param name="input" value="cut1.txt"/> - <param name="list" value="-3" /> - <param name="delimiter" value="" /> - <param name="cut_element" value="-c" /> + <conditional name="cut_type_options"> + <param name="cut_element" value="-c" /> + <param name="list" value="-3" /> + </conditional> <output name="output" file="cut_results3.txt"/> </test> </tests>