Skip to content

Commit

Permalink
Update neo/rawio/openephysrawio.py
Browse files Browse the repository at this point in the history
Co-authored-by: Zach McKenzie <[email protected]>
  • Loading branch information
samuelgarcia and zm711 authored Feb 2, 2024
1 parent 3feabb8 commit 366ac39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neo/rawio/openephysrawio.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def _parse_header(self):

if channel_has_gaps:
# protect against strange timestamp block like in file 'OpenEphys_SampleData_3' CH32
assert np.median(diff) == RECORD_SIZE, f"This file has non valid data block size for channel {chan_id}, this case cannot be handle"
assert np.median(diff) == RECORD_SIZE, f"This file has a non valid data block size for channel {chan_id}, this case cannot be handled"

if seg_index == 0:
# add in channel list
Expand Down

0 comments on commit 366ac39

Please sign in to comment.