Hi,
I was trying to use the following script to map volume data to surface, but got some errors.
3dVol2Surf -spec ${wf}/${s}/anat/surface_info/SUMA/${s}_lh.spec \
-surf_A smoothwm \
-surf_B pial \
-sv ${s}_surf_volm_aligned+orig \
-grid_parent r06_detrend.nii.gz \
-map_func ave \
-f_steps 10 \
-f_index nodes \
-out_niml ${wf}/${s}/${thesession}/${thecond}/${s}_lvol2surf.niml.dset
Error SUMA_WriteDset_eng (suma_datasets.c:11050):
Failed to open stream
Error SUMA_WriteDset_eng (suma_datasets.c:102):
Failed to write niml element
Error SUMA_WriteDset_eng (suma_datasets.c:103):
Failed writing dataset.
I think there might be something wrong with the dataset of -sv or -grid_partent, but I'm not sure and I don't know how to fix the errors. Could anyone give me some tips? Thanks in advance !