Mercurial > repos > cathywise > truststore_browse
changeset 19:bae7471a4741
Again.
author | Wise, Catherine (Digital, Acton) <Catherine.Wise@csiro.au> |
---|---|
date | Thu, 25 Jun 2015 13:02:16 +1000 |
parents | dd8e0066e9f5 |
children | 91bad9ac39c6 |
files | TrustStoreGalaxyBrowse.py |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/TrustStoreGalaxyBrowse.py Thu Jun 25 12:56:26 2015 +1000 +++ b/TrustStoreGalaxyBrowse.py Thu Jun 25 13:02:16 2015 +1000 @@ -82,7 +82,10 @@ except OSError: pass else: - shutil.copy(download, outputFile) + try: + shutil.copy(download, outputFile) + except shutil.Error: + pass # If the file is already in the right location, move along. def construct_multi_filename(id, name, file_type): """ Implementation of *Number of Output datasets cannot be determined until