# HG changeset patch # User fubar # Date 1618734625 0 # Node ID 470d3e3095083770ca96500924b4bfeafa6a5d19 # Parent 4e83512cb72c033e61b21f0247f6a5534cbdd2b2 Uploaded 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