Dear Bruce and freesurfer experts,
I am trying to use mri_average_subjects, but encountered the error: mghRead(/fullpath/surf/lh.inflated.H, -1): could not open file. .
Then I tried mri_info subject/surf/lh.inflated.H , and it worked.
But when I tried mri_info $(readlink -f subject/surf/lh.inflated.H) , the same error information is told.
Besides, I tried the same command to the downloaded buckner_data and no error happened.
How to fix this?
The following information is from bugr: FREESURFER_HOME: /usr/local/freesurfer Build stamp: freesurfer-Linux-centos4_x86_64-stable-pub-v5.1.0 RedHat release: Red Hat Enterprise Linux Server release 6.3 (Santiago) Kernel info: Linux 2.6.32-279.22.1.el6.x86_64 x86_64
Thanks
No one ever encountered this kind of full path problem? recon-all works fine, but recon-all -qcache stopped because of this kind of problem.
Any hint would be appreciated.
Xiaowei
On Wed, Feb 20, 2013 at 5:07 PM, Xiaowei Song dawnwei.song@gmail.comwrote:
Dear Bruce and freesurfer experts,
I am trying to use mri_average_subjects, but encountered the error: mghRead(/fullpath/surf/lh.inflated.H, -1): could not open file. .
Then I tried mri_info subject/surf/lh.inflated.H , and it worked.
But when I tried mri_info $(readlink -f subject/surf/lh.inflated.H) , the same error information is told.
Besides, I tried the same command to the downloaded buckner_data and no error happened.
How to fix this?
The following information is from bugr: FREESURFER_HOME: /usr/local/freesurfer Build stamp: freesurfer-Linux-centos4_x86_64-stable-pub-v5.1.0 RedHat release: Red Hat Enterprise Linux Server release 6.3 (Santiago) Kernel info: Linux 2.6.32-279.22.1.el6.x86_64 x86_64
Thanks
-- Xiaowei Song
The weird problem is solved after I traced a day.
The real problem is that my full path contains dot. After I removed the dot, everything works fine.
Then I guess this maybe some kind of mri_read bug in mriio.c or FreeSurfer file name convention I don't know.
Xiaowei
On Thu, Feb 21, 2013 at 2:04 PM, Xiaowei Song dawnwei.song@gmail.comwrote:
No one ever encountered this kind of full path problem? recon-all works fine, but recon-all -qcache stopped because of this kind of problem.
Any hint would be appreciated.
Xiaowei
On Wed, Feb 20, 2013 at 5:07 PM, Xiaowei Song dawnwei.song@gmail.comwrote:
Dear Bruce and freesurfer experts,
I am trying to use mri_average_subjects, but encountered the error: mghRead(/fullpath/surf/lh.inflated.H, -1): could not open file. .
Then I tried mri_info subject/surf/lh.inflated.H , and it worked.
But when I tried mri_info $(readlink -f subject/surf/lh.inflated.H) , the same error information is told.
Besides, I tried the same command to the downloaded buckner_data and no error happened.
How to fix this?
The following information is from bugr: FREESURFER_HOME: /usr/local/freesurfer Build stamp: freesurfer-Linux-centos4_x86_64-stable-pub-v5.1.0 RedHat release: Red Hat Enterprise Linux Server release 6.3 (Santiago) Kernel info: Linux 2.6.32-279.22.1.el6.x86_64 x86_64
Thanks
-- Xiaowei Song
-- Xiaowei Song
freesurfer@nmr.mgh.harvard.edu