diff TrustStoreGalaxyImport.py @ 23:cf4cf95e6678

blabla
author Catherine Wise <catherine.wise@csiro.au>
date Mon, 13 Jan 2014 09:21:20 +1100
parents 1179f6e90e78
children 7b1720b6acf2
line wrap: on
line diff
--- 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: