catmaid / CATMAID

Collaborative Annotation Toolkit for Massive Amounts of Image Data
https://catmaid.org
GNU General Public License v3.0
188 stars 56 forks source link

Connectivity widget does not show connections through connector without associated (presynaptic) treenode #554

Open unidesigner opened 11 years ago

aschampion commented 10 years ago

Are you requesting for the connectivity widget to show neurons which are both postsynaptic to a common synapse as having some non-upstream or downstream connectivity?

ceesem commented 10 years ago

I think what this is saying is that the connectivity widget asks what neurons are pre/post-synaptic to the neurons in its selection. However, it's possible for a connector to be created without both pre- and post-synaptic nodes. Your skeleton can thus have a point where it is postsynaptic to a connector without a presynaptic node. The synapse is real, but the connectivity widget won't find it because of the lack of that node on the other side of the connector.

This case is caught by the Analytics widget. Either you can ignore it and trust that people will catch the problems using Analytics. Otherwise, one possible approach would be to include all presynaptic connectors and show them as associated with 0-node skeletons. However, this seems like it might be a different and slower query. If so, it's probably not worth the slowdown to handle the edge case that is noted elsewhere.