From 033ba8989ea279d118c396c0f0cc1ebc809fe60b Mon Sep 17 00:00:00 2001 From: Akhilesh Halageri Date: Tue, 10 Dec 2024 17:30:08 +0000 Subject: [PATCH] test without going to svs --- pychunkedgraph/ingest/upgrade/parent_layer.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pychunkedgraph/ingest/upgrade/parent_layer.py b/pychunkedgraph/ingest/upgrade/parent_layer.py index 6f0b08711..b5d288d07 100644 --- a/pychunkedgraph/ingest/upgrade/parent_layer.py +++ b/pychunkedgraph/ingest/upgrade/parent_layer.py @@ -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():