You may have a slightly older version of mris_preproc (I fixed --srcfmt on June 26). I've put a new version here:
ftp://surfer.nmr.mgh.harvard.edu/transfer/outgoing/flat/greve/mris_preproc
Can you try it out?
Marie Schaer wrote:
Some more precisions:
When I launch mris_preproc with the --srcfmt flag, like that: mris_preproc --fsgd fsgdf.txt --target myaverage --hemi lh --meas myvector --srcfmt mgh --out lh.diagnosis_myvector.mgh it returns: ERROR: cannot find /Applications/freesurfer/subjects/subj1/lh.myvector
So I launched mris_preproc without the --srcfmt flag, i.e.: mris_preproc --fsgd fsgdf.txt --target myaverage--hemi lh --meas myvector.mgh --out lh.diagnosis_myvector.mgh which actually calls: mri_surf2surf --hemi lh --srcsubject subj1 --sval /Applications/ freesurfer/subjects/subj1/surf/lh.myvector.mgh --sfmt curv -- trgsubject myaverage --tval ./tmp.mris_preproc.1281/subj1.mgh -- noreshape
where the --sfmt curv in mri_surf2surf seems key to the problem, because the same mri_surf2surf commandline works fine with --sfmt mgh
... So, could it be that mris_preproc does not accept the format -- srcfmt mgh for a curvature format?
Many thanks!
Marie