Mercurial > repos > cathywise > truststore_browse
comparison TrustStoreGalaxyBrowse.py @ 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 |
comparison
equal
deleted
inserted
replaced
18:dd8e0066e9f5 | 19:bae7471a4741 |
---|---|
80 os.remove(uncompressed) | 80 os.remove(uncompressed) |
81 os.remove(download) | 81 os.remove(download) |
82 except OSError: | 82 except OSError: |
83 pass | 83 pass |
84 else: | 84 else: |
85 shutil.copy(download, outputFile) | 85 try: |
86 shutil.copy(download, outputFile) | |
87 except shutil.Error: | |
88 pass # If the file is already in the right location, move along. | |
86 | 89 |
87 def construct_multi_filename(id, name, file_type): | 90 def construct_multi_filename(id, name, file_type): |
88 """ Implementation of *Number of Output datasets cannot be determined until | 91 """ Implementation of *Number of Output datasets cannot be determined until |
89 tool run* from documentation_. | 92 tool run* from documentation_. |
90 .. _documentation: http://wiki.galaxyproject.org/Admin/Tools/Multiple%20Output%20Files | 93 .. _documentation: http://wiki.galaxyproject.org/Admin/Tools/Multiple%20Output%20Files |