def run(self, pdb):
    'Run freesasa on provided PDB file\n\n        Parameters\n        ----------\n\n        pdb: str\n            Path to input PDB file\n\n        Returns\n        -------\n        list\n            SASA values for each atom of every model in the input PDB.\n\n        '
    structure_array = freesasa.structureArray(bytes(pdb, 'utf-8'), options=self.options, classifier=self.classifier)
    results = []
    for s in structure_array:
        print('Computing SASA for each model/frame')
        result = freesasa.calc(s)
        atom_areas = [result.atomArea(ndx) for ndx in range(s.nAtoms())]
        results.append(atom_areas)
    return results
Run freesasa on provided PDB file

Parameters
----------

pdb: str
    Path to input PDB file

Returns
-------
list
    SASA values for each atom of every model in the input PDB.
def run(self, pdb):
    'Run freesasa on provided PDB file\n\n        Parameters\n        ----------\n\n        pdb: str\n            Path to input PDB file\n\n        Returns\n        -------\n        list\n            SASA values for each atom of every model in the input PDB.\n\n        '
    structure_array = freesasa.structureArray(bytes(pdb, 'utf-8'), options=self.options, classifier=self.classifier)
    results = []
    for s in structure_array:
        print('Computing SASA for each model/frame')
        result = freesasa.calc(s)
        atom_areas = [result.atomArea(ndx) for ndx in range(s.nAtoms())]
        results.append(atom_areas)
    return results