# HG changeset patch # User sanbi-uwc # Date 1463658689 14400 # Node ID 71a3f4a25de30a513ccd889209f9d5c22838798b # Parent eb925a043a4323f81a06e1bbbf4e847fb6fe25dd planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc.git commit 79f3191bfc33e7bac3f31dc4ea519f99ffb09081 diff -r eb925a043a43 -r 71a3f4a25de3 build_ctb_gene.py --- 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():