Skip to content

Commit

Permalink
update utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
benmalef committed Oct 19, 2024
1 parent 1ea0b95 commit 555f3be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GANDLF/data/patch_miner/opm/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ def get_patch_size_in_microns(
metadata = input_slide.properties
if i == 0:
for _property in [
tiffslide.PROPERTY_NAME_MPP_X,
openslide.PROPERTY_NAME_MPP_X,
"tiff.XResolution",
"XResolution",
]:
Expand All @@ -519,7 +519,7 @@ def get_patch_size_in_microns(
break
elif i == 1:
for _property in [
tiffslide.PROPERTY_NAME_MPP_Y,
openslide.PROPERTY_NAME_MPP_Y,
"tiff.YResolution",
"YResolution",
]:
Expand Down

0 comments on commit 555f3be

Please sign in to comment.