Skip to content

Philips Multiframe with ADC isn't truncated appropriately #122

@ma-tripleT

Description

@ma-tripleT

Hi Team,

For Philips Multiframe diffusion images that have ADC, in convert_philips.py the function _create_bvals_bvecs() makes a call out to _fix_diffusion_images()for the purposes of removing the ADC, and a truncated nifti is returned.

However _create_bvals_bvecs() doesn't return this truncated file back up to_multiframe_to_nifti() which means the NIfTI that is saved will be one frame longer than the BVAL and BVEC files.

This could easily be fixed with the addition of nifti being returned at line 535 and an additional variable output_file to line 271.

Thanks,
Matthew

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions