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

Suggestion: get_data() function is deprecated #4

Open
nanshanvv opened this issue Jul 19, 2023 · 1 comment
Open

Suggestion: get_data() function is deprecated #4

nanshanvv opened this issue Jul 19, 2023 · 1 comment

Comments

@nanshanvv
Copy link

The get_data() function has been deprecated since nibabel version 3.0 and is no longer recommended. In its place is the get_fdata() function, which provides a more predictable return type.
So we need to change get_data() to get_fdata() so that the code runs successfully
image

@LWHYC
Copy link
Collaborator

LWHYC commented Jul 19, 2023

Thank you so much for pointing this out! We have updated the get_data() to get_fdata().

@LWHYC LWHYC closed this as completed Jul 19, 2023
@LWHYC LWHYC reopened this Jul 19, 2023
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

2 participants