changeset 91:7176af503cdd draft

Uploaded
author fubar
date Thu, 19 Nov 2020 23:38:29 +0000
parents 4663732f341e
children 6ce360759c28
files toolfactory/rgToolFactory2.py
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/toolfactory/rgToolFactory2.py	Thu Nov 19 23:26:46 2020 +0000
+++ b/toolfactory/rgToolFactory2.py	Thu Nov 19 23:38:29 2020 +0000
@@ -898,14 +898,13 @@
         if genoutputs:
             dummy, tfile = tempfile.mkstemp()
             cll = [
-                ".","/home/biodocker/galaxy-central/.venv/bin/activate", "&&",
                 "planemo",
                 "test",
                 "--test_data", os.path.abspath(self.testdir),
                 "--test_output", os.path.abspath(tool_test_path),
                 "--skip_venv",
                 "--galaxy_root",
-                "/home/biodocker/galaxy-central",
+                self.args.galaxy_root,
                 "--update_test_data",
                 os.path.abspath(xreal),
             ]
@@ -919,14 +918,13 @@
 
         else:
             cll = [
-                ".","/home/biodocker/galaxy-central/.venv/bin/activate","&&",
                 "planemo",
                 "test",
                 "--test_data", os.path.abspath(self.testdir),
                 "--test_output", os.path.abspath(tool_test_path),
                 "--skip_venv",
                 "--galaxy_root",
-                "/home/biodocker/galaxy-central",
+                self.args.galaxy_root,
                 os.path.abspath(xreal),
             ]
             p = subprocess.run(