|
@@ -160,10 +160,8 @@ class TimingPart(kcgw.KCGWidgets):
|
|
|
"no_board_{}".format(self.board_id),
|
|
|
"acquire_{}".format(self.board_id),
|
|
|
"continuous_read_{}".format(board_id)],
|
|
|
- [
|
|
|
- self.fineAdcInput
|
|
|
- ]
|
|
|
- )
|
|
|
+ self.fineAdcInput
|
|
|
+ )
|
|
|
|
|
|
self.bunchShiftLabel = self.createLabel(tr("Label", "Bunch Shift"))
|
|
|
|
|
@@ -175,10 +173,8 @@ class TimingPart(kcgw.KCGWidgets):
|
|
|
"no_board_{}".format(self.board_id),
|
|
|
"acquire_{}".format(self.board_id),
|
|
|
"continuous_read_{}".format(board_id)],
|
|
|
- [
|
|
|
- self.bunchShiftInput
|
|
|
- ]
|
|
|
- )
|
|
|
+ self.bunchShiftInput
|
|
|
+ )
|
|
|
|
|
|
|
|
|
#---------[ End ]---------
|
|
@@ -490,8 +486,8 @@ class TimingPart(kcgw.KCGWidgets):
|
|
|
|
|
|
|
|
|
Elements.emptyGroup('timing_{}'.format(self.board_id))
|
|
|
- Elements.removeItem(None, [self.fineAdcInput])
|
|
|
- Elements.removeItem(None, [self.bunchShiftInput])
|
|
|
+ Elements.removeItem(None, self.fineAdcInput)
|
|
|
+ Elements.removeItem(None, self.bunchShiftInput)
|
|
|
Elements.removeItem(None, [
|
|
|
self.coarseInputTh,
|
|
|
#self.coarseInputAdc,
|