Skip to content

Commit

Permalink
server.py: Fix bug in rerooting.
Browse files Browse the repository at this point in the history
Related to commit 0110705, where I forgot to change this line!
  • Loading branch information
jordibc committed Nov 8, 2023
1 parent 3e45102 commit 476ec80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ete4/smartview/gui/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ def callback(tree_id):
abort(400, 'operation not allowed with subtree')

node_id = req_json()
tree_data.tree.set_outgroup(tree.tree[node_id])
tree_data.tree.set_outgroup(tree_data.tree[node_id])
ops.update_sizes_all(tree_data.tree)
return {'message': 'ok'}

Expand Down

0 comments on commit 476ec80

Please sign in to comment.