allensdk.morphology.validate_swc module
-
allensdk.morphology.validate_swc.main()[source]
-
allensdk.morphology.validate_swc.validate_swc(swc_file)[source]
- To be compatible with NEURON, SWC files must have the following properties:
- a single root node with parent ID ‘-1’
- sequentially increasing ID numbers
- immediate children of the soma cannot branch