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

Changeset 148:470d3e309508 (2021-04-18)
Previous changeset 147:4e83512cb72c (2021-04-18) Next changeset 149:ecd1d283b5a7 (2021-04-20)
Commit message:
Uploaded
modified:
toolfactory/rgToolFactory2.py
b
diff -r 4e83512cb72c -r 470d3e309508 toolfactory/rgToolFactory2.py
--- a/toolfactory/rgToolFactory2.py Sun Apr 18 07:59:23 2021 +0000
+++ b/toolfactory/rgToolFactory2.py Sun Apr 18 08:30:25 2021 +0000
[
@@ -1048,8 +1048,10 @@
         # print('########## ourdir=',ourdir,'gr=',self.args.galaxy_root)
         # pconfig = os.path.join(ourdir,'planemo', '.planemo.yml')
         # penv["PLANEMO_GLOBAL_CONFIG_PATH"] = pconfig
-        # penv["HOME"] = ourdir
-        # # self.set_planemo_galaxy_root(self.args.galaxy_root, config_path=pconfig)
+        # os.mkdir(os.path.join(ourdir,'planemo'))
+        # penv["HOME"] = os.path.join(ourdir,'home')
+        # os.mkdir(os.path.join(ourdir,'home'))
+        # self.set_planemo_galaxy_root(self.args.galaxy_root, config_path=pconfig)
         xreal = "%s.xml" % self.tool_name
         tool_test_path = os.path.join(
             self.repdir, f"{self.tool_name}_planemo_test_report.html"
@@ -1083,7 +1085,7 @@
         tout.close()
         return p.returncode
 
-    def set_planemo_galaxy_root(self, galaxyroot, config_path=".planemo.yml"):
+    def set_planemo_galaxy_root(self, galaxyroot, config_path):
         # planemo tries to write to ~/.planemo - trying to convince it otherwise
         CONFIG_TEMPLATE = """## Planemo Global Configuration File.
 ## Everything in this file is completely optional - these values can all be