Fix for aggregate_scores_in_intervals.py broken in 95bf71620d50c6d81248eef2001a7dc156ae1088.

This commit is contained in:
Daniel Blankenberg
2014-01-27 09:54:34 -05:00
parent 28fa78bbc0
commit 3dbcdacfab
+1 -1
View File
@@ -201,7 +201,7 @@ def main():
continue
# Get the score, only count if not 'nan'
score = scores_by_chrom[chrom][j]
if not isNaN( score ):
if not isnan( score ):
total += score
count += 1
max_score = max( score, max_score )