Skip to content

Commit 6ed57f5

Browse files
authored
try fix for docs (nirs example) (#1050)
try fix
1 parent 46da987 commit 6ed57f5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/convert_nirs_to_bids.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
# %%
2626
# We are importing everything we need for this example:
2727
import os.path as op
28+
import pathlib
2829
import shutil
2930

3031
import mne
@@ -43,7 +44,7 @@
4344
# We will use the MNE-NIRS package which includes convenient functions to
4445
# download openly available datasets.
4546

46-
data_dir = mne_nirs.datasets.fnirs_motor_group.data_path()
47+
data_dir = pathlib.Path(mne_nirs.datasets.fnirs_motor_group.data_path())
4748

4849
# Let's see whether the data has been downloaded using a quick visualization
4950
# of the directory tree.

0 commit comments

Comments
 (0)