From 0fbcc8346bdbcdb70d572490c3bb7252fac8f4ae Mon Sep 17 00:00:00 2001 From: Sven Augustin Date: Fri, 27 Aug 2021 15:41:19 +0200 Subject: [PATCH] IDs are mandatory now --- devices/undulator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devices/undulator.py b/devices/undulator.py index 8aed941..4690a5e 100644 --- a/devices/undulator.py +++ b/devices/undulator.py @@ -19,8 +19,8 @@ und_name_cal = "SATUN13-UIND030" class Undulators(Adjustable): - def __init__(self, scaled=True, name="Athos Undulators", units="eV"): - super().__init__(name=name, units=units) + def __init__(self, scaled=True, ID="ATHOS_UNDULATORS", name="Athos Undulators", units="eV"): + super().__init__(ID, name=name, units=units) self.adjs = {name: Undulator(name) for name in und_names} self.chic = CHIC(name, units)