Catherine, Is your SUBJECTS_DIR enviro var setup properly prior to starting qdec? That is, set to your own writable subjects directory? I noticed in the error message that it looks like the subjects dir is the default one under the /freesurfer dir, which is read-only.
One option is to put this line at the top of your qdec.table.dat file: SUBJECTS_DIR /path/to/my/subjects so that you dont have to remember to set it prior to starting qdec. Also, age would be a continuous var even if its an integer, discrete is what we assign to classes like male/female or patient/control. Nick > > Dear all, > > I have a question; > > I am trying to load data into qdec; the data table is loaded fine > (although it lists age as continuous for some region, rather than > discreet). However, When i try to generate the stats table, this error > comes up. Does this mean I somehow have to manually set the subjects > directory to where my subjects are (rather than the default that seems > to be used), using the "generate stats table" option? If so, how is > this done? Or is it a preprocessing step I have missed out? > > mkdir: cannot create directory > `/usr/local2/freesurfer510/subjects/qdec': Permission denied > ERROR: In > /usr/pubsw/packages/KWWidgets/CVS-vtk560/KWWidgets/vtkKWTkUtilities.cxx, > line > 230 > vtkKWQdecApp (0x30732c58): > Script: > vtkTemp2 GenerateStatsDataTables > Returned Error on line 1: > Uncaught exception: command failed: mkdir -p > /usr/local2/freesurfer510/subjects/qdec/stats_tables/ > > Stack trace: > Uncaught exception: command failed: mkdir -p > /usr/local2/freesurfer510/subjects/qdec/stats_tables/ > > while executing > "vtkTemp2 GenerateStatsDataTables" > > Grateful for your help > > Regards Catherine > > > > -- > The University of Edinburgh is a charitable body, registered in > Scotland, with registration number SC005336. > > > > ----- End forwarded message ----- > > > -- > The University of Edinburgh is a charitable body, registered in > Scotland, with registration number SC005336. > > > _______________________________________________ > Freesurfer mailing list > Freesurfer@nmr.mgh.harvard.edu > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer > > > _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.