Mercurial > repos > cathywise > truststore_browse
comparison TrustStoreGalaxyBrowse.py @ 21:4819fbb59766
*tear*
| author | Wise, Catherine (Digital, Acton) <Catherine.Wise@csiro.au> |
|---|---|
| date | Thu, 25 Jun 2015 13:18:03 +1000 |
| parents | 91bad9ac39c6 |
| children | fb915c3aefb2 |
comparison
equal
deleted
inserted
replaced
| 20:91bad9ac39c6 | 21:4819fbb59766 |
|---|---|
| 196 name = construct_multi_filename(hda_id, filename, extension) | 196 name = construct_multi_filename(hda_id, filename, extension) |
| 197 target_output_filename = None | 197 target_output_filename = None |
| 198 data_type = "new_primary_dataset" | 198 data_type = "new_primary_dataset" |
| 199 target_output_filename = os.path.normpath(os.path.join(extra_files_path, name)) | 199 target_output_filename = os.path.normpath(os.path.join(extra_files_path, name)) |
| 200 download = truststore.getFile(store, location) | 200 download = truststore.getFile(store, location) |
| 201 primary = first | 201 primary = not first |
| 202 if download is None: | 202 if download is None: |
| 203 print("File %s not found." % location.name) | 203 print("File %s not found." % location.name) |
| 204 sys.exit(4) | 204 sys.exit(4) |
| 205 if first: | 205 if first: |
| 206 first = False | 206 first = False |
