From 446bebeaba72d7a2aaaeb42363986b1fdc5e3736 Mon Sep 17 00:00:00 2001 From: dbouget Date: Thu, 1 Feb 2024 13:11:28 +0000 Subject: [PATCH] Fixing outdated function --- raidionicsmaps/Computation/heatmap_computation_processor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raidionicsmaps/Computation/heatmap_computation_processor.py b/raidionicsmaps/Computation/heatmap_computation_processor.py index b7ae079..4802dae 100644 --- a/raidionicsmaps/Computation/heatmap_computation_processor.py +++ b/raidionicsmaps/Computation/heatmap_computation_processor.py @@ -165,7 +165,7 @@ def __run(self, dense_parameters=None, cat_parameters=None) -> None: :return: Nothing, the appropriate files are saved on disk directly """ atlas_ni = nib.load(SharedResources.getInstance().mni_atlas_filepath_T1) - atlas = atlas_ni.get_data() + atlas = atlas_ni.fget_data()[:] heatmap = np.zeros(atlas.shape) heatmap_centroids = np.zeros(atlas.shape)