This code was submitted in conjunction with a batch script in order to run all patients in parallel on the supercomputer. The script above functions for only one patient at a time.
    After downloading the output data to a local computer and inspecting all outputted images for errors, the data was collected. Each patients data was individually retrieved from the aseg_stats.txt file of each individual's stats directory in the Freesurfer output file. The data was transplanted onto SPSS ( IBM SPSS Statistics for Macintosh, Version 22.0. ) and statistics were run and analyzed. 

Results

    After inputting the lengths of third ventricles into Mango, statistical analyses were run to see if any significant differences could be found between the two groups.