Mercurial > repos > sanbi-uwc > build_ctb_gene
changeset 18:71a3f4a25de3 draft
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc.git commit 79f3191bfc33e7bac3f31dc4ea519f99ffb09081
author | sanbi-uwc |
---|---|
date | Thu, 19 May 2016 07:51:29 -0400 |
parents | eb925a043a43 |
children | d60316b849a1 |
files | build_ctb_gene.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/build_ctb_gene.py Thu May 19 07:42:35 2016 -0400 +++ b/build_ctb_gene.py Thu May 19 07:51:29 2016 -0400 @@ -27,10 +27,10 @@ # cmdline_str = "build_ctb_gene goterms ${}".format(input_file) cmdline_str = "touch /tmp/foo.bar" cmdline_str = self.newSplit(cmdline_str) - build_ctb_run = True + build_ctb_run = False try: check_call(cmdline_str) - build_ctb_run = False + build_ctb_run = True except CalledProcessError: print("Error running the build_ctb_gene goterms", file=sys.stderr) if build_ctb_run: @@ -50,7 +50,7 @@ # retrieve neo4j files to the working gx directory result_file = glob.glob(self.args.mount_point + '/*') for file_name in result_file: - shutil.copy(file_name, self.args.outputdir) + shutil.copytree(file_name, self.args.outputdir) def main():