PDBParser.get#

PDBParser.get(key, default)#

Retrieve a value from the internal data using a given key. If the key does not exist, return a default value.

Parameters:
keystr
The key to use for retrieving the corresponding value from

the internal data.

defaultAny

The value to return if the key does not exist in the internal data.

Returns:
value

The value associated with the provided key in the internal data, or the default value if the key does not exist.