From 05f27ad20a8559abcb5a5c035d26a9b38e1a683c Mon Sep 17 00:00:00 2001 From: davelopez <46503462+davelopez@users.noreply.github.com> Date: Wed, 18 Feb 2026 14:12:50 +0100 Subject: [PATCH] Adds ImageJ metadata support to TIFF export Switches TIFF writer to use ImageJ metadata, enabling richer metadata and improved compatibility with downstream tools. --- lib/galaxy/files/sources/omero.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/files/sources/omero.py b/lib/galaxy/files/sources/omero.py index 113785f0893..2107edacaf5 100644 --- a/lib/galaxy/files/sources/omero.py +++ b/lib/galaxy/files/sources/omero.py @@ -557,7 +557,7 @@ class OmeroFileSource(BaseFilesSource[OmeroFileSourceTemplateConfiguration, Omer else: yield pixels.getPlane(z, c, 0) - with tifffile.TiffWriter(native_path, bigtiff=True, ome=True) as tif: + with tifffile.TiffWriter(native_path, bigtiff=True, imagej=True) as tif: tif.write( data=plane_generator(), shape=(size_z, size_c, size_y, size_x),