diff --git a/pychunkedgraph/graph/edits.py b/pychunkedgraph/graph/edits.py index 2edfd3137..d2523715b 100644 --- a/pychunkedgraph/graph/edits.py +++ b/pychunkedgraph/graph/edits.py @@ -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)