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

FutureWarning "Importing from 'nilearn.input_data'" #116

Closed
1 task done
LeonDLotter opened this issue Oct 19, 2023 · 1 comment
Closed
1 task done

FutureWarning "Importing from 'nilearn.input_data'" #116

LeonDLotter opened this issue Oct 19, 2023 · 1 comment

Comments

@LeonDLotter
Copy link

Description of issue

Hi y'all,
On import of neurmaps.parcellate.Parcellater with current nilearn versions, nilearn returns:

FutureWarning: The import path 'nilearn.input_data' is deprecated in version 0.9. Importing from 'nilearn.input_data' will be possible at least until release 0.13.0. Please import from 'nilearn.maskers' instead.

Fix:
Replace, e.g., neuromaps.parcellate line 7: from nilearn.input_data import NiftiLabelsMasker
with: from nilearn.maskers import NiftiLabelsMasker

Best,
Leon

Code of Conduct

  • I agree to follow the neuromaps Code of Conduct
@VinceBaz
Copy link
Member

Hi @LeonDLotter,
I just fixed this. Thanks a lot for pointing this out 😄

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