Skip to content

Commit

Permalink
Cosmetic fix to metric titles.
Browse files Browse the repository at this point in the history
  • Loading branch information
kalekundert committed Apr 11, 2018
1 parent 579574d commit 499af62
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pull_into_place/structures.py
Expand Up @@ -885,6 +885,7 @@ def boxify(df): #
class ScoreMetadata(object):

def __init__(self, title, dir='-', unit=None, guide=None, lower=None, upper=None, order=None, name=None):
title = title.strip()
self.raw_title = title
self.title = '{0} ({1})'.format(title, unit) if unit else title
self.unit = unit
Expand Down

0 comments on commit 499af62

Please sign in to comment.