check magnet I at PIF

This commit is contained in:
2024-02-20 14:08:36 +01:00
parent 89fd5f2a02
commit 4c4325620e

View File

@@ -147,9 +147,8 @@ class GUIHeader(QWidget):
self.header_row[sector], j - 1, 2, 5) # j -3 with_sub_master
j += 1
else:
align = Qt.AlignTop # if sector == "SH" else Qt.AlignCenter
#align = Qt.AlignBottom if sector == "PG3" else align
align = Qt.AlignTop
self.grid_layout.addWidget(
self.beam_current_widget(
header=sector, pv=pv, color_obj=color),
@@ -575,6 +574,8 @@ class GUIHeader(QWidget):
if amd2 is not None and amd2 > 0.0:
color = "green"
else:
color = self.pf_bgcolor()
for i in range(5, 8):
pf = self.pframe_matrix["O2"][5][i]