Did I find the right examples for you? yes no

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

src/p/y/pycogent-HEAD/tests/test_format/test_xyzrn.py   pycogent(Download)
from cogent.util.unit_test import TestCase
 
from cogent import FromFilenameStructureParser
from cogent.struct.selection import einput
from cogent.format import xyzrn
    def setUp(self):
        self.structure = FromFilenameStructureParser('data/1A1X.pdb')
        self.residues = einput(self.structure, 'R')
        self.atoms = einput(self.structure, 'A')
        self.residue8 = self.residues.values()[8]

src/c/o/cogent-1.5.3/tests/test_format/test_xyzrn.py   cogent(Download)
from cogent.util.unit_test import TestCase
 
from cogent import FromFilenameStructureParser
from cogent.struct.selection import einput
from cogent.format import xyzrn
    def setUp(self):
        self.structure = FromFilenameStructureParser('data/1A1X.pdb')
        self.residues = einput(self.structure, 'R')
        self.atoms = einput(self.structure, 'A')
        self.residue8 = self.residues.values()[8]