From 2220d9ac22cd3d07565a596c73000ecae2ec5f03 Mon Sep 17 00:00:00 2001 From: Sven Augustin Date: Mon, 8 Jun 2020 16:39:59 +0200 Subject: [PATCH] PIDs should probably be ints --- slic/core/acquisition/broker_tools.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/slic/core/acquisition/broker_tools.py b/slic/core/acquisition/broker_tools.py index 2e56f25ff..3d1020a24 100644 --- a/slic/core/acquisition/broker_tools.py +++ b/slic/core/acquisition/broker_tools.py @@ -6,9 +6,9 @@ from slic.utils import singleton PULSEID_PVS = { - "alvra" : "SLAAR11-LTIM01-EVR0:RX-PULSEID", - "bernina" : "SLAAR21-LTIM01-EVR0:RX-PULSEID", - "maloja" : "SLAAR11-LTIM01-EVR0:RX-PULSEID", + "alvra" : "SLAAR11-LTIM01-EVR0:RX-PULSEID", + "bernina": "SLAAR21-LTIM01-EVR0:RX-PULSEID", + "maloja" : "SLAAR11-LTIM01-EVR0:RX-PULSEID", } IP_TO_BEAMLINE = { @@ -55,7 +55,7 @@ class get_current_pulseid(): self.get = pv.get def __call__(self): - return self.get() + return int(self.get())