Mercurial > repos > galaxyp > regex_find_replace
changeset 5:503bcd6ebe4b draft default tip
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/regex_find_replace commit 3eaa2a2bdaeedf1b0771b1b764a550106dcbc186
author | galaxyp |
---|---|
date | Thu, 02 Feb 2023 08:21:31 +0000 |
parents | 399da6b5ec21 |
children | |
files | regex.xml regex_tabular.xml |
diffstat | 2 files changed, 12 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/regex.xml Thu Jul 14 10:49:01 2022 +0000 +++ b/regex.xml Thu Feb 02 08:21:31 2023 +0000 @@ -1,4 +1,4 @@ -<tool id="regex1" name="Regex Find And Replace" version="1.0.2" profile="21.01"> +<tool id="regex1" name="Regex Find And Replace" version="1.0.3" profile="21.01"> <description></description> <requirements> <requirement type="package" version="3.7">python</requirement> @@ -44,30 +44,30 @@ </repeat> </inputs> <outputs> - <data format="input" name="out_file1" metadata_source="input"/> + <data format_source="input" name="out_file1" metadata_source="input"/> </outputs> <tests> <test> - <param name="input" value="find1.txt"/> + <param name="input" value="find1.txt" ftype="txt"/> <param name="pattern" value="(T\w+)"/> <param name="replacement" value="\1 \1" /> - <output name="out_file1" file="replace1.txt"/> + <output name="out_file1" file="replace1.txt" ftype="txt"/> </test> <test> - <param name="input" value="find1.txt"/> + <param name="input" value="find1.txt" ftype="txt"/> <param name="pattern" value="f"/> <param name="replacement" value="'"" /> - <output name="out_file1" file="replace2.txt"/> + <output name="out_file1" file="replace2.txt" ftype="txt"/> </test> <test> - <param name="input" value="find1.txt"/> + <param name="input" value="find1.txt" ftype="txt"/> <param name="checks_0|pattern" value="a test file"/> <param name="checks_0|replacement" value="a file named #{input_name}" /> <param name="checks_1|pattern" value="see here"/> <param name="checks_1|replacement" value="see #{input_name}" /> <param name="checks_2|pattern" value="see (find1).txt"/> <param name="checks_2|replacement" value="see \1" /> - <output name="out_file1" file="replace3.txt"/> + <output name="out_file1" file="replace3.txt" ftype="txt"/> </test> </tests> <help>
--- a/regex_tabular.xml Thu Jul 14 10:49:01 2022 +0000 +++ b/regex_tabular.xml Thu Feb 02 08:21:31 2023 +0000 @@ -1,4 +1,4 @@ -<tool id="regexColumn1" name="Column Regex Find And Replace" version="1.0.2" profile="21.01"> +<tool id="regexColumn1" name="Column Regex Find And Replace" version="1.0.3" profile="21.01"> <description></description> <requirements> <requirement type="package" version="3.7">python</requirement> @@ -46,7 +46,7 @@ </repeat> </inputs> <outputs> - <data format="input" name="out_file1" metadata_source="input" /> + <data format_source="input" name="out_file1" metadata_source="input" /> </outputs> <tests> <test> @@ -54,14 +54,14 @@ <param name="field" value="2" /> <param name="pattern" value="moo"/> <param name="replacement" value="cow" /> - <output name="out_file1" file="replace_tabular_1.txt"/> + <output name="out_file1" file="replace_tabular_1.txt" ftype="tabular"/> </test> <test> <param name="input" value="find_tabular_1.txt" ftype="tabular" /> <param name="field" value="1" /> <param name="pattern" value="moo"/> <param name="replacement" value="cow" /> - <output name="out_file1" file="replace_tabular_2.txt"/> + <output name="out_file1" file="replace_tabular_2.txt" ftype="tabular"/> </test> </tests> <help>