Back to index

python-biopython  1.60
Public Member Functions | Public Attributes | Static Private Attributes
Bio.FSSP.fssp_rec.fff_rec Class Reference

List of all members.

Public Member Functions

def __init__
def __repr__
def __len__
def __getitem__

Public Attributes

 data

Static Private Attributes

 __str__ = __repr__

Detailed Description

Definition at line 2 of file fssp_rec.py.


Constructor & Destructor Documentation

def Bio.FSSP.fssp_rec.fff_rec.__init__ (   self,
  inrec = '' 
)

Definition at line 3 of file fssp_rec.py.

00003 
00004    def __init__(self,inrec=''):
      self.data = inrec

Here is the caller graph for this function:


Member Function Documentation

def Bio.FSSP.fssp_rec.fff_rec.__getitem__ (   self,
  index 
)

Definition at line 12 of file fssp_rec.py.

00012 
00013    def __getitem__(self,index):
00014       if isinstance(index, slice):
00015          return self.data[index]
00016       elif (isinstance(index, tuple) or isinstance(index, list)) \
00017       and len(index) == 2:
00018          #Not sure if this is needed anymore:
00019          return self.data[index[0]:index[1]]
00020       else:
00021          return self.data[index]
00022 
# Definition of the align section in a FSSP file

Here is the caller graph for this function:

Definition at line 9 of file fssp_rec.py.

00009 
00010    def __len__(self):
00011       return len(self.data)
   

Definition at line 5 of file fssp_rec.py.

00005 
00006    def __repr__(self):
      return str(self.data)

Member Data Documentation

Definition at line 7 of file fssp_rec.py.

Definition at line 4 of file fssp_rec.py.


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