From b28db922e65c4d84d09331075c2c70a08498006a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yasser=20Alem=C3=A1n=20G=C3=B3mez?= Date: Tue, 3 Sep 2024 15:57:22 +0200 Subject: [PATCH] Solving the bug that caused the ventralDC to overwrite the hypothalamus. --- chimera/chimera.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chimera/chimera.py b/chimera/chimera.py index 7a6b377..83becb7 100644 --- a/chimera/chimera.py +++ b/chimera/chimera.py @@ -1459,7 +1459,7 @@ def _build_parcellation(self, t1:str, bids_dir:str, indexes = np.where(mask) tmp_extra.data[indexes] = 0 tmp_extra._adjust_values() - chim_parc._add_parcellation(extra_parc, append=False) + chim_parc._add_parcellation(tmp_extra, append=False) del tmp_extra # Saving the FINAL parcellation