From f588e7a08b7e0404d752f5f81440387890098f6e Mon Sep 17 00:00:00 2001
From: Arnaud Watlet <arnaud.watlet@umons.ac.be>
Date: Wed, 29 Nov 2023 12:45:42 +0100
Subject: [PATCH] tests new cabling config

---
 ohmpi/utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ohmpi/utils.py b/ohmpi/utils.py
index a7ac95e1..49ba6167 100644
--- a/ohmpi/utils.py
+++ b/ohmpi/utils.py
@@ -133,7 +133,7 @@ def mux_2024_to_mux_2023_takeouts(mux_boards):
     mapper = {1: 16, 2: 1, 3: 15, 4: 2, 5: 14, 6: 3, 7: 13, 8: 4, 9: 12, 10: 5, 11: 11,
               12: 6, 13: 10, 14: 7, 15: 9, 16: 8}
 
-    for mux in mux_boards:
+    for mux in mux_boards.items():
         print(mux)
 
         new_cabling = mux.cabling.copy()
-- 
GitLab