Fix issue in resetting offset in latiss_wep_align

Description

Unexpected exception in resetting hexapod to its initial position.

Traceback (most recent call last):
File "/net/obs-env/auto_base_packages/ts_externalscripts/python/lsst/ts/externalscripts/auxtel/latiss_base_align.py", line 911, in cleanup
self.rem.ataos.evt_detailedState.flush()
^^^^^^^^
AttributeError: 'LatissWEPAlign' object has no attribute 'rem'

Issue Matrix

hide

Activity

Show:

Tiago Ribeiro 
December 6, 2023 at 6:58 PM

PR reviewed in GH

Tiago Ribeiro 
November 16, 2023 at 6:48 AM

Yes, I think so.

David Sanmartim 
November 15, 2023 at 3:54 PM
(edited)

Hi

I think we can just remove this `self.rem.ataos.evt_detailedState.flush()` since the `offset_aos_lut`method from atcs.py module already makes a `flush` just before actually resetting the ofsets (line 2121 from atcs.py). It is redundant and unnecessary to keep it here. What do you think?

Done
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Labels

Reviewers

Tiago Ribeiro

Story Points

RubinTeam

Sprint

Checklist

Created November 15, 2023 at 12:42 AM
Updated December 11, 2023 at 11:03 PM
Resolved December 6, 2023 at 8:19 PM