Skip to content

Commit

Permalink
Remove LATISS filter check
Browse files Browse the repository at this point in the history
  • Loading branch information
elanaku committed Oct 14, 2024
1 parent adf19f7 commit 5b1a59f
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,13 +183,7 @@ async def track_radec_and_setup_instrument(self, ra, dec):
rot_type=RotType.PhysicalSky,
)

if self.latiss.get_current_filter() == self.get_instrument_filter():
self.log.warning(
f"Filter is already set to {self.get_instrument_filter()}. "
f"Continuing."
)
else:
await self.latiss.setup_instrument(filter=self.get_instrument_filter())
await self.latiss.setup_instrument(filter=self.get_instrument_filter())

async def slew_azel_and_setup_instrument(self, az, el):
"""Abstract method to set the instrument. Change the filter
Expand Down

0 comments on commit 5b1a59f

Please sign in to comment.