Mercurial > repos > fubar > tool_factory_2
changeset 95:6d122fd54cd0 draft
Uploaded
author | fubar |
---|---|
date | Fri, 20 Nov 2020 06:38:14 +0000 |
parents | e8f35fec0f2f |
children | d54976fc996a |
files | toolfactory/rgToolFactory2.py toolfactory/rgToolFactory2.xml |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/toolfactory/rgToolFactory2.py Fri Nov 20 01:35:25 2020 +0000 +++ b/toolfactory/rgToolFactory2.py Fri Nov 20 06:38:14 2020 +0000 @@ -20,7 +20,9 @@ # essential problem is to create two command lines - one for the tool xml and a different # one to run the executable with the supplied test data and settings # Be simpler to write the tool, then run it with planemo and soak up the test outputs. - +# well well. sh run_tests.sh --id rgtf2 --report_file tool_tests_tool_conf.html functional.test_toolbox +# does the needful. Use GALAXY_TEST_SAVE /foo to save outputs - only the tar.gz - not the rest sadly +# GALAXY_TEST_NO_CLEANUP GALAXY_TEST_TMP_DIR=wherever import argparse import datetime @@ -898,6 +900,7 @@ if genoutputs: dummy, tfile = tempfile.mkstemp() cll = [ + ".", os.path.join(self.args.galaxy_root,'.venv','bin','activate'),"&&", "planemo", "test", "--test_data", os.path.abspath(self.testdir), @@ -918,6 +921,7 @@ else: cll = [ + ".", os.path.join(self.args.galaxy_root,'.venv','bin','activate'),"&&", "planemo", "test", "--test_data", os.path.abspath(self.testdir),
--- a/toolfactory/rgToolFactory2.xml Fri Nov 20 01:35:25 2020 +0000 +++ b/toolfactory/rgToolFactory2.xml Fri Nov 20 06:38:14 2020 +0000 @@ -411,6 +411,7 @@ <param name="choosescript" value="yes" /> <param name="script_path" value="$runme"/> <output name="new_tool" file="toolfactory_pyrevpos_tgz_sample" compare="sim_size" delta="6000" /> + <output name="output2" file="output2_sample" compare="diff" /> </test> </tests>