Table of Contents

Class: _RecordConsumer Bio/Prosite/Prodoc.py

Consumer that converts a Prodoc record to a Record object.

Members: data Record with Prodoc data.

Base Classes   
AbstractConsumer
Methods   
__init__
_clean_data
accession
end_record
prosite_reference
reference
start_record
text
  __init__ 
__init__ ( self )

  _clean_data 
_clean_data ( self )

  accession 
accession ( self,  line )

Exceptions   
SyntaxError, "I don't understand accession line\n%s" % line
SyntaxError, "Invalid accession in line\n%s" % line
  end_record 
end_record ( self )

  prosite_reference 
prosite_reference ( self,  line )

Exceptions   
SyntaxError, "I don't understand accession line\n%s" % line
  reference 
reference ( self,  line )

Exceptions   
"I don't understand the reference line\n%s" % line
SyntaxError, "Unnumbered reference lines\n%s" % line
  start_record 
start_record ( self )

  text 
text ( self,  line )


Table of Contents

This document was automatically generated on Mon Jul 1 12:02:53 2002 by HappyDoc version 2.0.1