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/b/i/biopython-HEAD/Tests/test_PDB_KDTree.py   biopython(Download)
        "C module in Bio.KDTree not compiled")
 
from Bio.PDB.NeighborSearch import NeighborSearch
 
 
        for i in range(0, 20):
            atoms = [RandomAtom() for j in range(100)]
            ns = NeighborSearch(atoms)
            hits = ns.search_all(5.0)
            self.assertTrue(isinstance(hits, list), hits)

src/b/i/biopython-1.63/Tests/test_PDB_KDTree.py   biopython(Download)
        "C module in Bio.KDTree not compiled")
 
from Bio.PDB.NeighborSearch import NeighborSearch
 
 
        for i in range(0, 20):
            atoms = [RandomAtom() for j in range(100)]
            ns = NeighborSearch(atoms)
            hits = ns.search_all(5.0)
            self.assertTrue(isinstance(hits, list), hits)