From f925b96c502f0cfbc6a3c9e3870bf1107ac46165 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yasser=20Alem=C3=A1n=20G=C3=B3mez?= Date: Mon, 11 Mar 2024 14:53:47 +0100 Subject: [PATCH] Modifying the __init__ method to compute the range --- clabtoolkit/parcellationtools.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clabtoolkit/parcellationtools.py b/clabtoolkit/parcellationtools.py index 542b281..72cd5a3 100644 --- a/clabtoolkit/parcellationtools.py +++ b/clabtoolkit/parcellationtools.py @@ -29,8 +29,8 @@ def __init__(self, self.data = parc_file self.affine = affine - # Detect minimum and maximum labels - self._parc_range() + # Detect minimum and maximum labels + self._parc_range() def _keep_by_code(self, codes2look: Union[list, np.ndarray],