From e58a4a313d224003efcbce3cf8c53760012de137 Mon Sep 17 00:00:00 2001 From: Shekar V Date: Tue, 26 Sep 2023 15:33:27 -0400 Subject: [PATCH] calcLifetimeCB is only calculated if fmx --- gui/control_main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gui/control_main.py b/gui/control_main.py index 5bca9905..b9f70756 100644 --- a/gui/control_main.py +++ b/gui/control_main.py @@ -404,7 +404,8 @@ def createSampleTab(self): self.osc_end_ledit.textChanged[str].connect( functools.partial(self.totalExpChanged, "oscEnd") ) - self.osc_end_ledit.textChanged.connect(self.calcLifetimeCB) + if daq_utils.beamline == "fmx": + self.osc_end_ledit.textChanged.connect(self.calcLifetimeCB) hBoxColParams1.addWidget(colStartLabel) hBoxColParams1.addWidget(self.osc_start_ledit) hBoxColParams1.addWidget(self.colEndLabel)