I tried fslview to open the files --> example error message
** ERROR (nifti_image_read): bad binary header read for file './neuroparc-master/atlases/Human/AAL2zourioMazoyer2002.nii.gz'
read 130 of 348 bytes
** ERROR: nifti_image_open(./neuroparc-master/atlases/Human/AAL2zourioMazoyer2002): bad header info
ERROR: failed to open file ./neuroparc-master/atlases/Human/AAL2zourioMazoyer2002
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.
Failed to open file ./neuroparc-master/atlases/Human/AAL2zourioMazoyer2002
Part of FSL (build 4110)
fslview (4.0.1)
Copyright(c) 2005, University of Oxford
Dave Flitney
Optional arguments (You may optionally specify one or more of):
-V,--verbose switch on diagnostic messages
-h,--help display this message
-m,--mode Initial viewer mode. Comma separated list of: 3d; single, ortho; lightbox
Per-image options
Usage:
image [-l GreyScale] [-t 0.1] [-b 2.3,6]
-l,--lut Lookup table name. As per GUI, one of: Greyscale;
"Red-Yellow"; "Blue-Lightblue"; Red; Green;
Blue; Yellow; Pink; Hot; Cool; Copper, etc.
-b,--bricon Initial bricon range, e.g., 2.3,6
-t,--trans Initial transparency, e.g., 0.2
Also tried to open with register:
** ERROR (nifti_image_read): bad binary header read for file 'yeo-17-liberal_space-MNI152NLin6_res-2x2x2.nii.gz'
read 130 of 348 bytes
** ERROR: nifti_image_open(yeo-17-liberal_space-MNI152NLin6_res-2x2x2.nii.gz): bad header info
and then when I tried gunzip says the
gzip: yeo-7-liberal_space-MNI152NLin6_res-1x1x1.nii.gz: not in gzip format for all the files
Follow up: the issue happened because when I clone the repository or Download it as a zip file the files are corrupt (all of them 130 byte instead the 50-100 Kb)! but I can download them one by one and it works.
I tried fslview to open the files --> example error message ** ERROR (nifti_image_read): bad binary header read for file './neuroparc-master/atlases/Human/AAL2zourioMazoyer2002.nii.gz'
Failed to open file ./neuroparc-master/atlases/Human/AAL2zourioMazoyer2002
Part of FSL (build 4110) fslview (4.0.1)
Copyright(c) 2005, University of Oxford Dave Flitney
Usage: fslview [-m 3d|ortho|lightbox] [-l lutname] [-b low,hi]
[ [-l lutname] [-b low,hi] ] ...
fslview -m ortho,lightbox filtered_func_data thresh_zstat1 -t 0.5 thresh_zstat2 -l "Cool" -t 0.5
Optional arguments (You may optionally specify one or more of): -V,--verbose switch on diagnostic messages -h,--help display this message -m,--mode Initial viewer mode. Comma separated list of: 3d; single, ortho; lightbox
Per-image options
Usage: image [-l GreyScale] [-t 0.1] [-b 2.3,6] -l,--lut Lookup table name. As per GUI, one of: Greyscale; "Red-Yellow"; "Blue-Lightblue"; Red; Green; Blue; Yellow; Pink; Hot; Cool; Copper, etc. -b,--bricon Initial bricon range, e.g., 2.3,6 -t,--trans Initial transparency, e.g., 0.2
Also tried to open with register:
** ERROR (nifti_image_read): bad binary header read for file 'yeo-17-liberal_space-MNI152NLin6_res-2x2x2.nii.gz'
and then when I tried gunzip says the gzip: yeo-7-liberal_space-MNI152NLin6_res-1x1x1.nii.gz: not in gzip format for all the files