From 3dbcdacfab508299e1c59dcd3702fbac2e83eb72 Mon Sep 17 00:00:00 2001 From: Daniel Blankenberg Date: Mon, 27 Jan 2014 09:54:34 -0500 Subject: [PATCH] Fix for aggregate_scores_in_intervals.py broken in 95bf71620d50c6d81248eef2001a7dc156ae1088. --- tools/stats/aggregate_scores_in_intervals.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/stats/aggregate_scores_in_intervals.py b/tools/stats/aggregate_scores_in_intervals.py index ddf55181712..988dfb65a8c 100755 --- a/tools/stats/aggregate_scores_in_intervals.py +++ b/tools/stats/aggregate_scores_in_intervals.py @@ -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 )