Skip to content

Commit

Permalink
server.py: Fix special case when the collapsed branch is the full tree.
Browse files Browse the repository at this point in the history
  • Loading branch information
jordibc committed Jan 25, 2024
1 parent f54c304 commit 3d00a20
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 @@ -776,7 +776,7 @@ def get_drawer(tree_id, args):
(get('rmin', 0), 0,
get('amin', -180) * pi/180, get('amax', 180) * pi/180))

collapsed_ids = set(tuple(int(i) for i in node_id.split(','))
collapsed_ids = set(tuple(int(i) for i in node_id.split(',') if i != '')
for node_id in json.loads(args.get('collapsed_ids', '[]')))

ultrametric = args.get('ultrametric') == '1' # asked for ultrametric?
Expand Down

0 comments on commit 3d00a20

Please sign in to comment.