Did I find the right examples for you? yes no

All Samples(6)  |  Call(4)  |  Derive(0)  |  Import(2)

src/c/o/cogent-1.5.3/tests/test_format/test_pdb_color.py   cogent(Download)
#!/usr/bin/env python
from __future__ import division
from cogent.util.unit_test import TestCase, main
from cogent.util.misc import app_path
from cogent.format.pdb_color import get_aligned_muscle, make_color_list, \
    def test_get_chains_nucleotide(self):
        """Tests for get_chains function using nucleotide pdb lines.
        """
        chains_nuc = get_chains(TEST_PDB_STRING_1.split('\n'))
        self.assertEqual(chains_nuc, self.test_pdb_chains_1)
 
    def test_get_chains_protein(self):
        """Tests for get_chains function using protein pdb lines.
        """    
        chains_prot = get_chains(TEST_PDB_STRING_2.split('\n'))

src/p/y/pycogent-HEAD/tests/test_format/test_pdb_color.py   pycogent(Download)
#!/usr/bin/env python
from __future__ import division
from cogent.util.unit_test import TestCase, main
from cogent.util.misc import app_path
from cogent.format.pdb_color import get_aligned_muscle, make_color_list, \
    def test_get_chains_nucleotide(self):
        """Tests for get_chains function using nucleotide pdb lines.
        """
        chains_nuc = get_chains(TEST_PDB_STRING_1.split('\n'))
        self.assertEqual(chains_nuc, self.test_pdb_chains_1)
 
    def test_get_chains_protein(self):
        """Tests for get_chains function using protein pdb lines.
        """    
        chains_prot = get_chains(TEST_PDB_STRING_2.split('\n'))