etetoolkit / ete

Python package for building, comparing, annotating, manipulating and visualising trees. It provides a comprehensive API and a collection of command line tools, including utilities to work with the NCBI taxonomy tree.
http://etetoolkit.org
GNU General Public License v3.0
773 stars 216 forks source link

set determination for popup_prop_keys #680

Closed dengzq1234 closed 1 year ago

dengzq1234 commented 1 year ago

The change I made is to prevent popup_prop_keys goes to [] if the tree comes from local instead of post.

Using example in https://github.com/dengzq1234/ete4_gallery/blob/master/ete4_textface.py, without determination, the popup_prop_keys will be [] because data comes from local instead of post, hence the tree won't have popup_prop_keys

dengzq1234 commented 1 year ago

problem solved in commit #d3039c5