From 974f635a8ddca85386872c9bfdfe0d61d07c43e2 Mon Sep 17 00:00:00 2001 From: Joost de Folter Date: Mon, 18 Nov 2024 16:48:07 +0200 Subject: [PATCH] ome-tiff fix: read first translation position --- OmeSliCC/OmeSource.py | 1 + 1 file changed, 1 insertion(+) diff --git a/OmeSliCC/OmeSource.py b/OmeSliCC/OmeSource.py index 35044ff..7b943f6 100644 --- a/OmeSliCC/OmeSource.py +++ b/OmeSliCC/OmeSource.py @@ -100,6 +100,7 @@ def _get_ome_metadata(self): if 'PositionZ' in plane: position.append((float(plane.get('PositionZ')), plane.get('PositionZUnit'))) #c, z, t = plane.get('TheC'), plane.get('TheZ'), plane.get('TheT') + break self.position = position self.source_mag = 0