fixed syntax
This commit is contained in:
@@ -61,20 +61,6 @@ class LamNI(LamNIOpticsMixin, LamniGuiTools):
|
||||
self.progress["total_projections"] = 1
|
||||
self.progress["angle"] = 0
|
||||
|
||||
# ------------------------------------------------------------------
|
||||
# Beamline checks — delegated to BeamlineChecker
|
||||
# ------------------------------------------------------------------
|
||||
|
||||
@property
|
||||
def beamline_checks_enabled(self):
|
||||
return self.bl_chk.checks_enabled
|
||||
|
||||
@beamline_checks_enabled.setter
|
||||
def beamline_checks_enabled(self, val: bool):
|
||||
self.bl_chk.checks_enabled = val
|
||||
|
||||
def get_beamline_checks_enabled(self):
|
||||
self.bl_chk.print_status()
|
||||
|
||||
# ------------------------------------------------------------------
|
||||
# Special angles
|
||||
@@ -552,7 +538,7 @@ class LamNI(LamNIOpticsMixin, LamniGuiTools):
|
||||
print(f"Starting LamNI scan for angle {angle} in subtomo {subtomo_number}")
|
||||
self._print_progress()
|
||||
while not successful:
|
||||
self.bl_chk.start()
|
||||
self.bl_chk._bl_chk_start()
|
||||
if not self.special_angles:
|
||||
self._current_special_angles = []
|
||||
if self._current_special_angles:
|
||||
@@ -579,10 +565,10 @@ class LamNI(LamNIOpticsMixin, LamniGuiTools):
|
||||
for scan_nr in range(start_scan_number, end_scan_number):
|
||||
self._write_tomo_scan_number(scan_nr, angle, subtomo_number)
|
||||
|
||||
if self.bl_chk.stop() and not error_caught:
|
||||
if self.bl_chk._bl_chk_stop() and not error_caught:
|
||||
successful = True
|
||||
else:
|
||||
self.bl_chk.wait_until_recovered()
|
||||
self.bl_chk._bl_chk_wait_until_recovered()
|
||||
|
||||
def _golden(self, ii, howmany_sorted, maxangle=360, reverse=False):
|
||||
"""Return the ii-th golden ratio angle within sorted bunches and its subtomo number."""
|
||||
|
||||
Reference in New Issue
Block a user