One last little thing, I swear

git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@5423 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
chartl 2011-03-11 17:37:40 +00:00
parent be1f6af815
commit 4a09d25a90
1 changed files with 2 additions and 2 deletions

View File

@ -21,9 +21,9 @@ def recalibrate(fname,hist,out):
denom = sum(hist.values())
cumQuals = dict()
for key1 in hist:
sumMore = 1
sumMore = 0
for key2 in hist:
if ( key2 > key1 ):
if ( key2 >= key1 ):
sumMore += hist[key2]
cumQuals[key1] = min(int(-10*log10((0.0+sumMore)/denom)),150)
use = parseTDF