diff --git a/atlas_densities/densities/mtype_densities_from_map/create.py b/atlas_densities/densities/mtype_densities_from_map/create.py index a260398..9995c0b 100644 --- a/atlas_densities/densities/mtype_densities_from_map/create.py +++ b/atlas_densities/densities/mtype_densities_from_map/create.py @@ -125,7 +125,7 @@ def _create_densities_for_metype(metype: str) -> Optional[Tuple[str, str]]: density = annotation_index.ravel(molecular_type_densities[molecular_type]) metype_density[region_indices] += density[region_indices] * coefficient - # reshape the 1d metype_density array ack to the annotation's shape + # reshape the 1d metype_density array back to the annotation's shape metype_density = annotation_index.unravel(metype_density) if np.any(metype_density):