From d5edcf240d0890cee9e4cb31ef6d1bd2a3d74558 Mon Sep 17 00:00:00 2001 From: su530201 <olivier.kaufmann@umons.ac.be> Date: Tue, 26 Sep 2023 08:55:15 +0200 Subject: [PATCH] set batt message at debug --- ohmpi/hardware_components/abstract_hardware_components.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ohmpi/hardware_components/abstract_hardware_components.py b/ohmpi/hardware_components/abstract_hardware_components.py index 7cb2e81d..193305f2 100644 --- a/ohmpi/hardware_components/abstract_hardware_components.py +++ b/ohmpi/hardware_components/abstract_hardware_components.py @@ -91,7 +91,7 @@ class PwrAbstract(ABC): def voltage(self, value): assert isinstance(value, float) if not self.voltage_adjustable: - self.exec_logger.warning(f'Voltage cannot be set on {self.board_name}...') + self.exec_logger.debug(f'Voltage cannot be set on {self.board_name}...') else: assert self._voltage_min < value < self._voltage_max # add actions to set the DPS voltage -- GitLab