# HG changeset patch # User sanbi-uwc # Date 1464781048 14400 # Node ID 65df0b64db158d495ea3e706ea1e2ec0fe3d5a56 # Parent 8f16164019bdb2452a898bcaec8a1c2e32463ab8 planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc.git commit d7d335bdd8e18529d643b7ce55a311db71f957bc diff -r 8f16164019bd -r 65df0b64db15 build_ctb_gene.py --- 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: diff -r 8f16164019bd -r 65df0b64db15 build_ctb_gene.xml --- 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 @@ - - + + build_ctb_gene_neo4j