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

mrcalc: Erroneous stack formation on dev #3017

Closed Lestropie closed 1 month ago

Lestropie commented 1 month ago
robertes@9520l-003953-l:~$ ~/src/3.0.4/bin/mrcalc pi
3.14159
robertes@9520l-003953-l:~$ ~/src/mrtrix3/build_release/bin/mrcalc pi
3.14159

All good thus far...

robertes@9520l-003953-l:~$ ~/src/3.0.4/bin/mrcalc pi 4 -mult
12.5664
robertes@9520l-003953-l:~$ ~/src/mrtrix3/build_release/bin/mrcalc pi 4 -mult
3.14159
robertes@9520l-003953-l:~$ ~/src/mrtrix3/build_release/bin/mrcalc 4 pi -mult
4

:grimacing:

Best guess is it's related to #2911?

daljit46 commented 1 month ago

Yes, it was indeed due to a change in #2911. It's probably worth adding some tests for mrcalc's pure calculator mode. Will make a PR later.

daljit46 commented 1 month ago

Closed by #3019