Back to index

python-biopython  1.60
Public Member Functions | Public Attributes | Static Public Attributes
test_PAML_tools.Yn00Test Class Reference
Inheritance diagram for test_PAML_tools.Yn00Test:
Inheritance graph
[legend]
Collaboration diagram for test_PAML_tools.Yn00Test:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def setUp
def testYn00Binary

Public Attributes

 yn

Static Public Attributes

list del_files = []

Detailed Description

Tests for PAML tool yn00.

Definition at line 111 of file test_PAML_tools.py.


Member Function Documentation

Definition at line 114 of file test_PAML_tools.py.

00114 
00115     def setUp(self):
00116         self.yn = yn00.Yn00()

Test that the yn00 binary runs and generates correct output.
yn00 output does not specify the version number.

Definition at line 117 of file test_PAML_tools.py.

00117 
00118     def testYn00Binary(self):
00119         """Test that the yn00 binary runs and generates correct output.
00120         yn00 output does not specify the version number.
00121         """
00122         ctl_file = os.path.join("PAML", "Control_files", "yn00", "yn00.ctl")
00123         self.yn.read_ctl_file(ctl_file)
00124         self.yn.alignment = os.path.join("PAML", "Alignments", "alignment.phylip")
00125         self.yn.out_file = os.path.join("PAML", "temp.out")
00126         self.yn.working_dir = os.path.join("PAML", "yn00_test")
00127         results = self.yn.run()
00128         self.assertEqual(len(results), 5)
00129 


Member Data Documentation

list test_PAML_tools.Common.del_files = [] [static, inherited]

Definition at line 56 of file test_PAML_tools.py.

Definition at line 115 of file test_PAML_tools.py.


The documentation for this class was generated from the following file: