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.py   biopython(Download)
from Bio.PDB import Residue, Atom
from Bio.PDB import make_dssp_dict
from Bio.PDB.NACCESS import process_asa_data, process_rsa_data
 
 
    def test_NACCESS_rsa_file(self):
        """Test parsing of pregenerated rsa NACCESS file"""
        with open("PDB/1A8O.rsa") as rsa:
            naccess = process_rsa_data(rsa)
        self.assertEqual(len(naccess), 66)

src/b/i/biopython-1.63/Tests/test_PDB.py   biopython(Download)
from Bio.PDB import Residue, Atom
from Bio.PDB import make_dssp_dict
from Bio.PDB.NACCESS import process_asa_data, process_rsa_data
 
 
    def test_NACCESS_rsa_file(self):
        """Test parsing of pregenerated rsa NACCESS file"""
        with open("PDB/1A8O.rsa") as rsa:
            naccess = process_rsa_data(rsa)
        self.assertEqual(len(naccess), 66)