diff --git a/src/utils.py b/src/utils.py index 816f6b7c8..2f2c3adaf 100755 --- a/src/utils.py +++ b/src/utils.py @@ -289,7 +289,8 @@ def ellipsisify(s, n): return (textwrap.wrap(s, n-3)[0] + '...') plurals = TwoWayDictionary({'match': 'matches', - 'patch': 'patches',}) + 'patch': 'patches', + 'loss': 'losses'}) def _matchCase(s1, s2): """Matches the case of s1 in s2""" L = list(s2)