Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
mgeplf committed Oct 6, 2023
1 parent 57070f3 commit f8d862e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ Changelog

Version 0.2.1
-------------
* The following `cell-density` sub-commands can now optionally take a group_ids_config:
`cell-density`, `glia-cell-densities`, `inhibitory-and-excitatory-neuron-densities`, `fit-average-densities`
* The following *cell-density* sub-commands can now optionally take a *group_ids_config*:
*cell-density*, *glia-cell-densities*, *inhibitory-and-excitatory-neuron-densities*, *fit-average-densities*

Otherwise they use the default config for the AIBS atlas.

Version 0.2.0
Expand Down
1 change: 1 addition & 0 deletions atlas_densities/app/cell_densities.py
Original file line number Diff line number Diff line change
Expand Up @@ -855,6 +855,7 @@ def fit_average_densities(
- some regions can have NaN density values for one or more cell types because they are not
covered by the selected slices of the volumetric gene marker intensities.
"""
Path(fitted_densities_output_path).mkdir(parents=True, exist_ok=True)

L.info("Loading annotation ...")
annotation = VoxelData.load_nrrd(annotation_path)
Expand Down
9 changes: 9 additions & 0 deletions atlas_densities/app/data/metadata/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,12 @@ A clause is formed of dictionary of the form:
The attribute name is used for the atlas lookup, things like "name" or "acronym" are valid.

Finally, one can refer to a previous stanza by preceding it with a `!`.

The current `group_ids.json was discussed here:
https://github.com/BlueBrain/atlas-densities/pull/51#issuecomment-1748445813
In very short, in older versions of the annotations, fibers and main regions were in separated files (ccfv2 / ccfbbp).
In the main regions, the space allocated to the fibers were annotated to Basic cell groups and regions.
For some weird reasons, the fibers do not take the entire space allocated for them.
Which means that for most of the voxels annotated to Basic cell groups and regions, they correspond to fibers.
I say most of the voxels because there are also voxels at the frontier between two main regions (e.g. Cerebellum) that were not annotated to their closest leaf region.
These voxels are gone in ccfv3.

0 comments on commit f8d862e

Please sign in to comment.