Back to index

python-biopython  1.60
Classes | Functions
Bio.SCOP.Hie Namespace Reference

Classes

class  Record

Functions

def parse

Function Documentation

def Bio.SCOP.Hie.parse (   handle)
Iterates over a HIE file, returning a Hie record for each line
in the file.

Arguments:

    handle -- file-like object.

Definition at line 92 of file Hie.py.

00092 
00093 def parse(handle):
00094     """Iterates over a HIE file, returning a Hie record for each line
00095     in the file.
00096 
00097     Arguments:
00098 
00099         handle -- file-like object.
00100     """
00101     for line in handle:
00102         if line.startswith('#'):
00103             continue
00104         yield Record(line)