From Nibabel "
get_data() is deprecated in favor of get_fdata(), which has a more predictable return type. To obtain get_data() behavior going forward, use numpy.asanyarray(img.dataobj).
deprecated from version: 3.0
Raises <class ‘nibabel.deprecator.ExpiredDeprecationError’> as of version: 5.0"
I changed the get_data in the core.py to get_fdata.
Thank you if you can merge my fix to the master branch!
From Nibabel " get_data() is deprecated in favor of get_fdata(), which has a more predictable return type. To obtain get_data() behavior going forward, use numpy.asanyarray(img.dataobj).
deprecated from version: 3.0 Raises <class ‘nibabel.deprecator.ExpiredDeprecationError’> as of version: 5.0"
I changed the get_data in the core.py to get_fdata. Thank you if you can merge my fix to the master branch!