Mercurial > repos > cathywise > truststore_browse
comparison TrustStoreGalaxyBrowse.py @ 16:bc3e29a97709
Make first file empty.
author | Wise, Catherine (Digital, Acton) <Catherine.Wise@csiro.au> |
---|---|
date | Thu, 25 Jun 2015 10:04:23 +1000 |
parents | 8b88de25dd2c |
children | eefb47f4f438 |
comparison
equal
deleted
inserted
replaced
15:8b88de25dd2c | 16:bc3e29a97709 |
---|---|
169 root = truststore.listDirectory(store) | 169 root = truststore.listDirectory(store) |
170 | 170 |
171 first = True | 171 first = True |
172 | 172 |
173 print("Preparing the following for downloading: " + str(paths)) | 173 print("Preparing the following for downloading: " + str(paths)) |
174 | |
175 # Empty parameter file. | |
176 open(file_name, 'w' ).close() | |
174 | 177 |
175 if root is not None: | 178 if root is not None: |
176 with open(metadata_path, 'wb') as metadata_file: | 179 with open(metadata_path, 'wb') as metadata_file: |
177 for path in paths: | 180 for path in paths: |
178 locations = utils.Navigation.files_at_path(root, path) | 181 locations = utils.Navigation.files_at_path(root, path) |