moabb icon indicating copy to clipboard operation
moabb copied to clipboard

MNE_DATA problems accessing mne_data (especially problematic with parallelization and first run)

Open bruAristimunha opened this issue 9 months ago • 0 comments
trafficstars

At the moment, we have some problems with the access of the mne_data variable. It does not work properly.

This affects not only the download but also the result.

Traceback (most recent call last): File "/home/runner/work/moabb/moabb/examples/plot_Hinss2021_classification.py", line 145, in evaluation = CrossSessionEvaluation( File "/home/runner/work/moabb/moabb/moabb/evaluations/base.py", line 174, in init self.results = Results( File "/home/runner/work/moabb/moabb/moabb/analysis/results.py", line 94, in init self.mod_dir = _get_path(None, "MOABB_RESULTS", "results") File "/home/runner/work/moabb/moabb/.venv/lib/python3.9/site-packages/mne/datasets/utils.py", line 112, in _get_path raise FileNotFoundError(msg) FileNotFoundError: Download location /home/runner/mne_data as specified by MNE_DATA does not exist. Either create this directory manually and try again, or set MNE_DATA to an existing directory.

This is especially problematic when we parallelize more intensively.

bruAristimunha avatar Feb 08 '25 20:02 bruAristimunha