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:
  1. a single root node with parent ID ‘-1’
  2. sequentially increasing ID numbers
  3. immediate children of the soma cannot branch