CommandsParameter useless anyway

zotino-tec
atse 2023-08-20 21:33:14 +08:00
parent 50aafa493f
commit db766d8707
1 changed files with 1 additions and 4 deletions

View File

@ -19,9 +19,6 @@ from qasync import asyncSlot, asyncClose
from ui_tec_qt import Ui_MainWindow
class CommandsParameter(Parameter):
pass
def get_argparser():
parser = argparse.ArgumentParser(description="ARTIQ master")
@ -179,7 +176,7 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow):
self._set_up_plot_menu()
self.params = [
CommandsParameter.create(name=f"Thermostat Channel {ch} Parameters", type='group', value=ch, children=self.THERMOSTAT_PARAMETERS[ch])
Parameter.create(name=f"Thermostat Channel {ch} Parameters", type='group', value=ch, children=self.THERMOSTAT_PARAMETERS[ch])
for ch in range(2)
]
self._set_param_tree()