From d954993fcd88051559c131f26b39d154c1291ae2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20S=C3=A1nchez-Gallego?= Date: Thu, 19 Nov 2020 14:26:18 -0800 Subject: [PATCH] Restore counterweights now that MCP has been fixed --- TUI/Misc/MCP/StatusWdg.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/TUI/Misc/MCP/StatusWdg.py b/TUI/Misc/MCP/StatusWdg.py index b7b74a3..2967df3 100755 --- a/TUI/Misc/MCP/StatusWdg.py +++ b/TUI/Misc/MCP/StatusWdg.py @@ -11,6 +11,8 @@ import RO.Wdg import TUI.Models import SlitheadWdg +import CounterweightWdg + class StatusWdg (Tkinter.Frame): def __init__(self, @@ -35,9 +37,9 @@ def __init__(self, ) self.gridder.gridWdg("APOGEE Gang", self.apogeeGangWdg) - # self.cwWdgList = CounterweightWdg.CounterweightWdgList(self, helpURL=helpURL) - # for i, wdg in enumerate(self.cwWdgList): - # self.gridder.gridWdg("CW %d" % (i+1,), wdg) + self.cwWdgList = CounterweightWdg.CounterweightWdgList(self, helpURL=helpURL) + for i, wdg in enumerate(self.cwWdgList): + self.gridder.gridWdg("CW %d" % (i+1,), wdg) self.spSlitWdgList = SlitheadWdg.SlitheadWdgList(self, helpURL=helpURL) for i, wdg in enumerate(self.spSlitWdgList):