Skip to content

Commit

Permalink
Merge remote-tracking branch 'jmchilton/release_15.07' into sniff_test
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed Sep 23, 2015
2 parents a90a4fc + aff8c70 commit ce16573
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/galaxy/datatypes/binary.py
Expand Up @@ -39,11 +39,11 @@ class Binary( data.Data ):

@staticmethod
def register_sniffable_binary_format(data_type, ext, type_class):
Binary.sniffable_binary_formats.append({"type": data_type, "ext": ext, "class": type_class})
Binary.sniffable_binary_formats.append({"type": data_type, "ext": ext.lower(), "class": type_class})

@staticmethod
def register_unsniffable_binary_ext(ext):
Binary.unsniffable_binary_formats.append(ext)
Binary.unsniffable_binary_formats.append(ext.lower())

@staticmethod
def is_sniffable_binary( filename ):
Expand Down

0 comments on commit ce16573

Please sign in to comment.