# HG changeset patch # User Wise, Catherine (Digital, Acton) # Date 1435201336 -36000 # Node ID bae7471a4741d360a2d0b4357c48306014df42e8 # Parent dd8e0066e9f508a317d2f0e939a234274fc3b2ab Again. diff -r dd8e0066e9f5 -r bae7471a4741 TrustStoreGalaxyBrowse.py --- 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