Skip to content

Commit

Permalink
Fixed get_pixel_size default argument
Browse files Browse the repository at this point in the history
  • Loading branch information
rhoitink committed Feb 19, 2024
1 parent 349b120 commit 9b706cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simulatedmicroscopy/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def get_pixel_sizes(
List of pixel sizes in given unit, in order of requested dimensions.
"""
if dimensions is None:
dimensions = ["zyx"]
dimensions = ["z", "y", "x"]

if self._number_of_dimensions() < 3 and "z" in dimensions:
raise ValueError("Cannot retrieve z dimension for non 3D image")
Expand Down

0 comments on commit 9b706cf

Please sign in to comment.