DAQ: reset crystalsize b_facror and best_res when loading a new sample

This commit is contained in:
2025-10-07 13:14:01 +02:00
parent 5f10bbf077
commit 8cf7cb01ca
+4
View File
@@ -311,6 +311,10 @@ class AareDAQ:
curr_sample = self.__cfg.current_sample
curr_sample_is_manual = False
self.crystal_size = CrystalSize(x=0, y=0, z=0)
self.last_best_b_factor = None
self.last_best_res = None
if curr_sample is not None and curr_sample.location is None:
self.__cfg.current_sample = None
curr_sample_is_manual = True