From d9dc74a5db363765ed9e7d66961c7a794f7bd4af Mon Sep 17 00:00:00 2001 From: Stanislaw Malinowski Date: Wed, 21 Aug 2024 15:05:10 +0100 Subject: [PATCH] readjust the value param in the set method --- src/dodal/devices/i18/IdGapLookupTable.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/dodal/devices/i18/IdGapLookupTable.py b/src/dodal/devices/i18/IdGapLookupTable.py index f82e7135d0..a765f3b397 100644 --- a/src/dodal/devices/i18/IdGapLookupTable.py +++ b/src/dodal/devices/i18/IdGapLookupTable.py @@ -16,10 +16,9 @@ def __init__(self, prefix: str, name: str = ""): super().__init__(name) @AsyncStatus.wrap - async def set(self, transmission: float): + async def set(self, value: float): + """ + value: transmission + """ LOGGER.debug("Updating the lookup table ") - await self._use_current_energy.trigger() - LOGGER.info(f"Setting desired transmission to {transmission}") - await self._desired_transmission.set(transmission) - LOGGER.debug("Sending change filter command") - await self._change.trigger() + pass