Skip to content

Commit

Permalink
MNT: removing warnings from deprecated usage of logger.warn
Browse files Browse the repository at this point in the history
  • Loading branch information
psalvy committed Jun 4, 2020
1 parent e51ca07 commit 1e2e1e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytfa/thermo/utils.py
Expand Up @@ -76,7 +76,7 @@ def check_reaction_balance(reaction, proton = None):
'Cd', 'W', 'Hg', 'R', 'Mo', 'X'].index(atom[0])
except ValueError:
# Jorge Carrasco: Can we use warnings here?
reaction.model.logger.warn(
reaction.model.logger.warning(
'Warning : ' + metabolite.formula + '/' + atom[0]
)
continue
Expand Down

0 comments on commit 1e2e1e3

Please sign in to comment.