Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bruAristimunha opened this issue Feb 8, 2025 · 0 comments

Comments

@bruAristimunha
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant