Skip to content

Commit

Permalink
fix: correct typo in warning (#703)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiaskoenig authored and Midnighter committed May 11, 2018
1 parent 11e9653 commit 17177d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cobra/core/metabolite.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def formula_weight(self):
return sum([count * elements_and_molecular_weights[element]
for element, count in self.elements.items()])
except KeyError as e:
warn("The element %s does not appear in the peridic table" % e)
warn("The element %s does not appear in the periodic table" % e)

@property
def y(self):
Expand Down

0 comments on commit 17177d2

Please sign in to comment.