Files ending in MGZ appear to be FreeSurfer volume files (see https://surfer.nmr.mgh.harvard.edu/fswiki/FileFormats) and caret_command is unable to read that file format.. Try converting your files to an FreeSurfer’s ASCII format using the FreeSurfer program mris_convert.
While we try to support the Caret5 software, the development of Caret5 stopped many years ago. You may want to consider using the Human Connectome Project’s “Connectome Workbench” software: https://www.humanconnectome.org/software/connectome-workbench John On Dec 3, 2017, at 10:08 PM, Rosa Shishegar <rosita.shishe...@monash.edu<mailto:rosita.shishe...@monash.edu>> wrote: Dear List, I am running into a problem trying to convert a cortical folding measurement saved as a text file into a Caret .metric file format. First, I convert my cortical folding measure to myMeasur.mgz and the surface file into mySyrface.mgz file format. Then I use the following line to the convert a FreeSurfer functional file into a Caret metric file. caret_command -file-convert -fsf2c myMeasur.mgz mySurface.mgz myMeasur.metric The error that I receive is "Functional data found for node with index larger than there are nodes in the surface.” But I double checked and it is not true. My plan is to use the Caret metric file for the Caret command metric smoothing in the next step. It would be so appreciated if you could advise me how should I convert my surface measure to a Caret metric file. Or if I am taking the right steps, how can I fix the error? Thanks, Rosa _______________________________________________ caret-users mailing list firstname.lastname@example.org<mailto:email@example.com> http://brainvis.wustl.edu/mailman/listinfo/caret-users
_______________________________________________ caret-users mailing list firstname.lastname@example.org http://brainvis.wustl.edu/mailman/listinfo/caret-users