From d412a6fb7f9e98166332ddae84a036c3896f7a8d Mon Sep 17 00:00:00 2001 From: Arnaud Watlet <arnaud.watlet@umons.ac.be> Date: Thu, 7 Dec 2023 12:35:17 +0100 Subject: [PATCH] Tries inject_current --- ohmpi/hardware_components/mb_2024_0_2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ohmpi/hardware_components/mb_2024_0_2.py b/ohmpi/hardware_components/mb_2024_0_2.py index 6dac7944..c9fc615a 100644 --- a/ohmpi/hardware_components/mb_2024_0_2.py +++ b/ohmpi/hardware_components/mb_2024_0_2.py @@ -107,7 +107,7 @@ class Tx(Tx_mb_2023): def current(self, value): assert value >= 0. self._current = value - self.pwr.current = value: + self.pwr.current = value def inject(self, polarity=1, injection_duration=None): # add leds? -- GitLab