Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
luponzo86 committed Apr 30, 2020
1 parent d44a396 commit 7085d8d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rhapsody/features/Uniprot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 7085d8d

Please sign in to comment.