daducci / AMICO

Accelerated Microstructure Imaging via Convex Optimization (AMICO) from diffusion MRI data
Other
101 stars 62 forks source link

nibabel get_data() deprecation #160

Closed mattcieslak closed 1 year ago

mattcieslak commented 1 year ago

Hi! The most recent Nibabel release is throwing an error whenever a .get_data() function is called because they want people using .get_fdata() instead. Would you be open to a PR that changes these calls?

daducci commented 1 year ago

Hi Matt,

Yes, we are about to release the version 2.0.0 which also includes this fix, but indeed we could also patch this in 1.x versions. I'll discuss this tomorrow and we will release a patch soon!

nightwnvol commented 1 year ago

Hi @mattcieslak, actually this problem has already been solved in the latest available version (v1.5.4). You just need to update AMICO with pip install -U dmri-amico.