diff test-data/util/README.rst @ 4:7ca6716748c2 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 283362494058ed64143b1f27afb447b8a1cb4313
author iuc
date Fri, 14 Dec 2018 12:51:59 -0500
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/util/README.rst	Fri Dec 14 12:51:59 2018 -0500
@@ -0,0 +1,25 @@
+Prepare Gemini annotation files and test databases for tool tests
+=================================================================
+
+Each version of GEMINI is tied to a particular set of annotation files and
+database version.
+
+The ``build-gemini-testdata.sh`` script in this folder should be used to
+regenerate the annotation files and the test databases whenever the GEMINI
+version required by the tool wrappers gets upgraded.
+
+The script requires a working GEMINI installation at the targeted version and
+a folder with GEMINI's original annotation files, and can be executed with::
+
+  sh build-gemini-testdata.sh path/to/gemini/annotation/files
+  
+It will regenerate the annotation files inside test-data/test-cache/gemini/data
+and rebuild the *.db files in test-data.
+
+.. Note::
+
+   If the version of GEMINI that you are upgrading to uses a gemini-config.yaml
+   file that is different from the one found in test-data/test-cache you will
+   have to upgrade this file manually (make sure you leave the line
+   ``annotation_dir: gemini/data`` unchanged in the process).
+