Skip to content

Commit

Permalink
logger progress check level fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmkrieger committed May 17, 2022
1 parent 95d09f8 commit a257f98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion prody/utilities/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,8 @@ def progress(self, msg, steps, label=None, **kwargs):

if not hasattr(self, '_verb'):
self._verb = self._getverbosity()
self._setverbosity('progress')
if self._level < logging.WARNING:
self._setverbosity('progress')
self._n_progress += 1

def update(self, step, msg=None, label=None):
Expand Down

0 comments on commit a257f98

Please sign in to comment.