mkt.databases.conservation.KLIFSDisplayLeaf

class mkt.databases.conservation.KLIFSDisplayLeaf(members: list[int], kind: str)[source]

Bases: object

A leaf row of the display tree: a collapsed clade or aggregated singletons.

Variables:
  • members (list[int]) – Leaf indices (into KLIFSHierarchicalConservation.names) in this row.

  • kind (str) – "clade" (a collapsed subtree) or "singleton" (a single peeled leaf, present only when singleton aggregation is disabled).

__init__(members: list[int], kind: str) None

Methods

__eq__(other)

Return self==value.

__init__(members, kind)

Attributes

__dataclass_fields__

__dataclass_params__

__match_args__

members

kind

__init__(members: list[int], kind: str) None
kind: str
members: list[int]