Retain SUMA vertex # using 3dmaskdump

Hi Daniel,

Thank you for the explanation! Since I am using -closest_node and passing in a single input vector, I had assumed that's what it meant. However, I only passed in ~100 nodes, so it cannot be node number 342. I can only guess that means I'm doing something else incorrectly.

I followed @rickr 's suggestion here: Surf2VolCoord error - #8 by rickr

and using this restricted list of coordinates stored in '1_rh_cluster_xyz.1D', I'm running

Surf2VolCoord -i_vec 1_rh_cluster_xyz.1D 1_rh_cluster_xyz.1D -prefix 'closest' -closest_node '-21.0749 29.4453 27.8018'

As per Rick's comment about the mesh not being important, I used the same list as the mesh input. Even though I get a "valid" output from the command, the node index exceeds the input list and I get the following error:

Fatal Signal 11 (SIGSEGV) received
SUMA_SurfNorm
SUMA_PrepSO_GeomProp_GL
SUMA_Load_Surface_Object_eng
SUMA_Load_Spec_Surf
Surf2VolCoord_demo
Bottom of Debug Stack
** AFNI version = AFNI_24.0.02 Compile date = Jan 23 2024
** [[Precompiled binary macos_13_ARM_clang: Jan 23 2024]]
** Program Death **
** If you report this crash to the AFNI message board,
** please copy the error messages EXACTLY, and give
** the command line you used to run the program, and
** any other information needed to repeat the problem.
** You may later be asked to upload data to help debug.
** Crash log is appended to file /Users/srinivasanl2/.afni.crashlog

Thank you in advance for any suggestions!