What are you trying to do? Just collect/average the ratio maps? If so, then use mris_preproc instead of make_average_surface. You don't actually have a surface there but a surface overaly.

On 1/29/2020 7:19 PM, Gabrielle-Ann Torre wrote:

        External Email - Use Caution        

Hello developers,

I'm attempting to compute a group average of a surface generated using mris_vol2surf. The generated surface is a ratio of T1-T2, as described in Glasser and Van Essen, 2011. Such a surface exists as a symbolic link in each subjects' /surf folder. 

When I apply make_average_surface to a set of subjects, I get the following error:

$Id: make_average_surface,v 1.62 2016/02/16 17:17:20 zkaufman Exp $

Wed Jan 29 19:14:37 EST 2020

/projectnb/perlab/projects/DNAP/brains/alex4

output ddir is /projectnb/perlab/projects/DNAP/brains

uid=323856(gat) gid=275709(perpwm) groups=275709(perpwm),275954(perlab)

====================

make_average_surface

====================

Wed Jan 29 19:14:37 EST 2020

/projectnb/perlab/projects/DNAP/brains/alex4

/share/pkg.7/freesurfer/6.0/install/bin/make_average_surface

--out alex4 --subjects p0110 p0246 --surf-reg surf.t1t2.ratio

input subjects: p0110 p0246

output subject: alex4

mri_add_xform_to_header -c auto /projectnb/perlab/projects/DNAP/brains/alex4/mri/mni305.cor.mgz /projectnb/perlab/projects/DNAP/brains/alex4/mri/mni305.cor.mgz

INFO: extension is mgz


#@# Making lh registration template ---------

/projectnb/perlab/projects/DNAP/brains/alex4

mris_make_template -norot -annot aparc lh surf.t1t2.ratio p0110 p0246 lh.reg.template.tif

not aligning hemispheres before averaging.

zeroing medial wall in aparc

creating new parameterization...


processing subject p0110 (1 of 2)

reading spherical surface /projectnb/perlab/projects/DNAP/brains/p0110/surf/lh.surf.t1t2.ratio...

MRISread(/projectnb/perlab/projects/DNAP/brains/p0110/surf/lh.surf.t1t2.ratio): could not open file

No such file or directory

mris_make_template: could not read surface file /projectnb/perlab/projects/DNAP/brains/p0110/surf/lh.surf.t1t2.ratio

No such file or directory


I have tried this using both "lh.surf.t1t2.ratio" and "surf.t1t2.ratio" as the name of the surface but neither works. I have also tried it with and without the .mgz file extension. 

Not sure what the error is or why my surface is unreadable. Does mris_vol2surf not generate surfaces that can be used as alternate surfaces using the --surf-reg flag? 

Any help would be appreciated!

Best,
Gabrielle

--
Gabrielle-Ann Torre, Ph.D. 

Center for the Study of Learning
Georgetown University Medical Center
Building D, Suite 150
W: 202-687-2823
C: 520-393-9252


_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer