Commit b88b299a authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Ignore unwritable property maps in purge_vertices() with in_place==True

parent 4ca52e7c
......@@ -1855,6 +1855,7 @@ class Graph(object):
self.set_vertex_filter(None)
for pmap in self.__known_properties.values():
if (pmap() is not None and pmap().key_type() == "v" and
pmap().is_writable() and
pmap() not in [self.vertex_index, self.edge_index]):
self.__graph.ReIndexVertexProperty(pmap()._PropertyMap__map.get_map(),
_prop("v", self, old_indexes))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment