Skip to content

Commit

Permalink
readjust the value param in the set method
Browse files Browse the repository at this point in the history
  • Loading branch information
stan-dot committed Aug 28, 2024
1 parent 88f6c76 commit 92c7b92
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/dodal/devices/i18/IdGapLookupTable.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 92c7b92

Please sign in to comment.