Table of Contents

Class: FormatRegistry Bio/FormatRegistry.py
Methods   
__getitem__
__init__
_autoload
find_builder
find_writer
get
items
keys
link
normalize
register_format
values
  __getitem__ 
__getitem__ ( self,  name )

  __init__ 
__init__ ( self,  loadpath )

  _autoload 
_autoload ( self )

  find_builder 
find_builder (
        self,
        from_format,
        to_io,
        )

Exceptions   
TypeError("Cannot find builder for %r" %( to_class_name, ) )
  find_writer 
find_writer (
        self,
        from_io,
        to_format,
        outfile,
        )

Exceptions   
TypeError("Cannot find writer for %r" %( from_class_name, ) )
  get 
get (
        self,
        name,
        default=None,
        )

  items 
items ( self )

  keys 
keys ( self )

  link 
link (
        self,
        parent,
        child,
        filter=None,
        before=None,
        after=None,
        parent_before=None,
        parent_after=None,
        )

Exceptions   
TypeError( "Cannot specify both 'before' and 'after'" )
TypeError( "Cannot specify both 'parent_before' and 'parent_after'" )
TypeError("child (%s) not found in registery" %( child, ) )
TypeError("multirecord must be the same for parent (%d) and child(%d)" %( parent.multirecord, child.multirecord ) )
TypeError("parent (%s) not found in registery" %( parent, ) )
TypeError("will not add a cycle between %r and %r" %( parent.name, child.name ) )
  normalize 
normalize ( self,  name_or_format )

  register_format 
register_format ( self,  **kwargs )

Exceptions   
TypeError("%r is a duplicate entry" %( abbrev, ) )
TypeError("%r is a duplicate entry" %( name, ) )
  values 
values ( self )


Table of Contents

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