Skip to content

Commit

Permalink
yet another typo
Browse files Browse the repository at this point in the history
  • Loading branch information
h-mayorquin committed May 30, 2024
1 parent 8fc1955 commit 7a53c7e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions neo/rawio/intanrawio.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class IntanRawIO(BaseRawIO):
ignore_integrity_checks: bool, default: False
If True, data that violates integrity assumptions will be loaded. At the moment the only integrity
check we perform is that timestamps are continuous. Setting this to True will ignore this check and set
the attribute `discontinous_timestamps` to True if the timestamps are not continous. This attribute can be checked
the attribute `discontinuous_timestamps` to True if the timestamps are not continous. This attribute can be checked
after parsing the header to see if the timestamps are continuous or not.
Notes
-----
Expand Down Expand Up @@ -88,7 +88,7 @@ def __init__(self, filename="", ignore_integrity_checks=False):
BaseRawIO.__init__(self)
self.filename = filename
self.ignore_integrity_checks = ignore_integrity_checks
self.discontinous_timestamps = False
self.discontinuous_timestamps = False


def _source_name(self):
Expand Down Expand Up @@ -192,7 +192,7 @@ def _parse_header(self):
discontinuous_timestamps = np.diff(timestamp) != 1
timestamps_are_not_contiguous = np.any(discontinuous_timestamps)
if timestamps_are_not_contiguous:
self.discontinous_timestamps = True
self.discontinuous_timestamps = True
if not self.ignore_integrity_checks:
error_msg = (
"Timestamps are not continuous, this could be due to a corrupted file or an inappropriate file merge. "
Expand Down

0 comments on commit 7a53c7e

Please sign in to comment.