diff --git a/lib/galaxy/config/sample/datatypes_conf.xml.sample b/lib/galaxy/config/sample/datatypes_conf.xml.sample
index 1ecd25ee5761..86ad796485c9 100644
--- a/lib/galaxy/config/sample/datatypes_conf.xml.sample
+++ b/lib/galaxy/config/sample/datatypes_conf.xml.sample
@@ -239,7 +239,9 @@
-
+
+
+
diff --git a/lib/galaxy/datatypes/display_applications/configs/image/avivator.xml b/lib/galaxy/datatypes/display_applications/configs/image/avivator.xml
index b1c54b8a89d3..4d731b4f9bfa 100644
--- a/lib/galaxy/datatypes/display_applications/configs/image/avivator.xml
+++ b/lib/galaxy/datatypes/display_applications/configs/image/avivator.xml
@@ -1,7 +1,7 @@
http://avivator.gehlenborglab.org/?image_url=${qp($tiff_file.url)}
-
+
diff --git a/lib/galaxy/datatypes/images.py b/lib/galaxy/datatypes/images.py
index 3420b1be183a..e61efeaca05a 100644
--- a/lib/galaxy/datatypes/images.py
+++ b/lib/galaxy/datatypes/images.py
@@ -91,10 +91,6 @@ class Png(Image):
class Tiff(Image):
edam_format = "format_3591"
file_ext = "tiff"
-
-
-class OMETiff(Tiff):
- file_ext = "ome.tiff"
MetadataElement(
name="offsets",
desc="Offsets File",
@@ -120,6 +116,10 @@ def set_meta(
json.dump(offsets, f)
dataset.metadata.offsets = offsets_file
+
+class OMETiff(Tiff):
+ file_ext = "ome.tiff"
+
def sniff(self, filename: str) -> bool:
with tifffile.TiffFile(filename) as tif:
if tif.is_ome: