morphonets / SNT

The ImageJ framework for quantification of neuronal anatomy
https://imagej.net/plugins/snt
GNU General Public License v3.0
42 stars 18 forks source link

Link between branch point and child not drawn in 2D canvas #81

Closed carshadi closed 2 years ago

carshadi commented 2 years ago

Links between branch points and their children are not drawn in the 2D canvas as of version 4.0.6

image To Reproduce File > Load Tracings > Remote Databases > NeuroMorpho... and load neuron with ID VGlut-F-400787

tferr commented 2 years ago

OOps. Not sure why I did not notice it. I only tried with the OP_1 demo. Will look

tferr commented 2 years ago

@carshadi, I think 29a32b0 fixes this. If you have a chance, could you please double-check?

carshadi commented 2 years ago

It is fixed on my end 🙌

tferr commented 2 years ago

@carshadi , I am reopening this as I just noticed that things are still not fixed in Reconstruction Viewer (and likely not in scivew):

Left is the same neuron (VGlut-F-400787) in Rec. Viewer. On the right the (fixed) ImagePlus 2D canvas: image

tferr commented 2 years ago

The issue here was that the bulk of the nodes for that cell (the same for all FlyCircuit SWCs?) are tagged as 'Soma' and were never rendered as polylines. We probably should implement an option to ignore SWC type flags on import, as there are too many cases of weird tags everywhere. Closing for now.