Skip to content

Commit

Permalink
Remove depricated argument
Browse files Browse the repository at this point in the history
  • Loading branch information
erikogabrielsson committed Nov 30, 2023
1 parent f7517b1 commit aaf8e91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opentile/formats/ome/ome_tiff_tiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aaf8e91

Please sign in to comment.