git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@5421 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
chartl 2011-03-11 17:34:27 +00:00
parent aea0c733a4
commit 572b2707f2
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ def recalibrateJointly(files,JECDF):
def recalibrate(fname,hist,out):
print(fname)
output = open(out + "." + fname.rsplit(".",1)[0].rsplit(".",1)[1], 'w')
denom = sum(hist)
denom = sum(hist.values())
cumQuals = dict()
for key1 in hist:
sumLess = 0