comparison sra.py @ 29:ce2bb7841f17 default tip

Fix for https://github.com/mdshw5/sra-tools-galaxy/issues/1
author Matt Shirley <mdshw5@gmail.com>
date Tue, 07 Apr 2015 09:09:23 -0400
parents 558a88cd49e4
children
comparison
equal deleted inserted replaced
28:fdc981664a43 29:ce2bb7841f17
39 def display_peek(self, dataset): 39 def display_peek(self, dataset):
40 try: 40 try:
41 return dataset.peek 41 return dataset.peek
42 except: 42 except:
43 return 'Binary sra file (%s)' % (nice_size(dataset.get_size())) 43 return 'Binary sra file (%s)' % (nice_size(dataset.get_size()))
44
45 Binary.register_sniffable_binary_format('sra', 'sra', Sra)