I built the most recent mrtrix release from Github within my own Linux environment. I would like to change the NiftiUsesSform setting in the configuration file. However, I have no clue where I can find the configuration file. The documentation says it is stored at 2 locations and I cannot find it at either location.
@jdtournier quick follow up question - I’m trying to do the same thing. When I run this command, I’m still getting errors like “[WARNING] qform and sform are inconsistent in NIfTI image … - using qform”
Is there something I need to do to point MRTRIX towards this new config file?
Thanks!
Odd… Try running your command with the -debug flag: you should see something like this at the beginning (this is what my Windows laptop reports):
$ mrinfo -debug someimage.nii
mrinfo: [DEBUG] No config file found at "/etc/mrtrix.conf"
mrinfo: [INFO] reading config file "C:\Users\donald/.mrtrix.conf"...
mrinfo: [DEBUG] reading key/value file "C:\Users\donald/.mrtrix.conf"...
...
This is basically reporting that it’s looked for a system-wide config file in /etc/mrtrix.conf, but didn’t find one, then looked in my home directory, found one, and read its contents.
If it looks like your config file is being found and read, then post the contents of the file here, maybe there’s an issue with the formatting or something…