Skip to content

Commit b3ffd3b

Browse files
samuelgarciazm711
andauthored
merci zach
Co-authored-by: Zach McKenzie <[email protected]>
1 parent 4158fbb commit b3ffd3b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

neo/rawio/openephysrawio.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class OpenEphysRawIO(BaseRawIO):
5555
hypothesis.
5656
* A recording can contain gaps due to USB stream loss when high CPU load when recording.
5757
Theses gaps are checked channel per channel which make the parse_header() slow.
58-
I gaps are detected then they are filled with zeros but the the reading will be much slower for getting signals.
58+
If gaps are detected then they are filled with zeros but the the reading will be much slower for getting signals.
5959
6060
"""
6161
# file formats used by openephys
@@ -129,8 +129,8 @@ def _parse_header(self):
129129
'int16', units, chan_info['bitVolts'], 0., processor_id))
130130

131131
if any(self._sig_has_gap[seg_index].values()):
132-
channel_with_gapes = list(self._sig_has_gap[seg_index].keys())
133-
self.logger.warning(f"This OpenEphys dataset contains gaps for some channels {channel_with_gapes} in segment {seg_index} the read will be slow")
132+
channel_with_gaps = list(self._sig_has_gap[seg_index].keys())
133+
self.logger.warning(f"This OpenEphys dataset contains gaps for some channels {channel_with_gaps} in segment {seg_index} the read will be slow")
134134
self._gap_mode = True
135135

136136

0 commit comments

Comments
 (0)