diff regex.xml @ 2:538933d9fccc draft

"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/regex_find_replace commit 8871a847daed1f996c0a2069c3e876685bf8d220"
author galaxyp
date Tue, 07 Apr 2020 11:31:27 -0400
parents 209b7c5ee9d7
children 399da6b5ec21
line wrap: on
line diff
--- a/regex.xml	Thu Jan 19 11:26:15 2017 -0500
+++ b/regex.xml	Tue Apr 07 11:31:27 2020 -0400
@@ -1,8 +1,15 @@
-<tool id="regex1" name="Regex Find And Replace" version="1.0.0">
+<tool id="regex1" name="Regex Find And Replace" version="1.0.1">
   <description></description>
-  <command interpreter="python">regex.py --input '$input' --output '$out_file1' --input_display_name '$input.display_name'
+  <requirements>
+    <requirement type="package" version="3.7">python</requirement>
+  </requirements>
+  <command>
+    python '$__tool_directory__/regex.py'
+    --input '$input'
+    --output '$out_file1'
+    --input_display_name '$input.display_name'
     #for $check in $checks:
-    --pattern='$check.pattern' --replacement='$check.replacement'
+      --pattern='$check.pattern' --replacement='$check.replacement'
     #end for
   </command>
   <inputs>