Nilearn datasets.fetch_atlas_yeo_2011() error


#1

Hi all,

I’m running datasets.fetch_atlas_yeo_2011() and get the following error:

URLError: <urlopen error ftp error: [Errno ftp error] 550 Failed to change directory.| Error while fetching file Yeo_JNeurophysiol11_MNI152.zip; dataset fetching aborted.>

Not sure if this is an issue on Nilearn’s side or of it’s something to do with my computer?

Thank you in advance!


#2

For those looking for an answer,

The FTP URL for the yeo_2011 dataset is incorrect in nilearn. To download the yeo_2011 atlas, you’ll have to manually enter the URL, like so:

datasets.fetch_atlas_yeo_2011(data_dir=[path], url=‘ftp://surfer.nmr.mgh.harvard.edu/pub/data/archive/Yeo_JNeurophysiol11_MNI152.zip’)


#3

Thanks for reporting this (and the solution !) @ryanhucla ! I wonder if the renaming happened when the Freesurfer server crashed a few weeks back.

I’m not sure if the better course of action is to ask the Freesurfer folks about the file path or to update nilearn…

Elizabeth