Hi JeeSu
if you look at the help for mris_convert, you'll see this example:

Convert a scalar overlay file in "curv" format to ascii:
  mris_convert -c lh.thickness lh.white lh.thickness.asc

which you should follow

cheers
Bruce

On Wed, 3 Jul 2019, Jee Su Suh wrote:


        External Email - Use Caution        

Hello,

I am trying to convert ascii files containing vertex-wise thickness data into 
binary curvature files
for subsequent smoothing and input into mri_glmfit. The command I used is:

mris_convert lh.test.asc lh.test.thickness


But then get the following error:

ERROR: MRISalloc: nfaces=-5 < 0


No such file or directory


I'm not sure what file or directory the error message is referring to, nor what 
the meaning of
nfaces is. I am running version 6.0 on macOS Mojave. I have also attached a 
truncated version of the
ascii file for inspection purposes (the whole thing was too big), which was 
converted from a csv
that was generated by a python script correcting for site effects. This script 
took in as input the
original ascii converted from the original lh.thickness file using 
mris_convert. The coordinates
correspond to the fsaverage template (~160k vertices in the whole file).

Thanks in advance for any guidance,

--
J
PhD. Student, Graduate Neuroscience Program
McMaster University
su...@mcmaster.ca


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

Reply via email to