External Email - Use Caution
Hello everyone,
I just wanted to share a solution to a problem I encountered when trying to run the trac-preproc script (FreeSurfer 7.3) on a machine set up outside the US.
When calling xfmrot from the trac-preproc script (dorotbvecs = 1 in the configuration file due to usage of eddy_correct), I got the following error message for each of the bvec-values:
printf: 'random bvec': value not completely converted
If you are working outside the US, make sure that your decimal separator is set to "." and NOT ",". You can check this by entering
locale decimal_point
in your terminal. Changing it from "," to "." requires to change the environment variable LC_NUMERIC (see e.g. here: https://secure-web.cisco.com/13exOcfRq-44ZipqadYDq8beVNct_4LzaLbP3yLq_PxFxOD...).
Hopefully this can help if anyone else happens to run into the same problem! It really is just a minor issue but did cost me half a day to find my way out of it...
Best,
Katharina
P.S.: I didn't know where/how to add this to the wiki in a meaningful way, so I decided to just post to the mail archive - hope this is okay!
----------------------------------------------------------------------------------------------
Katharina Wurdack Ärztliche und wissenschaftliche Mitarbeiterin
Charité Universitätsmedizin Berlin Campus Virchow-Klinikum Klinik für Neurologie Augustenburger Platz 1 D-13353 Berlin
E-Mail: katharina.wurdack@charite.demailto:deetje.iggena@charite.de
________________________________
freesurfer@nmr.mgh.harvard.edu