Hi Rick,
Thanks for your response. With .gii extension, it also does not work. See below for the error. Could I attach the niml dset to somewhere so that you can figure out this issue. Thanks.
Best,
Liang
++++++++++++++++++++++++++++++++++++++++++++++
$tksurfer fsaverage6 rh tmp.gii
subject is fsaverage6
hemi is rh
surface is tmp.gii
surfer: current subjects dir: /Applications/freesurfer/subjects
surfer: not in "scripts" dir ==> using cwd for session root
surfer: session root data dir ($session) set to:
surfer: /Applications/freesurfer/subjects/fsaverage6/surf
checking for nofix files in 'new_probatlas.gii'
Reading image info (/Applications/freesurfer/subjects/fsaverage6)
Reading /Applications/freesurfer/subjects/fsaverage6/mri/orig.mgz
surfer: Reading header info from /Applications/freesurfer/subjects/fsaverage6/mri/orig.mgz
mriseadGIFTIfile: mris is NULL! found when parsing file /Applications/freesurfer/subjects/fsaverage6/surf/rh.tmp.gii
Bus error