gallantlab / pycortex

Pycortex is a python-based toolkit for surface visualization of fMRI data
https://gallantlab.github.io/pycortex
BSD 2-Clause "Simplified" License
592 stars 138 forks source link

FIX update nibabel deprecated methods #457

Closed TomDLT closed 2 years ago

TomDLT commented 2 years ago

Fix failing test with recent nibabel (as in #456 for example).

See nibabel 2.1 changelog:

Deprecation of get_header, get_affine method of image objects for removal in version 4.0;