External Email - Use Caution        

Dear team and subscribers,
I'd like to highlight an issue I've had with recon-all in v8.0.0 and v8.0.0-beta. I've also logged this as a github issue: MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://github.com/freesurfer/freesurfer/issues/1291

The value of `SegmentedTotalIntraCranialVolume` is always 0.00 .

Found out why. It seems the csvprint module needs python2. this has been updated to python3 in commit 9a59bec. However this commit did not make it into the v8.0.0 or v8.0.0-beta version
It seems that the -motioncor step in autorecon1 in recon-all prints the value of Total Intracranial Volume from the mri/synthseg.vol.csv into the text file stats/synthseg.tiv.dat. This file is read by mri_segstats later in the process to make the aseg.stats file.
When csvprint is broken, the file stats/synthseg.tiv.dat is empty, so the value of SegmentedTotalIntraCranialVol is 0 in aseg.stats.


I believe this should be logged as a known issue for these software versions because the software incorrectly reports the value of sTIV in aseg.stats. A hacky temporary fix would be to copy the csvprint python file from the mentioned commit, and overwrite the version in one's freesurfer install at $FREESURFER_HOME/bin/csvprint 

Abhishek Roy,
Oxford Brain Diagnostics.