Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove_vertex does not update properties #11

Open
christian34 opened this issue Oct 19, 2018 · 0 comments
Open

remove_vertex does not update properties #11

christian34 opened this issue Oct 19, 2018 · 0 comments
Assignees

Comments

@christian34
Copy link
Contributor

After removing a vertex with remove_vertex, properties are not updated.
further using _remove_vertex properties does the job.
Probably due to wrong call in tree.py (remove vertex does not return vid), line 535,536:

vid = super(PropertyTree, self).remove_vertex(vid, reparent_child=reparent_child) self._remove_vertex_properties(vid)

guessing that :

super(PropertyTree, self).remove_vertex(vid, reparent_child=reparent_child) self._remove_vertex_properties(vid)

should be okay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants