Unverified Commit 2183e2e6 authored by Henri Payno's avatar Henri Payno
Browse files

fix typo

parent 696b9e9a
......@@ -588,9 +588,9 @@ class StandardAcquisition(BaseAcquisition):
unit = "m"
else:
distance, unit = self._get_distance()
if distance is not None:
detector_node["distance"] = distance
detector_node["distance"].attrs["unit"] = unit
if distance is not None:
detector_node["distance"] = distance
detector_node["distance"].attrs["unit"] = unit
# write x and y pixel size
# if magnified pixel size is found then we right this value.
# otherwise will take pixel size (if found)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment