mne-tools / mne-bids-pipeline

Automatically process entire electrophysiological datasets using MNE-Python.
https://mne.tools/mne-bids-pipeline/
BSD 3-Clause "New" or "Revised" License
138 stars 66 forks source link

ValueError: Extension .xlsx is not allowed. #944

Closed SophieHerbst closed 5 months ago

SophieHerbst commented 5 months ago

I am trying to write a script to read the xlsx files generated in _05_decoding_csp.py

I copied and adjusted my code from the above script, but I get the following error: ValueError: Extension .xlsx is not allowed.

What am I missing?

fname_decoding = bids_path.copy().update(subject=subject,
                        session=None,
                        task=task,
                        datatype=datatype,
                        processing=processing, 
                        suffix="decoding", 
                        extension=".xlsx"
            )

I am on the latest stable for mne, mne-bids, and the pipeline.

hoechenberger commented 5 months ago

pass check=False, that should fix it

SophieHerbst commented 5 months ago

thank you, it does!