Skip to content

dwifslpreproc: mrinfo -export_pe_eddy with mif files #3142

@kpannek

Description

@kpannek

MRtrix version 3.0.7

mrinfo -export_pe_eddy was changed to work only in conjunction with nii files. dwifslpreproc calls this on a mif file, resulting in an error.

dwifslpreproc denoised_degibbsed_ap.mif -se_epi b0_appa.mif denoised_degibbsed_preproc.mif -rpe_pair -pe_dir ap
[...]
Command: mrconvert dwi.mif -strides -1,+2,+3,+4 - | mrinfo - -export_pe_eddy applytopup_config.txt applytopup_indices.txt

dwifslpreproc: [ERROR] mrconvert dwi.mif -strides -1,+2,+3,+4 - | mrinfo - -export_pe_eddy applytopup_config.txt applytopup_indices.txt (dwifslpreproc:828)
dwifslpreproc: [ERROR] Information from failed command:
dwifslpreproc:
               mrconvert: copying from "dwi.mif" to "/Users/pan...18J0L/mrtrix-tmp-AMTUtP.mif"... [==================================================]
               mrinfo: [ERROR] Only export phase encoding table to FSL eddy format in conjunction with MGH / NIfTI format images

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions