Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit fb800d1

Browse files
author
LAKESIDE\LindaT18
committed
fix acquire settings
1 parent ca8a338 commit fb800d1

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

PythonGUI_apps/Lifetime_analysis/Lifetime_plot_fit.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,10 @@ def acquire_settings(self, mode="data"):# mode --looks whether argument is data
163163
try:
164164
try:
165165
if self.ui.separate_irf_checkBox.isChecked() and mode=="irf":
166-
y = self.irf_file[:,channel]
166+
try:
167+
y = self.irf_file[:,channel]
168+
except:
169+
y = self.irf_file.get_curve(channel)
167170
else:
168171
y = self.file[:,channel]
169172
except:

0 commit comments

Comments
 (0)