From 4a2d77dc28411f64a436cb5a5ff93afc7dc48120 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yasser=20Alem=C3=A1n=20G=C3=B3mez?= Date: Tue, 3 Sep 2024 14:17:37 +0200 Subject: [PATCH] Sorting the parcellations --- chimera/chimera.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chimera/chimera.py b/chimera/chimera.py index 2e432d9..7a6b377 100644 --- a/chimera/chimera.py +++ b/chimera/chimera.py @@ -262,6 +262,8 @@ def _prepare_templates(self, fssubj_dir:str = None): # Select the files that contain the atlas names ctx_parc_lh = cltmisc._filter_by_substring(ctx_parc_lh, atlas_names, boolcase=False) ctx_parc_rh = cltmisc._filter_by_substring(ctx_parc_rh, atlas_names, boolcase=False) + ctx_parc_lh.sort() + ctx_parc_rh.sort() ctx_parc_lh_annot = [] ctx_parc_rh_annot = []