Commit 3ae22357 authored by Olivier Kaufmann's avatar Olivier Kaufmann
Browse files

Improves hardware test_mux

No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
......@@ -320,6 +320,7 @@ class OhmPiHardware:
self.switch_mux(electrodes,roles, state='off')
else:
for c in self._cabling.keys():
self.exec_logger.info(f'Testing electrode {c[0]} with role {c[1]}.')
self.switch_mux(electrodes=[c[0]],roles=[c[1]],state='on')
time.sleep(activation_time)
self.switch_mux(electrodes=[c[0]], roles=[c[1]], state='off')
......
......@@ -157,7 +157,6 @@ class OhmPi(object):
@classmethod
def get_deprecated_methods(cls):
for i in getmembers(deprecated, isfunction):
print(f'Adding {i[0]} (deprecated)')
setattr(cls, i[0], i[1])
@staticmethod
......
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