Commit 2407a361 authored by Olivier Kaufmann's avatar Olivier Kaufmann
Browse files

Fixes bug related to MUX_CONFIG in hardware_system

Showing with 3 additions and 4 deletions
+3 -4
...@@ -64,7 +64,6 @@ class OhmPiHardware: ...@@ -64,7 +64,6 @@ class OhmPiHardware:
soh_logger=self.soh_logger, soh_logger=self.soh_logger,
controller=self.controller, controller=self.controller,
cabling = self._cabling)}) cabling = self._cabling)})
self.readings = np.array([]) # time series of acquired data self.readings = np.array([]) # time series of acquired data
self._start_time = None # time of the beginning of a readings acquisition self._start_time = None # time of the beginning of a readings acquisition
self._pulse = 0 # pulse number self._pulse = 0 # pulse number
...@@ -352,6 +351,6 @@ class OhmPiHardware: ...@@ -352,6 +351,6 @@ class OhmPiHardware:
""" """
self.exec_logger.debug('Resetting all mux boards ...') self.exec_logger.debug('Resetting all mux boards ...')
for mux in self.mux_boards: for mux_id, mux in self.mux_boards.items:
print(mux) self.exec_logger.debug(f'Resetting {mux_id}.')
mux.reset() self.mux_boards[mux].reset()
\ No newline at end of file \ No newline at end of file
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