From d1ca4163eae1b4fcad460cbc425252da0294b68e Mon Sep 17 00:00:00 2001 From: su530201 <olivier.kaufmann@umons.ac.be> Date: Thu, 8 Jun 2023 14:56:55 +0200 Subject: [PATCH] Tests using 2 muxes --- ohmpi/hardware_system.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ohmpi/hardware_system.py b/ohmpi/hardware_system.py index a365d36d..f7c52784 100644 --- a/ohmpi/hardware_system.py +++ b/ohmpi/hardware_system.py @@ -92,7 +92,7 @@ class OhmPiHardware: self.tx.pwr = self.pwr self._cabling = kwargs.pop('cabling', {}) self.mux_boards = {} - for mux_id, mux_config in HARDWARE_CONFIG['mux'].items(): + for mux_id, mux_config in HARDWARE_CONFIG['mux']['boards'].items(): print(f'mux_id: {mux_id}, mux_config: {mux_config}') # TODO: Delete me! mux_config.pop('model', '') constructor = mux_config.pop('constructor') -- GitLab