Hi Adarsh – What operating system are you running this on? It runs fine for me with this input file when I test it on both a mac and a linux computer.

a.y

From: <freesurfer-bounces@nmr.mgh.harvard.edu> on behalf of Adarsh Nellore <adarsh.nellore150@gmail.com>
Reply-To: Freesurfer support list <freesurfer@nmr.mgh.harvard.edu>
Date: Tuesday, February 14, 2017 at 3:19 PM
To: "freesurfer@nmr.mgh.harvard.edu" <freesurfer@nmr.mgh.harvard.edu>
Subject: Re: [Freesurfer] tractstats2table error

Hi Anastasia,

The file I have seems very similar to the file in that link. I've pasted my file below:

# Title Pathway Statistics
#
# generating_program /usr/local/freesurfer/bin/dmri_pathstats
# cvs_version
# cmdline /usr/local/freesurfer/bin/dmri_pathstats --intrc /usr/local/freesurfer/subjects/control_data/diffusion_tracs/Control200_recon-all/dpath/fmajor_PP_avg33_mni_flt --dtbase /usr/local/freesurfer/subjects/control_data/diffusion_tracs/Control200_recon-all/dmri/dtifit --path fmajor --subj Control200_recon-all --out /usr/local/freesurfer/subjects/control_data/diffusion_tracs/Control200_recon-all/dpath/fmajor_PP_avg33_mni_flt/pathstats.overall.txt --outvox /usr/local/freesurfer/subjects/control_data/diffusion_tracs/Control200_recon-all/dpath/fmajor_PP_avg33_mni_flt/pathstats.byvoxel.txt
# sysname Linux
# hostname magbrain
# machine x86_64
# user magbrain
# anatomy_type pathway
#
# subjectname Control200_recon-all
# pathwayname fmajor
#
Count 1500
Volume 1206
Len_Min 51
Len_Max 113
Len_Avg 78.2753
Len_Center 70
AD_Avg 0.00117037
AD_Avg_Weight 0.00116289
AD_Avg_Center 0.001153
RD_Avg 0.000596586
RD_Avg_Weight 0.000603718
RD_Avg_Center 0.000548966
MD_Avg 0.000787847
MD_Avg_Weight 0.000790108
MD_Avg_Center 0.000750311
FA_Avg 0.415954
FA_Avg_Weight 0.404395
FA_Avg_Center 0.444513