From a76e529a820a7ae816cf90e1be3c56da596cea8d Mon Sep 17 00:00:00 2001 From: zebra Date: Thu, 20 Mar 2025 12:53:11 +0100 Subject: [PATCH] frappy_psi.phytron: improve clear_errors message --- frappy_psi/phytron.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappy_psi/phytron.py b/frappy_psi/phytron.py index 9f484bf..b7c1b2a 100644 --- a/frappy_psi/phytron.py +++ b/frappy_psi/phytron.py @@ -166,7 +166,7 @@ class Motor(HasOffset, HasStates, PersistentMixin, HasIO, Drivable): def write_target(self, value): self.read_alive_time() if self._blocking_error: - self.status = ERROR, 'clear_errors needed after ' + self._blocking_error + self.status = ERROR, '.clear_errors() needed after ' + self._blocking_error raise HardwareError(self.status[1]) self.saveParameters() self.start_machine(self.starting, target=value)