Reply To: bdp problem with nii.gz on windows

#104
steso
Participant

I can open the T1 in BrainSuite without any problems, also in mricron or unzip it with 7-zip, no problem. The error occurs when running the distortion correction in bdp:

bdp.exe t1.bfc.nii.gz –nii dwi.nii –bmat table.mat –dwi-mask mask.nii

Reading input flags…

Checking input files…
Error using gunzip>gunzipwrite (line 184)
File “t1.bfc.nii.gz” is not in GZIP format.

Error in gunzip>gunzipEntries (line 122)

Error in gunzip (line 64)

Error in load_untouch_nii_gz (line 53)

Error in check_nifti_file (line 40)

Error in bdp_setup (line 745)

Error in BrainSuite_Diffusion_pipeline (line 14)

MATLAB:gunzip:notGzipFormat

Best

Stefan