Back to index

python-biopython  1.60
Public Member Functions | Public Attributes
Bio.FSSP.FSSPHeader Class Reference

List of all members.

Public Member Functions

def __init__
def fill_header

Public Attributes

 database
 pdbid
 header
 compnd
 source
 author
 seqlength
 nalign

Detailed Description

Definition at line 35 of file __init__.py.


Constructor & Destructor Documentation

Definition at line 36 of file __init__.py.

00036 
00037    def __init__(self):
00038       self.database = None
00039       self.pdbid = ''
00040       self.header = ''
00041       self.compnd = ''
00042       self.source = ''
00043       self.author = []
00044       self.seqlength = 0
      self.nalign = 0

Here is the caller graph for this function:


Member Function Documentation

def Bio.FSSP.FSSPHeader.fill_header (   self,
  inline 
)

Definition at line 45 of file __init__.py.

00045 
00046    def fill_header(self,inline):
00047       for i in header_records:
00048          if header_records[i].match(inline):
00049             if i == 'database' or i == 'seqlength' or i == 'nalign':
00050                setattr(self,i,int(inline.split()[1]))
00051             elif i == 'compnd' or i == 'author':
00052                setattr(self,i,inline.split()[1:])
00053             elif i == 'source' or i == 'header':
00054                attr = inline[inline.find(' ')+1:].strip()
00055                setattr(self,i,attr)
00056             else:
00057                setattr(self,i,inline.split()[1])

Here is the call graph for this function:


Member Data Documentation

Definition at line 42 of file __init__.py.

Definition at line 40 of file __init__.py.

Definition at line 37 of file __init__.py.

Definition at line 39 of file __init__.py.

Definition at line 44 of file __init__.py.

Definition at line 38 of file __init__.py.

Definition at line 43 of file __init__.py.

Definition at line 41 of file __init__.py.


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