Skip to content

Commit

Permalink
Merge pull request #1556 from jamesmkrieger/parsePDB_mmCIF_warn
Browse files Browse the repository at this point in the history
parsePDB consistent logging
  • Loading branch information
jamesmkrieger authored May 19, 2022
2 parents 7f69384 + 01fb61e commit 22b00f6
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 22b00f6

Please sign in to comment.