Skip to content

FLIRT interface does not allow setting apply_xfm with uses_qform option #1317

Closed
@brennerd11

Description

@brennerd11

Hi all,

the FLIRT interface does not allow to set apply_xfm =True in conjunction with uses_qform=True as apply_xfm requires in_matrix_file
Anyways this should be possible as apply_xfm and uses_qform (without providing an additional matrix file) together allow resampling one image to the reference space just by utilizing the affine matrix stored in the header (see also http://fsl.fmrib.ox.ac.uk/fsl/fslwiki/FLIRT/FAQ).
I am unsure what the best way would be to fix that - just remove the required=['in_matrix_file'] from apply_xfm? Or is there a way to set require one of two inputs?

Cheers,

Daniel

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions