Currently, the code only allows for the download files with the extension of '.nii.gz'. However, some datasets may not have gzipped the niftis, and thus those datasets don't get downloaded.
I've added a simple 'or' statement to include non-gzipped niftis (i.e. '.nii'). Tested and it seems to work on the dataset originally giving me issues.
Currently, the code only allows for the download files with the extension of '.nii.gz'. However, some datasets may not have gzipped the niftis, and thus those datasets don't get downloaded.
I've added a simple 'or' statement to include non-gzipped niftis (i.e. '.nii'). Tested and it seems to work on the dataset originally giving me issues.