Skip to content

Commit

Permalink
fix(core): remove duplicate initializations
Browse files Browse the repository at this point in the history
  • Loading branch information
ianohara committed Jan 20, 2025
1 parent 35d2d3d commit 19e3079
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions software/control/gui_hcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -561,14 +561,9 @@ def loadWidgets(self):
self.displacementMeasurementWidget = widgets.DisplacementMeasurementWidget(
self.displacementMeasurementController, self.waveformDisplay
)
self.laserAutofocusControlWidget = widgets.LaserAutofocusControlWidget(self.laserAutofocusController)

self.laserAutofocusControlWidget: widgets.LaserAutofocusControlWidget = widgets.LaserAutofocusControlWidget(self.laserAutofocusController)
self.imageDisplayWindow_focus = core.ImageDisplayWindow(draw_crosshairs=True)
self.waveformDisplay = widgets.WaveformDisplay(N=1000, include_x=True, include_y=False)
self.displacementMeasurementWidget = widgets.DisplacementMeasurementWidget(
self.displacementMeasurementController, self.waveformDisplay
)
self.laserAutofocusControlWidget = widgets.LaserAutofocusControlWidget(self.laserAutofocusController)


self.imageDisplayTabs = QTabWidget()
if self.live_only_mode:
Expand Down

0 comments on commit 19e3079

Please sign in to comment.