External Email - Use Caution
pathstats.overall.txt
Parsing the .stats files
Building the table..
Traceback (most recent call last):
File "/Applications/freesurfer_dev/bin/tractstats2table", line 368, in <module>
r1c1, rows, columns, table = sanitize_table(options, pretable)
File "/Applications/freesurfer_dev/bin/tractstats2table", line 260, in sanitize_table
if not 1 == len(pthwyset.keys()):
File "/Applications/freesurfer_dev/bin/datastruct_utils.py", line 281, in keys
return self.__ksl[:]
TypeError: 'dict_keys' object is not subscriptable
Hello,I just ran trac-all on my data and am trying to use tractstats2table to run some tract-based group level analysis.I have created a text file with the full paths to each conditions stats file (attached below and tried to run the following commandtractstats2table --load-pathstats-from-file /Volumes/DANIEL/trac/stats_info/stats_rh.unc.txt --overall --tablefile /Volumes/DANIEL/trac/stats_info/rh.unc.All.table
However, I get the following error message.
Parsing the .stats files
Traceback (most recent call last):
File "/Applications/freesurfer_dev/bin/tractstats2table", line 347, in <module>
pathway_subj, measure_value_map = parsed.parse()
File "/Applications/freesurfer_dev/bin/fsutils.py", line 288, in parse
val = float(strlist[1])
ValueError: could not convert string to float: 'y'
Could someone please provide me some guidance on how to troubleshoot this?
Daniel Callow
PhD Student, Neuroscience and Cognitive ScienceExercise for Brain Health LabUniversity of Maryland, College Park443-254-6298