Logo Search packages:      
Sourcecode: python-biopython version File versions  Download package

def Bio::Enzyme::_Scanner::feed (   self,
  handle,
  consumer 
)
feed(self, handle, consumer)

Feed in Enzyme data for scanning.  handle is a file-like object
that contains keyword information.  consumer is a Consumer
object that will receive events as the report is scanned.

Definition at line 31 of file __init__.py.

                                    :
        """feed(self, handle, consumer)

        Feed in Enzyme data for scanning.  handle is a file-like object
        that contains keyword information.  consumer is a Consumer
        object that will receive events as the report is scanned.

        """
        if isinstance(handle, File.UndoHandle):
            uhandle = handle
        else:
            uhandle = File.UndoHandle(handle)

        while not is_blank_line(uhandle.peekline()):   # Am I done yet?
            self._scan_record(uhandle, consumer)


Generated by  Doxygen 1.6.0   Back to index