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

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

src/c/o/cogent-1.5.3/tests/test_parse/test_bowtie.py   cogent(Download)
"""
 
from cogent.parse.bowtie import BowtieOutputParser, BowtieToTable
from cogent.util.unit_test import TestCase, main
from cogent import LoadTable
    def test_parsing(self):
        """make sure that the bowtie output file is parsed properly"""
        parser = BowtieOutputParser(fname)
        header = parser.next()
        index = 0
    def test_no_row_converter(self):
        """setting row_converter=None returns strings"""
        # straight parser
        parser = BowtieOutputParser(fname, row_converter=None)
        header = parser.next()

src/p/y/pycogent-HEAD/tests/test_parse/test_bowtie.py   pycogent(Download)
"""
 
from cogent.parse.bowtie import BowtieOutputParser, BowtieToTable
from cogent.util.unit_test import TestCase, main
from cogent import LoadTable
    def test_parsing(self):
        """make sure that the bowtie output file is parsed properly"""
        parser = BowtieOutputParser(fname)
        header = parser.next()
        index = 0
    def test_no_row_converter(self):
        """setting row_converter=None returns strings"""
        # straight parser
        parser = BowtieOutputParser(fname, row_converter=None)
        header = parser.next()