Skip to content

Commit 703f35d

Browse files
committed
missed variable
1 parent aa56418 commit 703f35d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

neo/rawio/plexonrawio.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def _parse_header(self):
261261
signal_streams = np.array([], dtype=_signal_stream_dtype)
262262

263263
else:
264-
# detect groups (aka streams)
264+
# Detect streams
265265
all_sig_length = np.asarray(all_sig_length)
266266

267267
# names are WBX, FPX, SPKCX, AI, etc
@@ -387,7 +387,7 @@ def _segment_t_stop(self, block_index, seg_index):
387387
t_stop = float(self._last_timestamps) / self._global_ssampling_rate
388388
if hasattr(self, "_signal_length"):
389389
for stream_index in self._signal_length:
390-
t_stop_sig = self._signal_length[stream_index] / self._sig_sampling_rate[stream_id]
390+
t_stop_sig = self._signal_length[stream_index] / self._sig_sampling_rate[stream_index]
391391
t_stop = max(t_stop, t_stop_sig)
392392
return t_stop
393393

0 commit comments

Comments
 (0)