Skip to content

Commit

Permalink
preload Schirrmsister2017 - Fixes NeuroTechX#289
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreGtch committed May 9, 2022
1 parent d4305c4 commit 333925c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions moabb/datasets/schirrmeister2017.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ def _url(prefix):
for t in ["train", "test"]
]

def _get_single_subject_data(self, subject):
def _get_single_subject_data(self, subject, preload=True):
train_raw, test_raw = [
mne.io.read_raw_edf(path, infer_types=True)
mne.io.read_raw_edf(path, infer_types=True, preload=preload)
for path in self.data_path(subject)
]

Expand Down

0 comments on commit 333925c

Please sign in to comment.