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

Error in downloading: " urlopen error [Errno 60] Operation timed out " #15

Open
Jeansma opened this issue Jun 18, 2018 · 11 comments
Open

Comments

@Jeansma
Copy link

Jeansma commented Jun 18, 2018

Hi,
I tried to run the "download_abide_preproc.py" script to download ABIDE preprocessed data from S3, but met the following error:
urllib.error.URLError: <urlopen error [Errno 60] Operation timed out>
I am wondering if the given url is still working? Or is there any update for that?

Any suggestion or comment is much appreciated!

Thank you!
Guixiang

@anibalsolon
Copy link
Member

anibalsolon commented Jun 18, 2018 via email

@AbdelbassetBrahim
Copy link

Hi,
I used the "download_abide_preproc.py" script to download ABIDE preprocessed, as following, for CMU site: python download_abide_preproc_up.py -d func_preproc -p cpac -s filt_global -o /path for data -t CMU
However the resulting files are not for all the subjects in the site and there are several error messages:"Error extracting info from phenotypic file, skipping..."
I tried for other sites also and the number of downloaded files always less than the number of subjects.
I used also the fetch_abide_pcp function in nilearn and I did not get all the subjects for each site.
Could you please provide me a script to download all the subjects for each site.
Thank you in advance.

@anibalsolon
Copy link
Member

anibalsolon commented Jan 20, 2019 via email

@anibalsolon
Copy link
Member

anibalsolon commented Jan 20, 2019

Just found out that they already have the site filter, but it is not clear on the documentation.

For example, this python command will download your data into "/tmp":

nilearn.datasets.fetch_abide_pcp('/tmp',
                                 derivatives=['func_preproc'],
                                 pipeline='cpac',
                                 band_pass_filtering=True,
                                 global_signal_regression=True,
                                 SITE_ID=['NYU'])

@AbdelbassetBrahim
Copy link

AbdelbassetBrahim commented Jan 20, 2019

Hi Anibal,
Thank you for your replies. Yes I used at the end the fetch_abide_pcp function from nilearn to download the preprocessed data of Abide I according to each site but always the number of downloaded data (preprocessed by capc) for the subjects is less than the number of subjects presented in this link:
http://fcon_1000.projects.nitrc.org/indi/abide/abide_I.html
for instance, I got 871 preprocessed data for all the subjects however the number of subjects for all the sites is more than 1000 subjects.

@anibalsolon
Copy link
Member

It is probably because of the quality control.

You can disable the quality control with the option quality_checked=False.

@Devika-k
Copy link

Devika-k commented Oct 3, 2019

@Jeansma @anibalsolon @AbdelbassetBrahim @czarrar @pbellec

Recently I have downloaded ABIDE 1 Preprocessed dataset by fetching it from “Nilearn”.
pipeline: cpac
derivatives: func_preproc

The code is here

abide_dataset = nilearn.datasets.fetch_abide_pcp(data_dir=’/content/ABIDE’, n_subjects=None, pipeline=‘cpac’, band_pass_filtering=True, global_signal_regression=True, derivatives=[‘func_preproc’], quality_checked=False, verbose=1)

By disabling the quality control parameter I was able to download fMRI images of only 1035 subjects… In the phenotype information (CSV file) remaining 77 subjects file_name was mentioned as no_filename…

Does these subjects have only phenotype information (no fMRI images)?
Does the number of subject’s (fMRI images) depends on the choice of pipeline and derivative?
Is it possible to download fMRI images of 1112 subjects using nilearn?

It will be of great help if any one can give a clarification

@AbdelbassetBrahim
Copy link

AbdelbassetBrahim commented Oct 3, 2019 via email

@Devika-k
Copy link

Devika-k commented Oct 3, 2019

@AbdelbassetBrahim
Thanks for your reply..
Is it possible to download fMRI images of 1112 subjects other than using nilearn?

@AbdelbassetBrahim
Copy link

You can try this python script and see: download_abide_preproc.py

@Pranjali87
Copy link

hi, while downloading abide dataset using fetch_abide_pcp , I am getting connection error in between .
after PITT, in OLIN id I am getting error.
I tried 3 times but every time I got connection error from host.
can anybody please help me ?

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

5 participants