From 25fd261961a2b19aa90572b68a1a5f484eda74f4 Mon Sep 17 00:00:00 2001
From: su530201 <olivier.kaufmann@umons.ac.be>
Date: Thu, 8 Jun 2023 14:54: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 094b901a..0cd8ec32 100644
--- a/ohmpi/hardware_system.py
+++ b/ohmpi/hardware_system.py
@@ -93,7 +93,7 @@ class OhmPiHardware:
         self._cabling = kwargs.pop('cabling', {})
         self.mux_boards = {}
         for mux_id, mux_config in HARDWARE_CONFIG['mux'].items():
-            mux_config.pop('model')
+            mux_config.pop('model', '')
             constructor = mux_config.pop('constructor')
             ctl = mux_config.pop('ctl', self.ctl)
             if isinstance(ctl, dict):
-- 
GitLab