From 9f5813db8d55d00e4657d5416e6a5dede0a8428c Mon Sep 17 00:00:00 2001 From: Tom Trafford Date: Thu, 31 Oct 2024 09:36:25 +0000 Subject: [PATCH] Correct error due to type of signal --- src/ophyd_async/fastcs/panda/_trigger.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ophyd_async/fastcs/panda/_trigger.py b/src/ophyd_async/fastcs/panda/_trigger.py index 4c9dbb73f..4ce42e841 100644 --- a/src/ophyd_async/fastcs/panda/_trigger.py +++ b/src/ophyd_async/fastcs/panda/_trigger.py @@ -83,8 +83,10 @@ async def prepare(self, value: ScanSpecInfo): dir = True rows += SeqTable.row( trigger=trig, - position=chunk.lower[fast_axis][start] - / await fast_axis.encoder_res.get_value(), + position=int( + chunk.lower[fast_axis][start] + / await fast_axis.encoder_res.get_value() + ), ) # Time based triggers