Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Local bifurcation angle computation fails when a section has only one point #1078

@ssssarah

Description

@ssssarah

https://github.com/BlueBrain/NeuroM/blob/master/neurom/features/bifurcation.py#L57

For the following bifurcation point:

bif_point [Section(id=30, type=2, n_points=1)<parent: Section(id=29), nchildren: 0>, Section(id=31, type=2, n_points=1)<parent: Section(id=29), nchildren: 2>]

local_bifurcation_angle fails because there is only one point.

See .swc file from https://bbp.epfl.ch/nexus/web/bbp/mouselight/resources/https%3A%2F%2Fbbp.epfl.ch%2Fneurosciencegraph%2Fdata%2Fneuronmorphologies%2F1661d3d0-87b3-4978-89f6-99a601b1b706

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions