From 99408656f769c58fdff5e85ef10692daafaa8ee3 Mon Sep 17 00:00:00 2001 From: Carlo Castoldi Date: Thu, 9 Jan 2025 17:10:35 +0100 Subject: [PATCH] DevCCFv1 atlases are named as kim_devccf_mouse__ --- .../atlas_generation/atlas_scripts/kim_devccf_mouse.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/brainglobe_atlasapi/atlas_generation/atlas_scripts/kim_devccf_mouse.py b/brainglobe_atlasapi/atlas_generation/atlas_scripts/kim_devccf_mouse.py index c60b8d18..0162a704 100644 --- a/brainglobe_atlasapi/atlas_generation/atlas_scripts/kim_devccf_mouse.py +++ b/brainglobe_atlasapi/atlas_generation/atlas_scripts/kim_devccf_mouse.py @@ -253,15 +253,14 @@ def decimate_fraction_type(arg): timepoints = params["timepoints"] modality = params["modality"] decimate_fraction = params["decimate_fraction"] - atlas_name = f"{ATLAS_NAME}_{modality}" - bg_root_dir = DEFAULT_WORKDIR/atlas_name + bg_root_dir = DEFAULT_WORKDIR/ATLAS_NAME download_dir_path = bg_root_dir/"downloads" download_dir_path.mkdir(exist_ok=True, parents=True) pooch_ = pooch_init(download_dir_path, timepoints) structures = fetch_ontology(pooch_) for age in timepoints: - atlas_name = f"{atlas_name}_{age.replace('.', '-')}" + atlas_name = f"{ATLAS_NAME}_{age.replace('.', '-')}_{modality}" annotation_volume, reference_volume, resolution_um = fetch_animal(pooch_, age, modality) atlas_dir = bg_root_dir/atlas_name atlas_dir.mkdir(exist_ok=True)