From 6e4bd890a169995b13d4633dfe7e465928ef3735 Mon Sep 17 00:00:00 2001 From: David Sanmartim Date: Sat, 18 Nov 2023 00:49:35 -0300 Subject: [PATCH 1/2] In ``latiss_base_align.py`` fix a bug in the cleanup method. --- python/lsst/ts/externalscripts/auxtel/latiss_base_align.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/python/lsst/ts/externalscripts/auxtel/latiss_base_align.py b/python/lsst/ts/externalscripts/auxtel/latiss_base_align.py index 6cb380f2c..5795d0a97 100644 --- a/python/lsst/ts/externalscripts/auxtel/latiss_base_align.py +++ b/python/lsst/ts/externalscripts/auxtel/latiss_base_align.py @@ -908,8 +908,6 @@ async def cleanup(self): f"{self.max_iter}. Returning hexapod to its initial position." ) - self.rem.ataos.evt_detailedState.flush() - # Return hexapod to original position await self.atcs.offset_aos_lut( z=-self.offset_total_focus, From 03842fa2c63096b28c1eb98816046d563d102d31 Mon Sep 17 00:00:00 2001 From: David Sanmartim Date: Sat, 18 Nov 2023 00:49:51 -0300 Subject: [PATCH 2/2] Add news fragment --- doc/news/DM-41718.bugfix.rst | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 doc/news/DM-41718.bugfix.rst diff --git a/doc/news/DM-41718.bugfix.rst b/doc/news/DM-41718.bugfix.rst new file mode 100644 index 000000000..e3ea7dd62 --- /dev/null +++ b/doc/news/DM-41718.bugfix.rst @@ -0,0 +1,2 @@ +Fixed a bug in `latiss_base_align.py` module when trying to flush the `ataos.evt_detailedState` event before resetting resetting the hexapod to its initial position. +That flush was not needed, redundant and it was causing an error.