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_chains_to_seqs_nucleotide(self):
        """Tests for chains_to_seqs function using nucleotide pdb chains.
        """
        seqs, seqtypes = chains_to_seqs(self.test_pdb_chains_1)
        self.assertEqual(seqs, self.test_pdb_seqs_1)
    def test_chains_to_seqs_protein(self):
        """Tests for chains_to_seqs function using protein pdb chains.
        """
        seqs, seqtypes = chains_to_seqs(self.test_pdb_chains_2)
        self.assertEqual(seqs, self.test_pdb_seqs_2)

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_chains_to_seqs_nucleotide(self):
        """Tests for chains_to_seqs function using nucleotide pdb chains.
        """
        seqs, seqtypes = chains_to_seqs(self.test_pdb_chains_1)
        self.assertEqual(seqs, self.test_pdb_seqs_1)
    def test_chains_to_seqs_protein(self):
        """Tests for chains_to_seqs function using protein pdb chains.
        """
        seqs, seqtypes = chains_to_seqs(self.test_pdb_chains_2)
        self.assertEqual(seqs, self.test_pdb_seqs_2)