scikit-bio is back in active development! Check out our announcement of revitalization.

skbio.tree.TreeNode.invalidate_caches#

TreeNode.invalidate_caches(attr=True)[source]#

Delete lookup and attribute caches.

Parameters:
attrbool, optional

If True, invalidate attribute caches created by TreeNode.cache_attr.