diff --git a/rhapsody/features/Uniprot.py b/rhapsody/features/Uniprot.py index e2cb0d3..d411f23 100644 --- a/rhapsody/features/Uniprot.py +++ b/rhapsody/features/Uniprot.py @@ -176,8 +176,7 @@ def alignCustomPDB(self, PDB, chain='all', title=None, recover=False): try: pdb = pd.parsePDB(PDB, subset='calpha') except Exception as e: - msg = ('Invalid PDB structure: the file might be ' - f'corrupted or contain errors. Error message: {e}') + msg = (f'Invalid PDB ID or PDB file: {e}') raise LOGGER.error(msg) if title is None: title = os.path.basename(PDB.strip())