Mercurial > repos > fubar > tool_factory_2
diff toolfactory/rgToolFactory2.py @ 143:4de39d209c5b draft
Uploaded
author | fubar |
---|---|
date | Sun, 18 Apr 2021 02:00:00 +0000 |
parents | b36f12eb99dc |
children | 351d479e4a86 |
line wrap: on
line diff
--- a/toolfactory/rgToolFactory2.py Sat Apr 17 12:29:31 2021 +0000 +++ b/toolfactory/rgToolFactory2.py Sun Apr 18 02:00:00 2021 +0000 @@ -1056,7 +1056,6 @@ "test", "--galaxy_python_version", self.args.python_version, - "--conda_auto_init", "--test_data", os.path.abspath(self.testdir), "--test_output", @@ -1076,37 +1075,6 @@ tout.close() return p.returncode - def set_planemo_galaxy_root(self, galaxyroot='/galaxy-central', config_path=".planemo.yml"): - # bug in planemo - bogus '--dev-wheels' passed to run_tests.sh as at april 2021 - need a fiddled copy so it is ignored until fixed - CONFIG_TEMPLATE = """## Planemo Global Configuration File. -## Everything in this file is completely optional - these values can all be -## configured via command line options for the corresponding commands. - -## Specify a default galaxy_root for test and server commands here. -galaxy_root: %s -## Username used with toolshed(s). -#shed_username: "<TODO>" -sheds: - # For each tool shed you wish to target, uncomment key or both email and - # password. - toolshed: - #key: "<TODO>" - #email: "<TODO>" - #password: "<TODO>" - testtoolshed: - #key: "<TODO>" - #email: "<TODO>" - #password: "<TODO>" - local: - #key: "<TODO>" - #email: "<TODO>" - #password: "<TODO>" -""" - if not os.path.exists(config_path): - with open(config_path, "w") as f: - f.write(CONFIG_TEMPLATE % galaxyroot) - - def main(): """ This is a Galaxy wrapper.