Skip to content

Commit

Permalink
fix(edits): ignore new ids in neighbor update
Browse files Browse the repository at this point in the history
  • Loading branch information
akhileshh committed Jan 14, 2024
1 parent 026486d commit 0723352
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pychunkedgraph/graph/edits.py
Original file line number Diff line number Diff line change
Expand Up @@ -603,6 +603,9 @@ def _update_skipped_neighbors(self, node, layer, parent_layer):
layer_edges = cx_edges_d.get(l, types.empty_2d)
neighbors = layer_edges[:, 1]
for n in neighbors:
if n in self._new_old_id_d:
# ignore new ids
continue
res = self._update_neighbor_parents(n, parent_layer, updated_parents)
updated_parents.update(res)

Expand Down

0 comments on commit 0723352

Please sign in to comment.