| Index: bin/compare
|
| diff --git a/bin/compare b/bin/compare
|
| index fe489abadf660871a646f8f5029b21368cd6fb8a..e911f4a6c3db3021212b58a3a3ceb6c7d3558feb 100755
|
| --- a/bin/compare
|
| +++ b/bin/compare
|
| @@ -36,4 +36,5 @@ maxlen = max(map(len, common))
|
| bonferroni = SIGNIFICANCE_THRESHOLD / len(ps) # Adjust for the fact we've run multiple tests.
|
| for ratio, p, key, am, bm in ps:
|
| if p < bonferroni:
|
| - print '%*s\t%6s -> %6s\t%.2gx' % (maxlen, key, humanize(am), humanize(bm), ratio)
|
| + str_ratio = ('%.2gx' if ratio < 1 else '%.3gx') % ratio
|
| + print '%*s\t%6s -> %6s\t%s' % (maxlen, key, humanize(am), humanize(bm), str_ratio)
|
|
|