Hi Doug

Thanks.  
Generated a new one.. its ok now.. 

Cheers

Rajeev


Thu Aug 16 11:18:49 EDT 2012
Hi Rajeev, did you look in that file to see if there is anything in it? 
You can try regenerating the file with
recon-all -s subject -segstats
doug

On 08/16/2012 08:19 AM, rajeev krishnadas wrote:
> Hi
> Please help..
> I am getting this error message on QDEC when trying to generate stats 
> table.
>
> /asegstats2table --common-segs --meas volume --tablefile 
> /usr/local/freesurfer/subjects/qdec/stats_tables/aseg.volume.stats.dat 
> --statsfile=aseg.stats --subjects a01 a02 a03 a04 a05 a06 a07 a08 a09 
> a11 a12 a13 a14 a15 a16 a17 a18 a19 a20 a21 p01 p03 p04 p05 p07 p08 
> p09 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 p20 p21/
> /SUBJECTS_DIR : /usr/local/freesurfer/subjects/
> /Parsing the .stats files/
> /ERROR: The stats file 
> /usr/local/freesurfer/subjects/a01/stats/aseg.stats is not found or is 
> too small to be a valid statsfile/
> /Use --skip flag to automatically skip bad stats files/
> /ERROR: In 
> /usr/pubsw/packages/KWWidgets/CVS-vtk560/KWWidgets/vtkKWTkUtilities.cxx, 
> line 230/
> /vtkKWQdecApp (0x2852ad20): /
> /    Script: /
> /vtkTemp2 GenerateStatsDataTables/
> /    Returned Error on line 1: /
> /Uncaught exception: command failed: asegstats2table --common-segs 
> --meas volume --tablefile 
> /usr/local/freesurfer/subjects/qdec/stats_tables/aseg.volume.stats.dat 
> --statsfile=aseg.stats --subjects a01 a02 a03 a04 a05 a06 a07 a08 a09 
> a11 a12 a13 a14 a15 a16 a17 a18 a19 a20 a21 p01 p03 p04 p05 p07 p08 
> p09 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 p20 p21/
> /
> /
> /Stack trace: /
> /Uncaught exception: command failed: asegstats2table --common-segs 
> --meas volume --tablefile 
> /usr/local/freesurfer/subjects/qdec/stats_tables/aseg.volume.stats.dat 
> --statsfile=aseg.stats --subjects a01 a02 a03 a04 a05 a06 a07 a08 a09 
> a11 a12 a13 a14 a15 a16 a17 a18 a19 a20 a21 p01 p03 p04 p05 p07 p08 
> p09 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 p20 p21/
> /
> /
> /    while executing/
> /"vtkTemp2 GenerateStatsDataTables"/
>
>
> However, the aseg.stats file is in place for a01.
>
> I have run these before, but recently i ran a hippo-subfields on a01. 
> I wonder if that has anything to do with this!!
>
> I wonder if there is a work around.
>
>
> Cheerio
>
>
> -- 
> Dr Rajeev Krishnadas MBBS, MD, DipNB, MRCpsych
> Clinical Lecturer
> Sackler Institute of Psychobiological Research
> Southern General Hospital,
> Glasgow
> G51 4TF
>
> *http://tinyurl.com/67ah4vk*
> *http://tinyurl.com/cwec6mf*