Skip to content

Commit

Permalink
Fix identation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dsanmartim committed Aug 28, 2023
1 parent 95b6ea2 commit 8a19f29
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions python/lsst/ts/externalscripts/auxtel/latiss_base_align.py
Original file line number Diff line number Diff line change
Expand Up @@ -926,16 +926,16 @@ async def cleanup(self):
f"{self.max_iter}. Returning hexapod to its initial position.\n"
)

self.rem.ataos.evt_detailedState.flush()

# Return hexapod to original position
await self.atcs.rem.ataos.cmd_offset.set_start(
z=self.initial_hexapod_position.z,
x=self.initial_hexapod_position.x,
y=self.initial_hexapod_position.y,
timeout=self.long_timeout,
)
self.rem.ataos.evt_detailedState.flush()

# Return hexapod to original position
await self.atcs.rem.ataos.cmd_offset.set_start(
z=self.initial_hexapod_position.z,
x=self.initial_hexapod_position.x,
y=self.initial_hexapod_position.y,
timeout=self.long_timeout,
)

except asyncio.TimeoutError:
self.log.exception(
"Resetting hexapod to its initial position timed "
Expand Down

0 comments on commit 8a19f29

Please sign in to comment.