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 = []