Mercurial > repos > sanbi-uwc > build_ctb_gene
changeset 38:65df0b64db15 draft
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc.git commit d7d335bdd8e18529d643b7ce55a311db71f957bc
author | sanbi-uwc |
---|---|
date | Wed, 01 Jun 2016 07:37:28 -0400 |
parents | 8f16164019bd |
children | 2a9a2575c8a4 |
files | build_ctb_gene.py build_ctb_gene.xml |
diffstat | 2 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/build_ctb_gene.py Tue May 31 03:04:08 2016 -0400 +++ b/build_ctb_gene.py Wed Jun 01 07:37:28 2016 -0400 @@ -38,6 +38,7 @@ # Check whether the options are specified and saves them into the object # assert args != None self.args = args + self.outputdir = args.outputdir self.mount_point = None self.docker_instance_name = "build_ctb_gene_" + str(random.randrange(0, 1000, 2)) @@ -50,7 +51,7 @@ print("Error running the build_ctb_gene goterms", file=sys.stderr) return None else: - self.copy_output_file_to_dataset() + # self.copy_output_file_to_dataset() print("Building a new DB, current time: %s" % str(datetime.date.today())) print("GFF File - Input: %s" % str(self.args.input_file)) return True @@ -89,7 +90,7 @@ return True def docker_run(self): - self.mount_point = "{}/neo4j/data".format(os.getcwd()) + self.mount_point = "{}".format(self.outputdir) try: os.makedirs(self.mount_point) except os.error as e:
--- a/build_ctb_gene.xml Tue May 31 03:04:08 2016 -0400 +++ b/build_ctb_gene.xml Wed Jun 01 07:37:28 2016 -0400 @@ -1,5 +1,5 @@ -<?xml version="1.0.1" encoding="utf-8" ?> -<tool id="build_ctb_gene" name="Build_ctb_gene Tool" version="1.0"> +<?xml version="1.0" encoding="utf-8" ?> +<tool id="build_ctb_gene" name="Build_ctb_gene Tool" version="1.0.2"> <requirements> <requirement type="package" version="0.1">build_ctb_gene_neo4j</requirement> </requirements>