Hi,
do you happen to use Freesurfer version 5.3 or maybe earlier?
It seems to me that in the 5.3 version empty lines in the qdec-long file (sub_long.dat in your case) were not skipped by the mris_preproc script, hence the 'nsubjects = 80' message although there are only 79 "subjects" (time-points, to be precise) in your sub_long.dat file.
This does not occur anymore in the 6.0 version.
I suppose the problem can be solved by removing the trailing empty line in your sub_long.dat file.
Please let us know if you are using a newer version than 5.3, since then we need to look for something else.
Best regards,
Kersten
-----Original Message----- From: lanbo Wang drrambow@gmail.com Reply-to: Freesurfer support list freesurfer@nmr.mgh.harvard.edu To: Freesurfer support list freesurfer@nmr.mgh.harvard.edu Subject: [Freesurfer] Linear Mixed Effect Modle Date: Sat, 20 Jan 2018 21:00:44 +0100
Hi, all experts.
When I try to use LME model. There is a code "mris_preproc --qdec-long qdec.table.dat --target fsaverage --hemi lh --meas thickness --out lh.thickness.mgh" in LME tutorials website under "b)Mass-univariate". When I ran it, error happened: """ [mtobia@localhost PD]$ mris_preproc --qdec-long $SUBJECTS_DIR/sub_long.dat --target fsaverage --hemi lh --meas thickness --out lh.thickness.long.mgh nsubjects = 80 ERROR: cannot find /HD4/PD/Patients_Symptom//.long. """ And I already check the file name, The folder name match <fsid>.long.<fsid_base>. What should I do now? Thanks for your help.
Best, Lanbo