Skip to content

Commit

Permalink
remove get_mime function for Zarr
Browse files Browse the repository at this point in the history
as we do not have proper mimetype for zarr
  • Loading branch information
annefou committed Nov 2, 2023
1 parent 4db4c6e commit e4c786b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/galaxy/datatypes/text.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,6 @@ def set_peek(self, dataset: DatasetProtocol, **kwd) -> None:
dataset.peek = "file does not exist"
dataset.blurb = "file purged from disk"

def get_mime(self) -> str:
"""Returns the mime type of the datatype"""
return "text/html"

def sniff_prefix(self, file_prefix: FilePrefix) -> bool:
"""
Determines whether the file is in zarr format
Expand Down

0 comments on commit e4c786b

Please sign in to comment.