Skip to content

Commit 3b2e6c9

Browse files
authored
file path update (#10897)
1 parent b3983fc commit 3b2e6c9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tutorials/io/30_reading_fnirs_data.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@
159159

160160
# %%
161161

162-
import os.path as op
163162
import numpy as np
164163
import pandas as pd
165164
import mne
@@ -251,7 +250,7 @@
251250
# The ficiduals are marked in blue, green and red.
252251
# See :ref:`tut-source-alignment` for more details.
253252

254-
subjects_dir = op.join(mne.datasets.sample.data_path(), 'subjects')
253+
subjects_dir = mne.datasets.sample.data_path() / 'subjects'
255254
mne.datasets.fetch_fsaverage(subjects_dir=subjects_dir)
256255

257256
brain = mne.viz.Brain('fsaverage', subjects_dir=subjects_dir,

0 commit comments

Comments
 (0)