do you have gzip installed on your system? It's pretty universal these days.
cheers, Bruce
On Fri, 16 Jan 2009, Barnali Basu wrote:
HI
I am trying to convert a .nii file to .mgz , however, it throws the following when i run it mri_convert -it nii -i NAG_S3_anatomical_CLEAN.nii.gz -ot mgz -o anat.mgz mri_convert -it nii -i NAG_S3_anatomical_CLEAN.nii.gz -ot mgz -o anat.mgz $Id: mri_convert.c,v 1.146.2.3 2008/08/11 22:18:58 nicks Exp $ reading from NAG_S3_anatomical_CLEAN.nii.gz... INFO: using NIfTI-1 qform TR=0.00, TE=0.00, TI=0.00, flip angle=0.00 i_ras = (1, 0, 0) j_ras = (0, 1, 0) k_ras = (0, 0, 1) writing to anat.mgz... sh: gzip: not found Broken pipe barnali-work:/usr/local/freesurfer/subjects/bert>
could you throw some light on this? FYI, I have converted a .vmr (from Brainvoyager) to .nii and wanting to convert it to .mgz so that i can work with it on Freesurfer.
Thanks Barnali Basu