changeset 1:8537763e4713 draft default tip

planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/tables commit af4bb1b40252cbb8f91cd1008a4aa5052e19f919
author recetox
date Thu, 14 Aug 2025 15:14:25 +0000
parents 3f54cd56a65e
children
files macros.xml table_pandas_rename_column.xml
diffstat 2 files changed, 6 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/macros.xml	Wed Jan 29 15:35:31 2025 +0000
+++ b/macros.xml	Thu Aug 14 15:14:25 2025 +0000
@@ -28,27 +28,17 @@
 
     <xml name="regex_sanitizer">
         <sanitizer>
-            <valid initial="string.ascii_letters,string.digits">
+            <valid initial="default">
                 <add value="^"/>
                 <add value="$"/>
-                <add value="("/>
-                <add value=")"/>
                 <add value="|"/>
-                <add value="?"/>
-                <add value="*"/>
-                <add value="+"/>
                 <add value="{"/>
                 <add value="}"/>
                 <add value="\"/>
                 <add value="["/>
                 <add value="]"/>
-                <add value="."/>
-                <add value=","/>
-                <add value="_"/>
-                <add value="-"/>
             </valid>
         </sanitizer>
-        <validator type="empty_field" />
         <validator type="regex" message="Pattern must not end with backslash.">.*[^\\]$</validator>
     </xml>
 </macros>
\ No newline at end of file
--- a/table_pandas_rename_column.xml	Wed Jan 29 15:35:31 2025 +0000
+++ b/table_pandas_rename_column.xml	Thu Aug 14 15:14:25 2025 +0000
@@ -5,7 +5,7 @@
     </xrefs> -->
     <macros>
         <import>macros.xml</import>
-        <token name="@VERSION_SUFFIX@">0</token>
+        <token name="@VERSION_SUFFIX@">1</token>
     </macros>
     <!-- TODO: please annotate this tool with topics and operations from http://edamontology.org -->
     <!-- TODO: for more information see: https://galaxy-iuc-standards.readthedocs.io/en/latest/best_practices/tool_xml.html#edam-topics-and-operations -->
@@ -54,8 +54,10 @@
     <tests>
         <test>
             <param name="input_dataset" value="reference.txt" ftype="tabular"/>
-            <param name="column" value="2"/>
-            <param name="new_name" value="retention_time"/>
+            <repeat name="columns_selection">
+                <param name="column" value="2"/>
+                <param name="new_name" value="retention_time"/>
+            </repeat>
             <output name="output_dataset" file="rename/reference_rt_renamed.tabular" ftype="tabular"/>
         </test>
         <test>