MRtrix3 / mrtrix3

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
http://www.mrtrix.org
Mozilla Public License 2.0
294 stars 181 forks source link

Better keyval reading in Python #2965

Open Lestropie opened 3 months ago

Lestropie commented 3 months ago

There's currently a mismatch between the implementation of utils.load_keyval() and the relevant comment (which reflects original intent). It ignores all content after comment symbols. However with #1609, numeric text files now have key-value-based comments.

Currently, the only use of that function is to parse the output of transformcalc decomp in population_template.