From aaf8e917ad43f05fc6223d64a6ff799c876a4829 Mon Sep 17 00:00:00 2001 From: Erik O Gabrielsson Date: Thu, 30 Nov 2023 20:56:45 +0100 Subject: [PATCH] Remove depricated argument --- opentile/formats/ome/ome_tiff_tiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opentile/formats/ome/ome_tiff_tiler.py b/opentile/formats/ome/ome_tiff_tiler.py index 7c21b47..4c0ffd9 100644 --- a/opentile/formats/ome/ome_tiff_tiler.py +++ b/opentile/formats/ome/ome_tiff_tiler.py @@ -76,7 +76,7 @@ def _get_mpp(self, series_index: int) -> SizeMm: def _get_optional_mpp(self, series_index: int) -> Optional[SizeMm]: assert self._tiff_file.ome_metadata is not None - metadata = ome_types.from_xml(self._tiff_file.ome_metadata, parser="lxml") + metadata = ome_types.from_xml(self._tiff_file.ome_metadata) pixels = metadata.images[series_index].pixels if ( pixels.physical_size_x_unit != UnitsLength.MICROMETER