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.
Replace detection of soma type from static to dynamic? #314
Open
Description
If morphology is built dynamically then it always has SomaType.SOMA_UNDEFINED
.
from morphio.mut import Morphology
morpho = Morphology()
morpho.soma.points = [[0, 0, 0]]
morpho.soma.diameters = [1, 1]
print(morpho.soma.type)
# SomaType.SOMA_UNDEFINED
Dynamic detection poses a question. How to detect soma types that exist only for SWC? For example SOMA_CYLINDERS
?
Metadata
Metadata
Assignees
Labels
No labels