Skip to content

Commit

Permalink
another
Browse files Browse the repository at this point in the history
  • Loading branch information
drammock committed Dec 31, 2024
1 parent 2ec0ddc commit fae0ead
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/convert_group_studies.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
run_map = dict(zip(runs, range(1, 4)))

for subject_id in subject_ids:
eegbci.load_data(subject=subject_id, runs=runs, update_path=True)
eegbci.load_data(subjects=subject_id, runs=runs, update_path=True)

# get path to MNE directory with the downloaded example data
mne_data_dir = mne.get_config("MNE_DATASETS_EEGBCI_PATH")
Expand Down Expand Up @@ -81,7 +81,7 @@
bids_list = list()
for subject_id in subject_ids:
for run in runs:
raw_fname = eegbci.load_data(subject=subject_id, runs=run)[0]
raw_fname = eegbci.load_data(subjects=subject_id, runs=run)[0]
raw = mne.io.read_raw_edf(raw_fname)
raw.info["line_freq"] = 50 # specify power line frequency
raw_list.append(raw)
Expand Down

0 comments on commit fae0ead

Please sign in to comment.