# HG changeset patch # User Catherine Wise # Date 1389565280 -39600 # Node ID cf4cf95e6678ea142f42ae8e3bcab82b2a3bd5a8 # Parent 1179f6e90e78b86a355f3095eb6807627b57d914 blabla diff -r 1179f6e90e78 -r cf4cf95e6678 TrustStoreGalaxyImport.py --- a/TrustStoreGalaxyImport.py Mon Jan 13 09:15:15 2014 +1100 +++ b/TrustStoreGalaxyImport.py Mon Jan 13 09:21:20 2014 +1100 @@ -65,7 +65,7 @@ elif is_gzipped and is_valid: # We need to uncompress the temp_name file, but BAM files must remain compressed in the BGZF format CHUNK_SIZE = 2**20 # 1Mb - fd, uncompressed = tempfile.mkstemp(prefix='data_id_%s_upload_gunzip_' % dataset.dataset_id, dir=os.path.dirname(outputFile), text=False ) + fd, uncompressed = tempfile.mkstemp(prefix='data_id_upload_gunzip_', dir=os.path.dirname(outputFile), text=False ) gzipped_file = gzip.GzipFile(download, 'rb') while 1: try: