From d71655ba1d0c57134e20434a40090dc31155d4db Mon Sep 17 00:00:00 2001 From: Brian Moe <brian.moe@ligo.org> Date: Thu, 21 Jun 2012 17:55:36 -0500 Subject: [PATCH] Took out all but total submission rates. (performance reasons) --- gracedb/reports.py | 11 +++++++---- templates/gracedb/histogram.html | 10 +++++----- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/gracedb/reports.py b/gracedb/reports.py index db4c634f3..b01577193 100644 --- a/gracedb/reports.py +++ b/gracedb/reports.py @@ -55,12 +55,15 @@ def rate_data(request): window_size = day types = [ - ("LM", Q(analysisType="LM")), - ("Omega", Q(analysisType="Omega")), - ("CWB", Q(analysisType="CWB")), - ("MBTA", Q(analysisType="MBTA")), ("total", Q()), ] +# types = [ +# ("LM", Q(analysisType="LM")), +# ("Omega", Q(analysisType="Omega")), +# ("CWB", Q(analysisType="CWB")), +# ("MBTA", Q(analysisType="MBTA")), +# ("total", Q()), +# ] ts = ts_min n = 1 diff --git a/templates/gracedb/histogram.html b/templates/gracedb/histogram.html index 70a258c5b..19ab15124 100644 --- a/templates/gracedb/histogram.html +++ b/templates/gracedb/histogram.html @@ -62,11 +62,11 @@ function toggle(id) { chart.addAxis("x", {labelFunc:xlabel}); chart.addAxis("y", { vertical: true }); - chart.addSeries("Total", timeData['total']); - chart.addSeries("Low Mass", timeData['LM']); - chart.addSeries("Omega", timeData['Omega']); - chart.addSeries("MBTA", timeData['MBTA']); - chart.addSeries("cWB", timeData['CWB']); + chart.addSeries("Total / Day", timeData['total']); + // chart.addSeries("Low Mass", timeData['LM']); + // chart.addSeries("Omega", timeData['Omega']); + // chart.addSeries("MBTA", timeData['MBTA']); + // chart.addSeries("cWB", timeData['CWB']); chart.render(); -- GitLab