Hi Surfers, as of version 5.2, i'm getting an error using asegstats2table, depending on how i sort the subjects:
andreas@psy058:~$ asegstats2table --subjects $(ls $SUBJECTS_DIR | sort -t _ -k 1 -nk 2) -t segstats.csv --skip -d comma SUBJECTS_DIR : /mnt/raid/freesurfer/subjects Parsing the .stats files Skipping /mnt/raid/freesurfer/subjects/fsaverage/stats/aseg.stats Skipping /mnt/raid/freesurfer/subjects/lh.EC_average/stats/aseg.stats Skipping /mnt/raid/freesurfer/subjects/qdec/stats/aseg.stats Skipping /mnt/raid/freesurfer/subjects/rh.EC_average/stats/aseg.stats Traceback (most recent call last): File "/usr/local/freesurfer/bin/asegstats2table", line 553, in <module> if(nmeasures != nmeasures0 and not options.common_flag and not options.all_flag): NameError: name 'nmeasures0' is not defined i don't get that error if i either: 1) remove the non-subjects (fsaverage, qdec, etc..) from the list, or: 2) do not sort the list like i do the subjects list is attached, sorted the way it produces the error greetings, Andreas
fsaverage lh.EC_average qdec rh.EC_average H458_1Md H458_2F H458_2Fd H458_3F H458_4F H458_4Fd H458_5Fd H458_5M H458_6M H458_6Md H458_7F H458_7Fd H458_8Fd H458_8M H458_9F H458_10Fd H458_10M H458_11Fd H458_12F H458_12Fd H458_13M H458_14Fd P458_14M H458_15F H458_15Fd H458_16M H458_16Md H458_17Md H458_18M P458_19F H458_20F H458_20Md H458_21F H458_21Md H458_22M H458_22Md H458_23M H458_23Md H458_24M H458_24Md H458_25M H458_25Md P458_26M P458_26Md H458_27M P458_27Md P458_28F P458_28Fd H458_29M P458_29Fd H458_30F P458_30Md P458_31F P458_31Md H458_32F P458_32Fd P458_33Md H458_34M P458_34Fd H458_35F P458_35Md P458_36F P458_36Fd P458_37Fd P458_37M P458_38Fd P458_38M P458_39F P458_39Md P458_40F P458_40Fd P458_41M P458_41Md P458_42Fd P458_42M P458_43F P458_43Fd P458_44Fd P458_45F P458_45Fd P458_46M H458_47M P458_48F P458_49M P458_50F H458_51Fd P458_51F H458_52F H458_52Fd H458_53Md P458_53M H458_54Fd H458_55Md P458_55M H458_56M H458_56Md H458_57Fd P458_57M H458_58Fd P458_58F H458_59M P458_60F H458_61F H458_61Fd H458_62Fd H458_62M P458_64F H458_65M P458_65M H458_66F H458_67M H458_68F H458_69F H458_70M H458_71F P458_72F H458_73F H458_74F H458_75F H458_76F H458_77F H458_78F H458_79F H458_81F H458_82F H458_84M H458_86M P458_87F P458_88F P458_90F H458_91F P458_92F P458_93F P458_94M H458_95M P458_96M P458_97M P458_98F P458_99M P458_100F P458_101M H458_102F P458_105F H458_107M H458_108M P458_109M H458_110M P458_111M H458_112F P458_113F H458_114M P458_115F P458_116M P458_117F H458_118F H458_119F H458_120F P458_121F H458_122F P458_123F H458_127F P458_129M H458_130F H458_131F H458_132M H458_133F P458_134F H458_135F H458_137M H458_138F H458_139F H458_141M H458_142M H458_143F H458_144F H458_145F H458_146F H458_147F H458_148M P458_149M H458_151F P458_152M P458_153F P458_155F P458_156M P458_157F P458_158F P458_159F P458_161F P458_162M P458_163F H458_164M P458_165M P458_166F H458_167F H458_168F H458_171F H458_172F P458_173F P458_175F P458_176F P458_177F P458_178F H458_180M P458_181M P458_183F P458_184F P458_185F P458_186F P458_187M P458_188F H458_189F H458_190M P458_191M P458_192F H458_193M P458_194F P458_195M P458_196M H458_197F H458_198F H458_199M H458_200F P458_201M H458_202M P458_203M P458_204M P458_205F H458_206F P458_207M H458_208M P458_210F H458_211F P458_212F H458_214F P458_215F P458_216F P458_217F H458_218M P458_219F P458_220F P458_221F H458_224M H458_225F H458_226M P458_227F H458_228M H458_229M P458_230F H458_232M P458_233F H458_234F P458_235F H458_236M H458_238F H458_240M P458_244M H458_245M H458_250M H458_251M P458_253F H458_254M H458_256F H458_257F H458_258M H458_260F H458_261F P458_262F P458_263F H458_264M H458_265F P458_266M P458_267M P458_268F H458_269F P458_270F H458_271F P458_272F H458_274F H458_275F H458_276F P458_277M H458_279M H458_280M P458_281F H458_282M H458_283M H458_284M H458_285M H458_286M H458_287F H458_288M H458_289M H458_290F H458_291M H458_292M H458_293F H458_294F H458_295F H458_296F H458_297M P458_298F P458_299M P458_300F P458_301M P458_302F H458_304F P458_305M H458_306M H458_307M P458_308F P458_309F H458_310F H458_311M H458_312M H458_313M H458_314F P458_315M H458_316F H458_317M P458_318F H458_319F H458_320M P458_321M H458_322F H458_324F H458_325M H458_327M H458_328F P458_329M H458_330M H458_331F P458_332F H458_333M H458_334F H458_335F H458_336F H458_338F H458_339F H458_340M H458_341F H458_342M H458_343F H458_344M H458_345M H458_346M P458_347M P458_348F H458_349F H458_350F P458_351M H458_352M 139_01F 139_02M 139_03M 139_04F 139_05F 139_07M 139_08M 139_09F 139_11M 139_12M 139_13M 139_14F 139_15F 139_16F 139_17F 139_18M 139_19F 139_20F 139_21M 139_22F 139_23M 139_24M
_______________________________________________ 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.