From ca3f05bfce288ec34e52351206dfc0a95b97fba5 Mon Sep 17 00:00:00 2001 From: mtorabi59 Date: Thu, 16 Nov 2023 00:13:46 -0500 Subject: [PATCH] nilearn deprecation for niftilabelsmakser import --- multi_analysis_dfc/data_loader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multi_analysis_dfc/data_loader.py b/multi_analysis_dfc/data_loader.py index fb66779..55858a9 100644 --- a/multi_analysis_dfc/data_loader.py +++ b/multi_analysis_dfc/data_loader.py @@ -160,7 +160,7 @@ def nifti2array(nifti_file, and global signal regression is applied. ''' - from nilearn.input_data import NiftiLabelsMasker + from nilearn.maskers import NiftiLabelsMasker from nilearn import datasets from nilearn.plotting import find_parcellation_cut_coords from nilearn.interfaces.fmriprep import load_confounds