Mercurial > repos > recetox > table_pandas_rename_columns_regex
comparison table_pandas_rename_columns_regex.xml @ 1:628a75ad9685 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:09 +0000 |
parents | 505a8e975968 |
children |
comparison
equal
deleted
inserted
replaced
0:505a8e975968 | 1:628a75ad9685 |
---|---|
1 <tool id="table_pandas_rename_columns_regex" name="table rename columns via regex" version="@PANDAS_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.01" license="MIT"> | 1 <tool id="table_pandas_rename_columns_regex" name="table rename columns via regex" version="@PANDAS_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.01" license="MIT"> |
2 <description>rename columns in a table using regex</description> | 2 <description>rename columns in a table using regex</description> |
3 <macros> | 3 <macros> |
4 <import>macros.xml</import> | 4 <import>macros.xml</import> |
5 <token name="@VERSION_SUFFIX@">0</token> | 5 <token name="@VERSION_SUFFIX@">1</token> |
6 </macros> | 6 </macros> |
7 | 7 |
8 <requirements> | 8 <requirements> |
9 <expand macro="requirement_pandas_pyarrow"/> | 9 <expand macro="requirement_pandas_pyarrow"/> |
10 </requirements> | 10 </requirements> |
46 | 46 |
47 <tests> | 47 <tests> |
48 <test expect_num_outputs="1"> | 48 <test expect_num_outputs="1"> |
49 <param name="input_dataset" value="rename/reference_both_renamed.tabular" ftype="tabular"/> | 49 <param name="input_dataset" value="rename/reference_both_renamed.tabular" ftype="tabular"/> |
50 <param name="columns" value="1,2"/> | 50 <param name="columns" value="1,2"/> |
51 <param name="regex_check" value="retention_"/> | 51 <param name="regex_check" value="(retention_){1}"/> |
52 <param name="regex_replace" value=""/> | |
53 <output name="output_dataset" ftype="tabular"> | 52 <output name="output_dataset" ftype="tabular"> |
54 <assert_contents> | 53 <assert_contents> |
55 <has_text text="retention" negate="true"/> | 54 <has_text text="retention" negate="true"/> |
55 <has_line line="index	time"/> | |
56 </assert_contents> | 56 </assert_contents> |
57 </output> | 57 </output> |
58 </test> | 58 </test> |
59 </tests> | 59 </tests> |
60 | 60 |