MRtrix3 provides a set of tools to perform various advanced diffusion MRI analyses, including constrained spherical deconvolution (CSD), probabilistic tractography, track-density imaging, and apparent fibre density
Came to mind when looking at existing CI tests for dirgen.
Currently, those tests parse the pretty-print output from dirstat to extract just a specific element, which is then tested against the same statistic from a pre-generated set.
This is a fairly limited test. -output could be used there to avoid the pretty-print parsing, but it would still only be looking at one statistic.
Better would be to add a new command-line option to dirstat that would export all statistics of all shells to a JSON file, which could then be parsed fully.
Came to mind when looking at existing CI tests for
dirgen
. Currently, those tests parse the pretty-print output fromdirstat
to extract just a specific element, which is then tested against the same statistic from a pre-generated set. This is a fairly limited test.-output
could be used there to avoid the pretty-print parsing, but it would still only be looking at one statistic.Better would be to add a new command-line option to
dirstat
that would export all statistics of all shells to a JSON file, which could then be parsed fully.