changeset 74:3d4324df911b draft

Uploaded
author fubar
date Sat, 14 Nov 2020 21:52:39 +0000
parents 95adf7148d9a
children 25dd9364a32a
files toolfactory/rgToolFactory2.py
diffstat 1 files changed, 2 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/toolfactory/rgToolFactory2.py	Sat Nov 14 21:48:10 2020 +0000
+++ b/toolfactory/rgToolFactory2.py	Sat Nov 14 21:52:39 2020 +0000
@@ -762,7 +762,6 @@
         cat = 'ToolFactory generated tools'
         if self.args.tool_name not in rnames:
             cll = ["planemo", "shed_create", "--shed_target", "local",
-            "--directory", self.args.tool_dir,
             "--owner","fubar","--name",
             self.args.tool_name,"--shed_key",
             self.args.toolshed_api_key,]
@@ -789,7 +788,6 @@
             self.args.toolshed_api_key,
             "--tar",
             self.newtarpath,
-            "--directory", self.args.tool_dir,
         ]
         p = subprocess.run(cll, shell=False, stdout=tout, stderr=tout)
         tout.write("Ran %s got %d" %  (" ".join(cll), p.returncode))
@@ -841,8 +839,7 @@
                 "test",
                 "--galaxy_root",
                 self.args.galaxy_root,
-                "--update_test_data",           
-                "--directory", self.args.tool_dir,
+                "--update_test_data",
                 xreal,
             ]
             p = subprocess.run(
@@ -850,8 +847,7 @@
                 )
         else:
             cll = ["planemo", "test", "--galaxy_root",
-                self.args.galaxy_root, 
-            "--directory", self.args.tool_dir,
+                self.args.galaxy_root,
                 xreal,]
             p = subprocess.run(
                     cll, shell=False, cwd=self.tooloutdir, stderr=tout, stdout=tout