Closed alessandrofelder closed 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 92.68%. Comparing base (
7098eb8
) to head (f5eb737
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description
What is this PR
Why is this PR needed?
save/load_any
in Image IO was raising an error when passed a compressed nifti file (.nii.gz
) - (butsave/load_nii
works with these files perfectly fine).What does this PR do?
In the
save/load_any
functions, this PR adds handling the case of compressed nifti files appropriately.References
Closes https://github.com/brainglobe/brainglobe-utils/issues/89
How has this PR been tested?
Improved tests, to cover this case, were added and pass locally.
Is this a breaking change?
No
Does this PR require an update to the documentation?
No
Checklist: