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
        exp_seq_block=['before line']
        exp_motif_block=['=====MAP MAXIMIZATION RESULTS=====','after line']
        seq_block,motif_block = get_sequence_and_motif_blocks(seq_motif_lines)
        self.assertEqual(seq_block,exp_seq_block)
        self.assertEqual(motif_block,exp_motif_block)

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
        exp_seq_block=['before line']
        exp_motif_block=['=====MAP MAXIMIZATION RESULTS=====','after line']
        seq_block,motif_block = get_sequence_and_motif_blocks(seq_motif_lines)
        self.assertEqual(seq_block,exp_seq_block)
        self.assertEqual(motif_block,exp_motif_block)