An object of this class represents one of the taxonomic ranks or levels such as order, family, genus, and so on.
Attributes of a
Rank object include:
The short code for this rank; see Section 5.1, “The
ranks file” for a discussion of rank
Depth of the rank within the hierarchy: 0 for the
root rank, 1 for the next deeper rank, and so on.
This value is also the index of the rank within the
For example, if you have a
h[n] will have a
.depth attribute of
True if this rank is not required. For example,
some bird families are divided into subfamilies but
some are not, so the subfamily
object will have this attribute set to 1.
The number of digits in the taxonomic key for this rank.
The name of the rank, e.g.,