From 68ab3555cfa808c02c80cd219f60ec92a02b5103 Mon Sep 17 00:00:00 2001 From: atse Date: Fri, 25 Aug 2023 12:14:06 +0800 Subject: [PATCH] Depend on temperature only --- pytec/tec_qt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytec/tec_qt.py b/pytec/tec_qt.py index 1017e72..b083e10 100644 --- a/pytec/tec_qt.py +++ b/pytec/tec_qt.py @@ -611,7 +611,7 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow): iset = report[channel]['i_set'] time = report[channel]['time'] - if temperature is not None and current is not None and iset is not None: + if temperature is not None: getattr(self, f'ch{channel}_t_connector').cb_append_data_point(temperature, time) getattr(self, f'ch{channel}_i_connector').cb_append_data_point(current, time) getattr(self, f'ch{channel}_iset_connector').cb_append_data_point(iset, time)