Back to index

python-biopython  1.60
Classes | Functions | Variables
test_SeqIO_AbiIO Namespace Reference

Classes

class  TestAbi
class  TestAbiWrongMode
class  TestAbiFake

Functions

def open_files
def open_files_wrong_mode
def close_files

Variables

dictionary test_data
dictionary test_data_fake
tuple runner = unittest.TextTestRunner(verbosity = 2)

Function Documentation

def test_SeqIO_AbiIO.close_files (   test_array)

Definition at line 84 of file test_SeqIO_AbiIO.py.

00084 
00085 def close_files(test_array):
00086     for trace in test_array:
00087         test_array[trace]['handle'].close()

Here is the caller graph for this function:

def test_SeqIO_AbiIO.open_files (   test_array)

Definition at line 76 of file test_SeqIO_AbiIO.py.

00076 
00077 def open_files(test_array):
00078     for trace in test_array:
00079         test_array[trace]['handle'] = open(join(*test_array[trace]['path']), 'rb')

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 80 of file test_SeqIO_AbiIO.py.

00080 
00081 def open_files_wrong_mode(test_array):
00082     for trace in test_array:
00083         test_array[trace]['handle'] = open(join(*test_array[trace]['path']))

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

tuple test_SeqIO_AbiIO.runner = unittest.TextTestRunner(verbosity = 2)

Definition at line 146 of file test_SeqIO_AbiIO.py.

Definition at line 15 of file test_SeqIO_AbiIO.py.

Initial value:
00001 {
00002 'fake': {
00003               'path': ['Abi', 'fake.ab1'],
00004              }
00005 }

Definition at line 70 of file test_SeqIO_AbiIO.py.