diff --git a/lib/galaxy/datatypes/binary.py b/lib/galaxy/datatypes/binary.py index 165647b851ff..811173f3cc4e 100644 --- a/lib/galaxy/datatypes/binary.py +++ b/lib/galaxy/datatypes/binary.py @@ -4590,6 +4590,7 @@ def display_peek(self, dataset: DatasetProtocol) -> str: except Exception: return f"Binary FITS file size ({nice_size(dataset.get_size())})" + class FITSImage(FITS): # Fits that contains image data in any of the extensions @@ -4607,6 +4608,7 @@ def sniff(self, filename: str) -> bool: log.warning("%s, sniff Exception: %s", self, e) return False + @build_sniff_from_prefix class Numpy(Binary): """