diff --git a/ohmpi/ohmpi.py b/ohmpi/ohmpi.py index 2b49830e20d7af8611fa47c5810fa21f7ecf8891..905acb8e995b12a12672b40922b90e6798096541 100644 --- a/ohmpi/ohmpi.py +++ b/ohmpi/ohmpi.py @@ -823,7 +823,7 @@ class OhmPi(object): self.exec_logger.debug(f'tx pwr voltage: {self._hw.tx.pwr.voltage}, rx max voltage: {self._hw.rx._voltage_max}') return False else: - if quadrupole == [0, 0, 0, 0]: # NOTE: No mux + if np.array(quadrupole).all() == np.array([0, 0, 0, 0]).all(): # NOTE: No mux return True else: return self._hw.switch_mux(electrodes=quadrupole, state='on', bypass_check=bypass_check)