Hello,
I am running into an error with dwifslpreproc when preprocessing DWI data on macOS.
- System: macOS
- MRtrix version: 3.0.7 (
mrconvert -versionconfirms) - FSL: installed and available in
$PATH - Python: the wrapper script
/usr/local/bin/dwifslpreprocuses Python3
A script executes dwifslpreproc which calls. mrconvert like this:
mrconvert se_epi.mif topup_in.nii \
-import_pe_table se_epi_manual_pe_scheme.txt \
-strides -1,+2,+3,+4 \
-export_pe_topup topup_datain.txt
The error
mrconvert: [ERROR] unknown option "-import_pe_table"
dwifslpreproc: [ERROR] mrconvert se_epi.mif topup_in.nii -import_pe_table ...
After this, the pipeline fails with a cascade of “No image files match …” errors, because the expected preproc files are never created.
What I checked
- Running
mrconvert -helpshows that the available options are:-import_pe_topup-import_pe_eddy-export_pe_topup-export_pe_eddy
There is no-import_pe_tablein my version.
- Grepping inside
/usr/local/bin/dwifslpreprocshows it is hard-coded to callmrconvertwith-import_pe_table.
My questions
- Is this a known mismatch between my
dwifslpreprocscript and MRtrix 3.0.7? - Is there an updated version of the script I should install?
- Alternatively, is the recommended workflow now to bypass this step?