Commit 335fc7d6 authored by bliss administrator's avatar bliss administrator
Browse files

Bug correction

parent 2889b550
Pipeline #46966 passed with stages
in 4 minutes and 17 seconds
......@@ -121,6 +121,7 @@ class TomoOptic(TomoParameters):
self.__focus_steps_per_unit = config["focus_steps_per_unit"]
except:
self.__focus_steps_per_unit = 0
log_info(self, "__init__() leaving")
......@@ -187,7 +188,7 @@ class TomoOptic(TomoParameters):
# conversion in microns
ccd_ps *= 1e6
if self.manual_pixel_size:
if self.parameters.manual_pixel_size:
self.magnification = round(ccd_ps / self.unbinned_pixel_size, 3)
else:
self.unbinned_pixel_size = round(ccd_ps / self.magnification, 3)
......
Markdown is supported
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