PIDs should probably be ints

This commit is contained in:
2020-06-08 16:39:59 +02:00
parent dea48732f7
commit 2220d9ac22
+4 -4
View File
@@ -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())