Skip to content

Commit

Permalink
removed if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
parfa30 committed Sep 20, 2024
1 parent df8bfdd commit 55b9b80
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions python/lsst/ts/observatory/control/maintel/mtcalsys.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,9 @@ async def change_laser_wavelength(
changing the wavelength.
Default True
"""
if wavelength is not None:
task_wavelength = self.rem.tunablelaser.cmd_changeWavelength.set_start(
wavelength=wavelength, timeout=self.long_long_timeout
)
task_wavelength = self.rem.tunablelaser.cmd_changeWavelength.set_start(
wavelength=wavelength, timeout=self.long_long_timeout
)

if use_projector:
task_focus = self.linearstage_laser_focus.cmd_moveAbsolute.set_start(
Expand Down

0 comments on commit 55b9b80

Please sign in to comment.