Next / Previous / Contents / Shipman's homepage

13.2. BaseSpeciesSet.lookupSpec6()

Virtually identical to Section 13.1, “BaseSpeciesSet.lookupSpec4().

baseclasses.py
# - - -   B a s e S p e c i e s S e t . l o o k u p S p e c 6   - - -

    def lookupSpec6(self, code):
        '''Look up a 6-letter code.
        '''
        return self.spec6Map [ code.upper() ]