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
281 stars 176 forks source link

Version information not updated on dev branch #2892

Closed jdtournier closed 2 months ago

jdtournier commented 2 months ago

Seems the version information recorded in the executables is not being updated as expected:

$ build/bin/mrinfo -version
== mrinfo 3.0.4-39-ga5e5ae85-dirty ==
64 bit Release, built May  2 2024, using Eigen 3.4.0
...

is out of date and does not match git version:

$ git describe --abbrev=8 --dirty --always
3.0.4-935-gfa728c5f

This is after a clean build on dev:

git checkout dev
git pull
rm -rf build
cmake -B build -G Ninja -DMRTRIX_BUILD_TESTS=on
cmake --build build

No rush, but we'll need to fix that up in due course.

jdtournier commented 2 months ago

OK, I guess that was my mistake:


mrview: [ERROR] You may need to erase files left over from prior MRtrix3 versions;
mrview: [ERROR] eg. core/version.cpp; src/exec_version.cpp
``
I'll close this, sorry...