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

---
 hardware_system.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hardware_system.py b/hardware_system.py
index 639eb9ad..4db8e0af 100644
--- a/hardware_system.py
+++ b/hardware_system.py
@@ -66,8 +66,8 @@ class OhmPiHardware:
         self._cabling={}
         for _, mux in self.mux_boards.items():
             mux.barrier = self.mux_barrier
-            print(mux.cabling)
-            update_dict(self._cabling, mux.cabling)
+            for k, v in mux.cabling.items:
+                update_dict(self._cabling, (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