From 2b3c203070f6712c3627880d422845d00ad3b5bd Mon Sep 17 00:00:00 2001 From: luponzo86 Date: Wed, 29 Apr 2020 23:46:41 -0700 Subject: [PATCH] - --- rhapsody/features/Uniprot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rhapsody/features/Uniprot.py b/rhapsody/features/Uniprot.py index 0c1594e..0966755 100644 --- a/rhapsody/features/Uniprot.py +++ b/rhapsody/features/Uniprot.py @@ -177,9 +177,9 @@ def alignCustomPDB(self, PDB, chain='all', title=None, recover=False): pdb = pd.parsePDB(PDB, subset='calpha') except Exception as e: msg = ( - 'Unable to import PDB: PDB ID might be invalid or ', + 'Unable to import PDB: PDB ID might be invalid or ' f'PDB file might be corrupted. Error message: {e}') - raise LOGGER.error(msg) + LOGGER.error(msg) if title is None: title = os.path.basename(PDB.strip()) title = title.replace(' ', '_')