Table of Contents

Module: ReseekFile Bio/ReseekFile.py

wrapper around a file handle to allow reseeks to the beginning

This will only seek back to the initial position, and only handles the read method, which is all that Martel uses.

Imported modules   
from cStringIO import StringIO
Functions   
prepare_input_source
test
test_reads
  prepare_input_source 
prepare_input_source ( source )

  test 
test ()

Exceptions   
AssertionError( "Cannot seek here!" )
AssertionError( "Cannot tell here!" )
  test_reads 
test_reads (
        test_s,
        file,
        seek0,
        )

Classes   
ReseekFile

Table of Contents

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