Skip to content

Commit

Permalink
normalize micro
Browse files Browse the repository at this point in the history
  • Loading branch information
hanjinliu committed Aug 31, 2024
1 parent e7a7efd commit c946d9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion impy/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ def _get_ijmeta_from_img(img: MetaArray, update_lut=True):
info = {}
metadata["Info"] = str(info)
scale_unit = img.scale_unit
if scale_unit[0] == "μ":
if scale_unit[0] in ("μ", "\xb5", "\xc2"):
scale_unit = "\\u00B5" + scale_unit[1:]
metadata["unit"] = scale_unit

Expand Down

0 comments on commit c946d9d

Please sign in to comment.