changeset 148:470d3e309508 draft

Uploaded
author fubar
date Sun, 18 Apr 2021 08:30:25 +0000
parents 4e83512cb72c
children ecd1d283b5a7
files toolfactory/rgToolFactory2.py
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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
PK>P-z_|/ nmr_preprocessing-6e837e9352a2/.hg_archival.txtUT)^PK>PIrz . nmr_preprocessing-6e837e9352a2/DrawFunctions.RUT)^PK>P,*8 / nmr_preprocessing-6e837e9352a2/NmrPreprocessing_script.RUT)^PK>P0 .9 5nmr_preprocessing-6e837e9352a2/NmrPreprocessing_wrapper.RUT)^PK>PSZiH^7 Anmr_preprocessing-6e837e9352a2/NmrPreprocessing_xml.xmlUT)^PK>Po) Snmr_preprocessing-6e837e9352a2/README.rstUT)^PK>P K&50 yUnmr_preprocessing-6e837e9352a2/ReadFids_script.RUT)^PK>P-iN1 +enmr_preprocessing-6e837e9352a2/ReadFids_wrapper.RUT)^PK>P;ُ.>/ jnmr_preprocessing-6e837e9352a2/ReadFids_xml.xmlUT)^PK>PB2 ) urnmr_preprocessing-6e837e9352a2/macros.xmlUT)^PK>P8 < wnmr_preprocessing-6e837e9352a2/static/images/Mth_Travaux.pngUT)^PK>P7P{9 gnmr_preprocessing-6e837e9352a2/static/images/ReadFids.pngUT)^PK J