INNER CODE UNIT · Python
__init__
PDBeurope/arpeggio · arpeggio/core/exceptions.py:14
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):
def __init__(self):