MNE-visual_92_categories-data\sample_subject_0_raw-1.fif does not exist

I downloaded the jupyter nobebook from Representational Similarity Analysis — MNE 1.0.3 documentation.

When I run those code,it make a mistake, that indicates
‘ValueError: Split raw file detected but next file C:\Users\18469\mne_data\MNE-visual_92_categories-data\sample_subject_0_raw-1.fif does not exist. Ensure all files were transferred properly and that split and original files were not manually renamed on disk (split files should be renamed by loading and re-saving with MNE-Python to preserve proper filename linkage).’
But i didnt modify the code, everything is similar with example code. then i checked the floder ''visual_92_categories-data", it only have 4 data :
sample_subject_0_tsss_mc.fif;
sample_subject_1_tsss_mc.fif
sample_subject_2_tsss_mc.fif
sample_subject_3_tsss_mc.fif
but not file like ‘sample_subject_0_raw-1.fif’
Is there something wrong? Wondering if anyone can help me :pleading_face:

1 Like

Hello @wht9975, there is indeed a problem with the dataset. To work around this, for now you can just change lines 83–84 in the example from

raws = [read_raw_fif(fname % block, verbose='error')
        for block in range(n_runs)]  # ignore filename warnings

to

raws = [read_raw_fif(fname % block, verbose='error', on_split_missing='warn')
        for block in range(n_runs)]  # ignore filename warnings

to avoid the error.

Best wishes,
Richard

1 Like

Thank you so much for your help :saluting_face: :saluting_face:

1 Like