funkelab / daisy

Block-wise task scheduling for large nD volumes.
MIT License
25 stars 16 forks source link

Dangling attributes #20

Closed pattonw closed 3 years ago

pattonw commented 4 years ago

Adds two toggles for read_edges and get_graph: targetting_edges: also return edges that have their target node in the queried roi. dangling_attrs: include dangling nodes so that their attributes are included in the graph.

Edge index needed to change to support this query. Instead of having a compound index on (u, v), we now create 2 indexes, one for u and one for v. This allows for equally efficient ( I think ) querying of u, more efficient querying of v ( compound index leads to a simple collection scan ), but less efficient ( I think ) querying of u, v pairs.

pattonw commented 4 years ago

Seems to pass current tests now. Still need to add new tests to test that new functionality works as intended.

pattonw commented 3 years ago

closing in favor of https://github.com/funkelab/daisy/pull/29