Commit ffc1226b authored by Arnaud WATLET's avatar Arnaud WATLET
Browse files

tests new cabling config

Showing with 6 additions and 0 deletions
+6 -0
......@@ -83,6 +83,12 @@ class Mux(MuxAbstract):
self.exec_logger.error(f'Invalid role assignment for {self.model}: {self._roles} !')
self._mode = ''
print('cabling', cabling)
electrodes = kwargs.pop('electrodes', None)
self.cabling = {}
if cabling is None:
self.cabling = {(e, r): i + 1 for r in roles for i, e in enumerate(electrodes)}
# Setup TCA
tca_address = kwargs.pop('tca_address', None)
tca_channel = kwargs.pop('tca_channel', 0)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment