This method generates the contained
BirdForm objects in order by their key in
self._seqMap, which orders them in the same
order they were added.
# - - - D a y N o t e s . g e n F o r m s S e q def genFormsSeq(self): """Generate contained forms in phylogenetic order. """ #-- 1 -- # [ keyList := keys from self.txMap in ascending order ] keyList = self._seqMap.keys() keyList.sort() #-- 2 -- # [ generate the values from self._txMap in order by the # elements of keyList ] for key in keyList: yield self._seqMap[key]