Package Biskit :: Module PDBParseModel :: Class PDBParseModel
[hide private]
[frames] | no frames]

Class PDBParseModel

source code


Instance Methods [hide private]
  update(self, model, source, skipRes=None, lookHarder=0)
Update empty or missing fields of model from the source.

Inherited from PDBParser.PDBParser: __init__, needsUpdate, parse2new

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__


Static Methods [hide private]
bool supports(source)
The method is static and can thus be called directly with the parser class rather than with an instance:
str description()
The method is static and can thus be called directly with the parser class rather than with an instance:

Properties [hide private]

Inherited from object: __class__


Method Details [hide private]

supports(source)
Static Method

source code 

The method is static and can thus be called directly with the parser class rather than with an instance:

>>> if ParsePDBModel.supports( model ):
>>>     ...
Returns: bool
True if the given source is supported by this parser implementation (equivalent to isinstance( source, PDBModel) )
Decorators:
Overrides: PDBParser.PDBParser.supports

description()
Static Method

source code 

The method is static and can thus be called directly with the parser class rather than with an instance:

>>> if ParsePDBModel.description():
>>>     ...
Returns: str
short free text description of the supported format
Decorators:
Overrides: PDBParser.PDBParser.description

update(self, model, source, skipRes=None, lookHarder=0)

source code 

Update empty or missing fields of model from the source. The model will be connected to the source via model.source. Override!
Parameters:
  • model (PDBModel) - existing model
  • source (str | file | PDBModel) - PDBModel object
  • skipRes ([ str ]) - list residue names that should not be parsed
Overrides: PDBParser.PDBParser.update