Did I find the right examples for you? yes no

All Samples(4)  |  Call(2)  |  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, \
        frac_same_known = 4/5.0
 
        seq1_aln, seq2_aln, frac_same = get_aligned_muscle(seq1,seq2)
 
        self.assertEqual(seq1_aln,seq1_aligned_known)

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, \
        frac_same_known = 4/5.0
 
        seq1_aln, seq2_aln, frac_same = get_aligned_muscle(seq1,seq2)
 
        self.assertEqual(seq1_aln,seq1_aligned_known)