Repository 'tool_factory_2'
hg clone https://toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_2

Changeset 72:a8764cda9dbf (2020-11-14)
Previous changeset 71:eea262faed9c (2020-11-14) Next changeset 73:95adf7148d9a (2020-11-14)
Commit message:
Uploaded
modified:
toolfactory/rgToolFactory2.py
toolfactory/rgToolFactory2.xml
b
diff -r eea262faed9c -r a8764cda9dbf toolfactory/rgToolFactory2.py
--- a/toolfactory/rgToolFactory2.py Sat Nov 14 06:16:34 2020 +0000
+++ b/toolfactory/rgToolFactory2.py Sat Nov 14 08:04:59 2020 +0000
[
@@ -762,6 +762,7 @@
         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,]
@@ -788,6 +789,7 @@
             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))
@@ -839,8 +841,8 @@
                 "test",
                 "--galaxy_root",
                 self.args.galaxy_root,
-                "--update_test_data",
-                "--docker",
+                "--update_test_data",           
+                "--directory", self.args.tool_dir,
                 xreal,
             ]
             p = subprocess.run(
@@ -848,7 +850,8 @@
                 )
         else:
             cll = ["planemo", "test", "--galaxy_root",
-                self.args.galaxy_root, "--docker",
+                self.args.galaxy_root, 
+            "--directory", self.args.tool_dir,
                 xreal,]
             p = subprocess.run(
                     cll, shell=False, cwd=self.tooloutdir, stderr=tout, stdout=tout
@@ -951,6 +954,7 @@
     a("--sysexe", default=None)
     a("--packages", default=None)
     a("--tool_name", default=None)
+    a("--tool_dir", default=None)
     a("--input_files", default=[], action="append")
     a("--output_files", default=[], action="append")
     a("--user_email", default="Unknown")
b
diff -r eea262faed9c -r a8764cda9dbf toolfactory/rgToolFactory2.xml
--- a/toolfactory/rgToolFactory2.xml Sat Nov 14 06:16:34 2020 +0000
+++ b/toolfactory/rgToolFactory2.xml Sat Nov 14 08:04:59 2020 +0000
b
@@ -189,6 +189,7 @@
 --output_files "$otab.history_name~~~$otab.history_format~~~$otab.history_CL~~~$otab.history_test"
      #end for
 --galaxy_root "$__root_dir__"
+--tool_dir "$__tool_dir__"
  #end if
 ]]></command>
  <configfiles>