neurom.io.utils.load_neuron¶
-
neurom.io.utils.
load_neuron
(filename, tree_action=None)¶ Loads a neuron keeping a record of the filename. :param filename: the path of the file storing morphology data :param tree_action: optional function to run on each of the neuron’s :param neurite trees.:
Raises: - SomaError if no soma points in data.
- IDSequenceError if filename contains invalid ID sequence