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_ncbi_taxonomy.py   cogent(Download)
#!/usr/bin/env python
"""Tests of parsers for dealing with NCBI Taxonomy files.
"""
 
from cogent.parse.ncbi_taxonomy import MissingParentError, NcbiTaxon, \
    def setUp(self):
        """Sets up the class tests"""
        self.names = list(NcbiNameParser(good_names))
        self.nodes = list(NcbiTaxonParser(good_nodes))
        self.taxID_to_obj = NcbiTaxonLookup(self.nodes)

src/p/y/pycogent-HEAD/tests/test_parse/test_ncbi_taxonomy.py   pycogent(Download)
#!/usr/bin/env python
"""Tests of parsers for dealing with NCBI Taxonomy files.
"""
 
from cogent.parse.ncbi_taxonomy import MissingParentError, NcbiTaxon, \
    def setUp(self):
        """Sets up the class tests"""
        self.names = list(NcbiNameParser(good_names))
        self.nodes = list(NcbiTaxonParser(good_nodes))
        self.taxID_to_obj = NcbiTaxonLookup(self.nodes)