Mercurial > repos > sanbi-uwc > build_ctb_gene
changeset 21:04f49a2f5ec9 draft
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc.git commit 9486c76fae458504e5a97bcbc028a225b8d8284b
author | sanbi-uwc |
---|---|
date | Thu, 19 May 2016 08:32:30 -0400 |
parents | 06bd61e33a18 |
children | f62c95374715 |
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 08:21:43 2016 -0400 +++ b/build_ctb_gene.py Thu May 19 08:32:30 2016 -0400 @@ -53,10 +53,10 @@ # retrieve neo4j files to the working gx directory result_file = glob.glob(self.args.mount_point + '/*') for file_name in result_file: - if os.path.isfile(file_name): + if os.path.isdir(file_name): + shutil.copytree(file_name, self.args.outputdir) + elif os.path.isfile(file_name): shutil.copy(file_name, self.args.outputdir) - else: - shutil.copytree(file_name, self.args.outputdir) def main():