diff proteinortho_grab_proteins.xml @ 5:a87f7278b4ee draft

planemo upload for repository https://gitlab.com/paulklemm_PHD/proteinortho commit 84c463c8317d7c16c2b86b1d8657932cc0f39791
author iuc
date Tue, 22 Nov 2022 16:51:10 +0000
parents 85ffb2cc6b64
children b183a90fe278
line wrap: on
line diff
--- a/proteinortho_grab_proteins.xml	Tue Jan 04 18:45:51 2022 +0000
+++ b/proteinortho_grab_proteins.xml	Tue Nov 22 16:51:10 2022 +0000
@@ -18,11 +18,9 @@
         proteinortho_grab_proteins.pl 
             --tofiles
             #if $regex:
-                $regex
+                '$regex'
             #end if
-            #if $source:
-                $source
-            #end if
+            $source
             #if $query.querytype == "string":
                 '$query.querystring'
             #else:
@@ -41,6 +39,7 @@
             </param>
             <when value="string">
                 <param name="querystring" type="text" label="A string of the protein/gene name/identifier that you want to search">
+                    <validator type="regex" negate="true" message="Identifier must not end with a backslash">.*\\$</validator>
                     <sanitizer invalid_char="">
                         <valid initial="string.letters,string.digits">
                             <add value="!"/>