diff toolfactory/rgToolFactory2.py @ 57:d21517a36db8 draft

Uploaded
author fubar
date Thu, 22 Oct 2020 00:56:46 +0000
parents 68fbdbe35f08
children 881bd8c81ac9
line wrap: on
line diff
--- a/toolfactory/rgToolFactory2.py	Tue Oct 20 03:20:32 2020 +0000
+++ b/toolfactory/rgToolFactory2.py	Thu Oct 22 00:56:46 2020 +0000
@@ -629,7 +629,6 @@
         else:  # work around special case - stdin and write to stdout
             sti = open(self.infiles[0][IPATHPOS], "rb")
             sto = open(self.outfiles[0][ONAMEPOS], "wb")
-            # must use shell to redirect
             p = subprocess.run(self.cl, shell=False, stdout=sto, stdin=sti)
             retval = p.returncode
             sto.close()
@@ -696,6 +695,7 @@
             cll = [
                 "planemo",
                 "test",
+                "--skip_venv",
                 "--galaxy_root",
                 self.args.galaxy_root,
                 "--update_test_data",
@@ -703,7 +703,7 @@
             ]
         else:
             cll = ["planemo", "test", "--galaxy_root",
-                self.args.galaxy_root,
+                self.args.galaxy_root, "--skip_venv",
                 xreal,]
         p = subprocess.run(
                 cll, shell=False, cwd=self.tooloutdir, stderr=tout, stdout=tout