changeset 4:399da6b5ec21 draft

planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/regex_find_replace commit a9b01eafeefb50c416fbfe342b15298fe9321679
author galaxyp
date Thu, 14 Jul 2022 10:49:01 +0000
parents ae8c4b2488e7
children 503bcd6ebe4b
files regex.py regex.xml regex_tabular.xml
diffstat 3 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/regex.py	Fri May 08 04:01:27 2020 -0400
+++ b/regex.py	Thu Jul 14 10:49:01 2022 +0000
@@ -1,5 +1,5 @@
+import re
 from optparse import OptionParser
-import re
 
 
 def main():
--- a/regex.xml	Fri May 08 04:01:27 2020 -0400
+++ b/regex.xml	Thu Jul 14 10:49:01 2022 +0000
@@ -1,4 +1,4 @@
-<tool id="regex1" name="Regex Find And Replace" version="1.0.1">
+<tool id="regex1" name="Regex Find And Replace" version="1.0.2" profile="21.01">
   <description></description>
   <requirements>
     <requirement type="package" version="3.7">python</requirement>
@@ -15,7 +15,7 @@
   <inputs>
     <param format="txt" name="input" type="data" label="Select lines from"/>
     <repeat name="checks" title="Check">
-      <param name="pattern" size="40" type="text" value="chr([0-9A-Za-z])+" label="Find Regex" help="here you can enter text or regular expression (for syntax check lower part of this frame)">
+      <param name="pattern" type="text" value="chr([0-9A-Za-z]+)" label="Find Regex" help="here you can enter text or regular expression (for syntax check lower part of this frame)">
         <sanitizer>
           <valid>
             <add preset="string.printable"/>
@@ -28,7 +28,7 @@
           </mapping>
         </sanitizer>
       </param>
-      <param name="replacement" size="40" type="text" value="newchr\1" label="Replacement">
+      <param name="replacement" type="text" value="newchr\1" label="Replacement">
         <sanitizer>
           <valid>
             <add preset="string.printable"/>
--- a/regex_tabular.xml	Fri May 08 04:01:27 2020 -0400
+++ b/regex_tabular.xml	Thu Jul 14 10:49:01 2022 +0000
@@ -1,4 +1,4 @@
-<tool id="regexColumn1" name="Column Regex Find And Replace" version="1.0.1">
+<tool id="regexColumn1" name="Column Regex Find And Replace" version="1.0.2" profile="21.01">
   <description></description>
   <requirements>
     <requirement type="package" version="3.7">python</requirement>
@@ -17,7 +17,7 @@
     <param format="tabular" name="input" type="data" label="Select cells from"/>
     <param name="field" label="using column" type="data_column" data_ref="input" />
     <repeat name="checks" title="Check">
-      <param name="pattern" type="text" value="chr([0-9A-Za-z])+" label="Find Regex" help="here you can enter text or regular expression (for syntax check lower part of this frame)">
+      <param name="pattern" type="text" value="chr([0-9A-Za-z]+)" label="Find Regex" help="here you can enter text or regular expression (for syntax check lower part of this frame)">
         <sanitizer>
           <valid>
             <add preset="string.printable"/>