[Neuroimaging] Reading mgz files in NiBabel 2.3.0

ts+ml at rcmd.org ts+ml at rcmd.org
Wed Jan 9 03:45:25 EST 2019

I must have been very confused when I wrote that, sorry. Of course, the question doesn't make much sense as the nibabel function gets the file handle only. One should just gzip.open() in case the file name end with 'mgz' I guess. Sorry for the noise.

> On January 6, 2019 at 5:16 PM ts+ml at rcmd.org wrote:
> Dear list members,
> I'm trying to load a FreeSurfer MGZ file (its header to be precise) using nibabel 2.3.0:


More information about the Neuroimaging mailing list