Dear Freesurfer Developers, I was trying to use the recon-all -autorecon1 -subjid bert and got an error. When I checked I found the error was coming while executing the below command: nu_correct -clobber ./tmp.mri_nu_correct.mni.7555/nu0.mnc ./tmp.mri_nu_correct.mni.7555/nu1.mnc -tmpdir ./tmp.mri_nu_correct.mni.7555/0/ -iterations 1000 -distance 50
When I executed the command separately I got below error message:
Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at /usr/local/freesurfer/mni/bin/nu_estimate_np_and_em line 165. nu_correct: crashed while running nu_estimate_np_and_em (termination status=65280) ERROR: nu_correct
Can you please suggest why the error is coming and how to remove it. Many thanks Sarbani