From 88089e1f37aad75df0ab87b194bb08f7a179817c Mon Sep 17 00:00:00 2001 From: tligui_y Date: Sun, 3 Aug 2025 18:27:03 +0200 Subject: [PATCH] Update slic/utils/hastyepics.py --- slic/utils/hastyepics.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/slic/utils/hastyepics.py b/slic/utils/hastyepics.py index 0c6654295..2a59bbc19 100644 --- a/slic/utils/hastyepics.py +++ b/slic/utils/hastyepics.py @@ -20,12 +20,17 @@ class Motor(epics.Motor): raise MotorException("must supply motor name") if name.endswith('.VAL'): + print (name) name = name[:-4] + print (name) if name.endswith('.'): + print (name) name = name[:-1] + print (name) self._prefix = name + print(self._prefix) Device.__init__(self, name, delim='.', attrs=self._init_list, timeout=timeout)