Next / Previous / Contents / Shipman's homepage

6.6. Txny.lookupTxKey()

Retrieves a Taxon by its numeric key.

xnomo3.py
# - - -   T x n y . l o o k u p T x K e y   - - -

    def lookupTxKey ( self, txKey ):
        """Look up a taxon by phylogenetic key number.
        """
        return self.__txKeyMap [ txKey ]