Skip to content

Commit

Permalink
Unit test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rgerkin committed Oct 10, 2017
1 parent 0a25931 commit 00fda0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sciunit/scores.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def _check_score(self, score):
def sort_key(self):
"""Returns 1.0 for a percent score of 100, and 0.0 for 0."""

return self.score/100
return float(self.score)/100

def __str__(self):
return '%.1f%%' % self.score
Expand Down

0 comments on commit 00fda0a

Please sign in to comment.