Skip to content

Commit

Permalink
fix for latest MNE-Python
Browse files Browse the repository at this point in the history
  • Loading branch information
drammock committed Dec 31, 2024
1 parent ad98d7b commit 2ec0ddc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/convert_eeg_to_bids.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
# to the "eyes closed" task.
subject = 1
run = 2
eegbci.load_data(subject=subject, runs=run, update_path=True)
eegbci.load_data(subjects=subject, runs=run, update_path=True)

# %%
# Let's see whether the data has been downloaded using a quick visualization
Expand Down Expand Up @@ -94,7 +94,7 @@
# It prevents the data from being loaded and modified when converting to BIDS.

# Load the data from "2 minutes eyes closed rest"
edf_path = eegbci.load_data(subject=subject, runs=run)[0]
edf_path = eegbci.load_data(subjects=subject, runs=run)[0]
raw = mne.io.read_raw_edf(edf_path, preload=False)
raw.info["line_freq"] = 50 # specify power line frequency as required by BIDS

Expand Down

0 comments on commit 2ec0ddc

Please sign in to comment.