Skip to content

Commit

Permalink
DevCCFv1 atlases are named as kim_devccf_mouse_<AGE>_<MODALITY>
Browse files Browse the repository at this point in the history
  • Loading branch information
carlocastoldi committed Jan 9, 2025
1 parent 99e2ea3 commit 9940865
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9940865

Please sign in to comment.