Skip to content

Commit

Permalink
test without going to svs
Browse files Browse the repository at this point in the history
  • Loading branch information
akhileshh committed Dec 10, 2024
1 parent 47f2d2f commit 033ba89
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pychunkedgraph/ingest/upgrade/parent_layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,9 @@ def update_cross_edges(cg: ChunkedGraph, layer, node, node_ts, earliest_ts) -> l
if edges.size == 0:
continue
nodes = np.unique(edges[:, 1])
svs = get_supervoxels(cg, nodes)
parents = cg.get_roots(svs, time_stamp=ts, stop_layer=layer, ceil=False)
# svs = get_supervoxels(cg, nodes)
# parents = cg.get_roots(svs, time_stamp=ts, stop_layer=layer, ceil=False)
parents = cg.get_roots(nodes, time_stamp=ts, stop_layer=layer, ceil=False)
edge_parents_d = dict(zip(nodes, parents))
val_dict = {}
for _layer, layer_edges in cx_edges_d.items():
Expand Down

0 comments on commit 033ba89

Please sign in to comment.