Back to index

python-biopython  1.60
Public Member Functions | Public Attributes | Private Member Functions
Bio.Wise.psw.AlignmentColumn Class Reference

List of all members.

Public Member Functions

def __init__
def __repr__
def append

Public Attributes

 kind

Private Member Functions

def _set_kind

Detailed Description

Definition at line 39 of file psw.py.


Constructor & Destructor Documentation

def Bio.Wise.psw.AlignmentColumn.__init__ (   self,
  column_unit 
)

Definition at line 44 of file psw.py.

00044 
00045     def __init__(self, column_unit):
00046         assert column_unit.unit == 0
00047         self.kind = column_unit.kind
00048         list.__init__(self, [column_unit.column, None])


Member Function Documentation

Definition at line 49 of file psw.py.

00049 
00050     def __repr__(self):
00051         return "%s(%s, %s)" % (self.kind, self[0], self[1])

def Bio.Wise.psw.AlignmentColumn._set_kind (   self,
  column_unit 
) [private]

Definition at line 40 of file psw.py.

00040 
00041     def _set_kind(self, column_unit):
00042         if self.kind == "SEQUENCE":
00043             self.kind = column_unit.kind

Here is the caller graph for this function:

def Bio.Wise.psw.AlignmentColumn.append (   self,
  column_unit 
)

Definition at line 52 of file psw.py.

00052 
00053     def append(self, column_unit):
00054         if self[1] is not None:
00055             raise AlignmentColumnFullException
00056 
00057         assert column_unit.unit == 1
00058 
00059         self._set_kind(column_unit)
00060         self[1] = column_unit.column
        

Here is the call graph for this function:


Member Data Documentation

Definition at line 41 of file psw.py.


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