Mercurial > repos > cathywise > truststore_browse
changeset 12:0c3f64e3c8ff
Try again 2.
| author | Wise, Catherine (Digital, Acton) <Catherine.Wise@csiro.au> |
|---|---|
| date | Thu, 25 Jun 2015 08:56:16 +1000 |
| parents | 9ada74e8915e |
| children | da8958ad788e |
| files | TrustStoreGalaxyBrowse.py |
| diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/TrustStoreGalaxyBrowse.py Thu Jun 25 08:41:33 2015 +1000 +++ b/TrustStoreGalaxyBrowse.py Thu Jun 25 08:56:16 2015 +1000 @@ -198,7 +198,8 @@ print("File %s not found." % location.name) sys.exit(4) ungzip(download, target_output_filename) - ext = sniff.handle_uploaded_dataset_file(target_output_filename, datatypes_registry, ext=ext) + ext = sniff.handle_uploaded_dataset_file(target_output_filename, datatypes_registry, ext=extension) + print("Guessed file type: " + ext) metadata_file.write( metadata_to_json(dataset_id, target_output_filename, name, ext, data_type)) else:
