Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/c/o/cogent-1.5.3/tests/test_parse/test_gibbs.py   cogent(Download)
from cogent.parse.record import DelimitedSplitter
from cogent.parse.record_finder import LabeledRecordFinder
from cogent.parse.gibbs import get_sequence_and_motif_blocks, get_sequence_map,\
    get_motif_blocks, get_motif_sequences, get_motif_p_value, guess_alphabet,\
    build_module_objects, module_ids_to_int, GibbsParser
    def test_get_sequence_map(self):
        """get_sequence_map tests."""
        sequence_map = get_sequence_map(self.gibbs_lines)
        self.assertEqual(sequence_map,self.sequence_map)
 

src/p/y/pycogent-HEAD/tests/test_parse/test_gibbs.py   pycogent(Download)
from cogent.parse.record import DelimitedSplitter
from cogent.parse.record_finder import LabeledRecordFinder
from cogent.parse.gibbs import get_sequence_and_motif_blocks, get_sequence_map,\
    get_motif_blocks, get_motif_sequences, get_motif_p_value, guess_alphabet,\
    build_module_objects, module_ids_to_int, GibbsParser
    def test_get_sequence_map(self):
        """get_sequence_map tests."""
        sequence_map = get_sequence_map(self.gibbs_lines)
        self.assertEqual(sequence_map,self.sequence_map)