vistalab / vistasoft

VISTASOFT is the main software repository of the VISTA lab at Stanford University.
http://vistalab.stanford.edu
148 stars 141 forks source link

Update dtiImportFibersMrtrix.m #291

Closed bacaron closed 6 years ago

bacaron commented 6 years ago

Original code expected one "counts:" field in a mrtrix .tck header. This is problematic when using the mrtrix command cat_tracks to combine .tcks, which appends an additional "counts:" field to the end of the .tck header. Change is to just grab the max index and passing that through.

francopestilli commented 6 years ago

"Change is to just grab the max index and passing that through." to clarify this max is the total number of fibers in the file? That what we need here, right?

bacaron commented 6 years ago

@francopestilli correct