INNER CODE UNIT · Python
__init__
PDBeurope/arpeggio · arpeggio/core/exceptions.py:8
def __init__(self):
logging.error('Please remove all hydrogens from the structure then re-run.')
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):