natverse / nat

NeuroAnatomy Toolbox: An R package for the (3D) visualisation and analysis of biological image data, especially tracings of single neurons.
https://natverse.org/nat/
64 stars 28 forks source link

nTrees in summary #461

Closed dokato closed 3 years ago

dokato commented 3 years ago

For convenience, I thought that it'd be nice to have nTrees field in neuronlist summary. I gave it a go with implementation but noticed that some neurons don't have that field, for example:

Cell07PNs[[1]]

is there a reason for that @jefferis ?

jefferis commented 3 years ago

No. Just some old neurons didn't have it when they only had one tree. There is no versioning of the neuron data model I'm afraid. So you would just have to say nTrees=1 when it is missing if you are adding to the summary (which would be great).