Skip to content

Commit

Permalink
parsePDB consistent logging
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmkrieger committed May 19, 2022
1 parent 7f69384 commit 01fb61e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prody/proteins/pdbfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,11 +210,11 @@ def _parsePDB(pdb, **kwargs):
filename = fetchPDB(pdb, **kwargs)
if filename is None:
try:
LOGGER.info("Trying to parse mmCIF file instead")
LOGGER.warn("Trying to parse mmCIF file instead")
return parseMMCIF(pdb+chain, **kwargs)
except:
try:
LOGGER.info("Trying to parse EMD file instead")
LOGGER.warn("Trying to parse EMD file instead")
return parseEMD(pdb+chain, **kwargs)
except:
raise IOError('PDB file for {0} could not be downloaded.'
Expand Down

0 comments on commit 01fb61e

Please sign in to comment.