[Mne_analysis] Issue with example in mne.datasets.eegbci.data_path()
Ramiro Gatti
rgatti at ingenieria.uner.edu.ar
Fri Mar 6 10:25:50 EST 2020
External Email - Use Caution
Hello,
I am trying to run a script based on the example in method data_path from
mne.datasets.eegbci:
>>> import os
>>> from mne.datasets import eegbci
>>>
>>> url = 'https://physionet.org/files/eegmmidb/1.0.0/'
>>> eegbci.data_path(url, os.getenv('HOME') + '/datasets')
and get the following error:
...
File
"/home/user/venv/torch/lib/python3.7/site-packages/mne/utils/fetching.py",
line 173, in _fetch_file
shutil.move(temp_file_name, file_name)
File "/home/user/venv/torch/lib/python3.7/shutil.py", line 564, in move
raise Error("Destination path '%s' already exists" % real_dst)
shutil.Error: Destination path
'/home/user/datasets/MNE-eegbci-data/files/eegmmidb/1.0.0/.part' already
exists
I clarify that the folder did not previously exist.
What could be the problem?
Best regards,
Ramiro Gatti
PhD Fellow
IBB-CONICET
<https://www.conicet.gov.ar/new_scp/detalle.php?id=26815&info_general=yes&inst=yes>
| LIRINS <http://www.ingenieria.uner.edu.ar/grupos/lirins/> | FI
<http://www.ingenieria.uner.edu.ar/>UNER <http://www.uner.edu.ar/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200306/254827ab/attachment.html
More information about the Mne_analysis
mailing list