Skip to content

Commit d16fd4c

Browse files
author
sprenger
committed
[EDF] add close method for file closing.
1 parent c250c09 commit d16fd4c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

neo/rawio/edfrawio.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,3 +222,6 @@ def _rescale_event_timestamp(self, event_timestamps, dtype, event_channel_index)
222222

223223
def _rescale_epoch_duration(self, raw_duration, dtype, event_channel_index):
224224
return None
225+
226+
def close(self):
227+
self.edf_reader.close()

0 commit comments

Comments
 (0)