From 97085db55debe6ab59f18e9ec87cd25313b0f74f Mon Sep 17 00:00:00 2001
From: su530201 <olivier.kaufmann@umons.ac.be>
Date: Sun, 30 Apr 2023 17:43:08 +0200
Subject: [PATCH] Updates hardware_system test_mux

---
 hardware_system.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hardware_system.py b/hardware_system.py
index 196823ce..d780ea0a 100644
--- a/hardware_system.py
+++ b/hardware_system.py
@@ -67,7 +67,7 @@ class OhmPiHardware:
         for _, mux in self.mux_boards.items():
             mux.barrier = self.mux_barrier
             for k, v in mux.cabling.items():
-                update_dict(self._cabling, (mux_id, k[0]))
+                update_dict(self._cabling, {k: (mux_id, k[0])})
         print(self._cabling)
         self.readings = np.array([])  # time series of acquired data
         self._start_time = None  # time of the beginning of a readings acquisition
-- 
GitLab