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_asa_file(self):
        """Test parsing of pregenerated asa NACCESS file"""
        with open("PDB/1A8O.asa") as asa:
            naccess = process_asa_data(asa)
        self.assertEqual(len(naccess), 524)

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_asa_file(self):
        """Test parsing of pregenerated asa NACCESS file"""
        with open("PDB/1A8O.asa") as asa:
            naccess = process_asa_data(asa)
        self.assertEqual(len(naccess), 524)