From 01fb61eaac909b7b08b807bcb77cf66ab4af4a96 Mon Sep 17 00:00:00 2001 From: James Krieger Date: Thu, 14 Apr 2022 17:06:36 +0100 Subject: [PATCH] parsePDB consistent logging --- prody/proteins/pdbfile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prody/proteins/pdbfile.py b/prody/proteins/pdbfile.py index d014a21a5..707a68b6d 100644 --- a/prody/proteins/pdbfile.py +++ b/prody/proteins/pdbfile.py @@ -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.'