Hi all, What's wrong with my QDEC? Today, I use the FeeSurfer Tutorial: Surface Group Analysis with Qdec to analysis my data , when I carried out to '' Stats Data Import'', I press the 'Generate Stats Data Tables' button, but something happend to with a error(red letters ):
mkdir -p /usr/local/freesurfer/subjects/qdec/stats_tables/
---------------------------------------------------------- asegstats2table --meas volume --tablefile /usr/local/freesurfer/subjects/qdec/stats_tables/aseg.volume.stats.dat --subjects test1 chen_yu_an /usr/local/freesurfer/bin/asegstats2table:5: DeprecationWarning: the sets module is deprecated from sets import Set Building the table.. SUBJECTS_DIR : /usr/local/freesurfer/subjects Traceback (most recent call last): File "/usr/local/freesurfer/bin/asegstats2table", line 406, in <module> (rows, cols, table) = build_table(options) File "/usr/local/freesurfer/bin/asegstats2table", line 322, in build_table table[statno+subname][segid] = float(strlst[seg2statcol_map[o.meas]]) ValueError: invalid literal for float(): Volume_mm3 ERROR: In /usr/pubsw/packages/KWWidgets/CVS/src/KWWidgets/vtkKWTkUtilities.cxx, line 230 vtkKWQdecApp (0xa562cb8): Script: vtkTemp3 GenerateStatsDataTables Returned Error on line 1: Uncaught exception: command failed: asegstats2table --meas volume --tablefile /usr/local/freesurfer/subjects/qdec/stats_tables/aseg.volume.stats.dat --subjects test1chen_yu_an
Stack trace: Uncaught exception: command failed: asegstats2table --meas volume --tablefile /usr/local/freesurfer/subjects/qdec/stats_tables/aseg.volume.stats.dat --subjects test1 chen_yu_an
while executing "vtkTemp3 GenerateStatsDataTables"
What does this mean? How do I do to solve this ????
Thank you
LJ
from the error output shown, the problem appears to occur in the aparcstats2table script (line 322). its failing to parse a float.
which version of freesurfer is being used? (type 'bugr' for this info) and which version of python? (type 'python -V')
also, try running:
asegstats2table --meas volume \ --tablefile test1.out --subjects test1
and then:
asegstats2table --meas volume \ --tablefile chen.out --subjects chen_yu_an
and see if either one works. i suspect either the aseg.stats file in one or the other is corrupted, or there's a problem with the python version on your system (its known to work with python v2.3.4).
n.
On Fri, 2009-12-18 at 19:12 +0800, liyari5018 wrote:
Hi all, What's wrong with my QDEC? Today, I use the FeeSurfer Tutorial: Surface Group Analysis with Qdec to analysis my data , when I carried out to '' Stats Data Import'', I press the 'Generate Stats Data Tables' button, but something happend to with a error(red letters ):
mkdir -p /usr/local/freesurfer/subjects/qdec/stats_tables/
asegstats2table --meas volume --tablefile /usr/local/freesurfer/subjects/qdec/stats_tables/aseg.volume.stats.dat --subjects test1 chen_yu_an /usr/local/freesurfer/bin/asegstats2table:5: DeprecationWarning: the sets module is deprecated from sets import Set Building the table.. SUBJECTS_DIR : /usr/local/freesurfer/subjects Traceback (most recent call last): File "/usr/local/freesurfer/bin/asegstats2table", line 406, in
<module> (rows, cols, table) = build_table(options) File "/usr/local/freesurfer/bin/asegstats2table", line 322, in build_table table[statno+subname][segid] = float(strlst[seg2statcol_map[o.meas]]) ValueError: invalid literal for float(): Volume_mm3 ERROR: In /usr/pubsw/packages/KWWidgets/CVS/src/KWWidgets/vtkKWTkUtilities.cxx, line 230 vtkKWQdecApp (0xa562cb8): Script: vtkTemp3 GenerateStatsDataTables Returned Error on line 1: Uncaught exception: command failed: asegstats2table --meas volume --tablefile /usr/local/freesurfer/subjects/qdec/stats_tables/aseg.volume.stats.dat --subjects test1 chen_yu_an
Stack trace: Uncaught exception: command failed: asegstats2table --meas volume --tablefile /usr/local/freesurfer/subjects/qdec/stats_tables/aseg.volume.stats.dat --subjects test1 chen_ yu_an
while executing"vtkTemp3 GenerateStatsDataTables"
What does this mean? How do I do to solve this ????
Thank you
LJ
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu