Forked from
FSL / fslpy
1573 commits behind the upstream repository.

Paul McCarthy
authored
this is all handled by nibabel. Also never keeps its own ref to file object. Image.save always saves to a temp file, then moves that to the destination - avoid any problems with mmap/indexed_gzip.