Skip to content

Commit c115fd0

Browse files
committed
FIX: Paths
1 parent 828cd64 commit c115fd0

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

mne/io/snirf/tests/test_snirf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -588,6 +588,7 @@ def test_sample_rate_jitter(tmp_path):
588588
read_raw_snirf(new_file, verbose=True)
589589

590590

591+
@requires_testing_data
591592
def test_snirf_multiple_wavelengths():
592593
"""Test importing synthetic SNIRF files with >=3 wavelengths."""
593594
raw = read_raw_snirf(labnirs_multi_wavelength, preload=True)

mne/preprocessing/nirs/tests/test_scalp_coupling_index.py

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,14 @@
1515
scalp_coupling_index,
1616
)
1717

18-
fname_nirx_15_0 = (
19-
data_path(download=False) / "NIRx" / "nirscout" / "nirx_15_0_recording"
20-
)
21-
fname_nirx_15_2 = (
22-
data_path(download=False) / "NIRx" / "nirscout" / "nirx_15_2_recording"
23-
)
18+
testing_path = data_path(download=False)
19+
fname_nirx_15_0 = testing_path / "NIRx" / "nirscout" / "nirx_15_0_recording"
20+
fname_nirx_15_2 = testing_path / "NIRx" / "nirscout" / "nirx_15_2_recording"
2421
fname_nirx_15_2_short = (
25-
data_path(download=False) / "NIRx" / "nirscout" / "nirx_15_2_recording_w_short"
22+
testing_path / "NIRx" / "nirscout" / "nirx_15_2_recording_w_short"
2623
)
2724
fname_labnirs_multi_wavelength = (
28-
data_path(download=False) / "SNIRF" / "Labnirs" / "labnirs_3wl_raw_recording.snirf"
25+
testing_path / "SNIRF" / "Labnirs" / "labnirs_3wl_raw_recording.snirf"
2926
)
3027

3128

0 commit comments

Comments
 (0)