Skip to content

Commit

Permalink
Merge pull request #81 from kaczmarj/patch-1
Browse files Browse the repository at this point in the history
fix order of mppx and mppy in Phillips parser
  • Loading branch information
ap-- authored Nov 30, 2023
2 parents 525e1ed + d386395 commit c7fe94a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tiffslide/tiffslide.py
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,7 @@ def get_first_attribute_with_name(
float(element.strip('"')) * 1000
for element in pixel_spacing_attribute.split(" ")
]
mpp_x, mpp_y = pixel_spacings[0], pixel_spacings[1]
mpp_y, mpp_x = pixel_spacings[0], pixel_spacings[1]
md[PROPERTY_NAME_MPP_X] = mpp_x
md[PROPERTY_NAME_MPP_Y] = mpp_y
return md
Expand Down

0 comments on commit c7fe94a

Please sign in to comment.