Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tiago Peixoto
graph-tool
Commits
b88b299a
Commit
b88b299a
authored
Apr 30, 2014
by
Tiago Peixoto
Browse files
Ignore unwritable property maps in purge_vertices() with in_place==True
parent
4ca52e7c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/graph_tool/__init__.py
View file @
b88b299a
...
...
@@ -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
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment