I just recently followed the steps to install Freesurfer on my Mac. The
installation initially seems to have gone fine, but when I try to test the
installation by using the listed "Example 1: Convert the sample-001.mgz to
nifti format," I get the following error:

-------- freesurfer-Darwin-OSX-stable-pub-v6.0.0-2beb96c --------

Setting up environment for FreeSurfer/FS-FAST (and FSL)

FREESURFER_HOME   /Applications/freesurfer

FSFAST_HOME       /Applications/freesurfer/fsfast

FSF_OUTPUT_FORMAT nii.gz

SUBJECTS_DIR      /Applications/freesurfer/subjects

MNI_DIR           /Applications/freesurfer/mni

scott-pruetts-computer:~ scottpruett$ cp
$FREESURFER_HOME/subjects/sample-001.mgz

usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file target_file

       cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file ...
target_directory

scott-pruetts-computer:~ scottpruett$ mri_convert sample-001.mgz
sample-001.nii.gz

mri_convert.bin sample-001.mgz sample-001.nii.gz

$Id: mri_convert.c,v 1.226 2016/02/26 16:15:24 mreuter Exp $

reading from sample-001.mgz...

mghRead(/Users/scottpruett/sample-001.mgz, -1): could not open file

scott-pruetts-computer:~ scottpruett$


Any ideas about what I should do to remedy this?


Thanks,


Scott

-- 
Scott Pruett, M.D., Ph.D.
General Psychiatry and R25 Research Track Resident, PGY4
Department of Psychiatry and Human Behavior
Warren Alpert Medical School of Brown University
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

Reply via email to