Back to index

python-biopython  1.60
Public Member Functions | Private Attributes
nextorf.MissingTable Class Reference

List of all members.

Public Member Functions

def __init__
def get

Private Attributes

 _table

Detailed Description

Definition at line 28 of file nextorf.py.


Constructor & Destructor Documentation

def nextorf.MissingTable.__init__ (   self,
  table 
)

Definition at line 29 of file nextorf.py.

00029 
00030   def __init__(self, table):
    self._table = table

Member Function Documentation

def nextorf.MissingTable.get (   self,
  codon,
  stop_symbol 
)

Definition at line 31 of file nextorf.py.

00031 
00032   def get(self, codon, stop_symbol):
00033     try:
00034       return self._table.get(codon, stop_symbol)
00035     except CodonTable.TranslationError:
00036       return 'X'
00037 
# Make the codon table given an existing table

Member Data Documentation

Definition at line 30 of file nextorf.py.


The documentation for this class was generated from the following file: