INNER CODE UNIT · Python
OBBioMatchError
PDBeurope/arpeggio · arpeggio/core/exceptions.py:12
class OBBioMatchError(Exception):
def __init__(self, serial=''):
if not serial:
logging.error('An OpenBabel atom could not be matched to a BioPython counterpart.')
else:
logging.error(f'OpenBabel OBAtom with serial number {serial} could not be matched to a BioPython counterpart.')
class AtomSerialError(Exception):
def __init__(self):
logging.error('One or more atom serial numbers are duplicated.')
class SiftMatchError(Exception):