ya, it’s based on an older MRtrix version. like HannesAlmgren said, it is probably due to the renaming of certain commands.
I switched to older version of python and the dwifslpreproc runs now. Afterwards when I try to generate a mask, the -ants option gives this error:
antsRegistration: error while loading shared libraries: libITKIOBruker-5.3.so.1: cannot open shared object file: No such file or directory
I tried to run it with fsl, and it works. But it’s not recommended to use fsl option. I found that it’s issue with Conda installation (missing shared libraries when installed from conda / mamba · Issue #1696 · ANTsX/ANTs · GitHub). Any info how can I run -ants option in dwibiascorrect in conda?