Skip to content

Commit 6396328

Browse files
committed
fix: parent and roots no cache
1 parent 9b2e17a commit 6396328

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pychunkedgraph/graph/edits.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,9 +308,9 @@ def _process_l2_agglomeration(
308308
cross_edges = [agg.out_edges.get_pairs(), agg.cross_edges.get_pairs()]
309309
cross_edges = np.concatenate(cross_edges)
310310

311-
parents = cg.get_parents(cross_edges[:, 0], time_stamp=parent_ts)
311+
parents = cg.get_parents(cross_edges[:, 0], time_stamp=parent_ts, raw_only=True)
312312
assert np.unique(parents).size == 1, "got cross edges from more than one l2 node"
313-
root = cg.get_root(parents[0], time_stamp=parent_ts)
313+
root = cg.get_root(parents[0], time_stamp=parent_ts, raw_only=True)
314314

315315
# inactive edges must be filtered out
316316
# we must avoid the cache to read roots to get segment state before edit began

0 commit comments

Comments
 (0)