Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In Nibabel get_data() is deprecated in favor of get_fdata() #118

Open
benhibou opened this issue Jan 31, 2024 · 0 comments
Open

In Nibabel get_data() is deprecated in favor of get_fdata() #118

benhibou opened this issue Jan 31, 2024 · 0 comments

Comments

@benhibou
Copy link

benhibou commented Jan 31, 2024

In Nibabel get_data() is deprecated in favor of get_fdata(). The code in SAMRI I believe uses get_data. Test example (conversion of Bruker to Bids) started to work when I changed one occurrence of get_data with get_fdata. With the current version of Nibabel is 5.1.x. I suppose to run the code one would have to replace all the get_data connected to nibabel by get_fdata were we to run with the current version. I believe there are in the code some get_data not connected to nibabel. I have not been able to find and download an older version of nibabel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant