Position in gridlayout for measurement_wgt_tab is now configurable from client json file

This commit is contained in:
2024-12-13 15:35:37 +01:00
parent 4cf494982e
commit d0bc302915
2 changed files with 30 additions and 9 deletions

12
base.py
View File

@@ -263,7 +263,7 @@ class BaseWindow(QMainWindow):
self.parent.add_to_hdf(dataH5, proc=True, raw=True)
self.parent.hdf_save_completed = True
_mess = "Processed data saved to {}".format(
_mess = "Data saved to {}".format(
self.parent.hdf_filename)
self.parent.trigger_log_message.emit(
MsgSeverity.INFO.name, _pymodule, _line(), _mess,
@@ -379,13 +379,17 @@ class BaseWindow(QMainWindow):
def run(self):
"""Run thread
"""
print("RUN IN BASE CLASS", flush=True)
print("RUN ANLYSIS THREAD FROM WITHIN IN BASE CLASS", flush=True)
#Reset all_data fro parent
self.parent.all_data = None
all_dict = self.analysis_procedure.measure_and_analyze(
self.input_parameters)
# Emit results
if all_dict:
if all_dict is not None:
self.trigger_thread_event.emit(all_dict)
mess = self.messages['success']
self.parent.trigger_log_message.emit(