From 7085d8d9894c31d1f0b6ba010800e8c88cba1be5 Mon Sep 17 00:00:00 2001 From: luponzo86 Date: Wed, 29 Apr 2020 22:36:42 -0700 Subject: [PATCH] - --- rhapsody/features/Uniprot.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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())