AllenInstitute / neuron_morphology

Tools for working with single-neuron morphological reconstructions
https://neuron-morphology.readthedocs.io/en/latest/
Other
19 stars 8 forks source link

Make parent-daughter ratio NaN-safe #179

Open wbwakeman opened 4 years ago

wbwakeman commented 4 years ago

In feature_extractor.mark, requires_radii will check whether nodes have 'radius' key. update to check if node has zero or nan-value and fail if not. So that any feature that requires radii will not run on those. Update validate function to check that radius is not zero or NaN. Update line in function from python.divide to numpy.divide.

@wbwakeman add info on failed EM case

Acceptance criteria: