mapmanager / MapManagerCore

A Python library with the core functionality of MapManager
0 stars 0 forks source link

Adding a new spine does not find the correct (brightest) line to its segment. #15

Closed cudmore closed 4 months ago

cudmore commented 5 months ago

Adding a new spine does not find the correct (brightest) line to its segment.

The function newSpine() used from both scripts and during runtime in PyMapManager is getting a connection, e.g. an (x,y) spine anchor, to the segment but it is not the brightest line to the segment.

For example:

newSpineId = MapAnnotations.addSpine(segmentId=(segmentID,_t), x=x, y=y, z=z)
cudmore commented 4 months ago

I fixed this and it is in my dev branch.