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(' ', '_')