From 8ee43bea81f019f603b80c7863c6df1907761248 Mon Sep 17 00:00:00 2001 From: Niclas Jareborg Date: Tue, 1 Apr 2014 16:48:02 +0200 Subject: [PATCH] Exclude Metagenome from goal calculation --- goals.js | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/goals.js b/goals.js index 0c1c805..8168fc3 100644 --- a/goals.js +++ b/goals.js @@ -25,14 +25,13 @@ function generateStandardRunchartDataset (jsonview, dateRangeStart, dateRangeEnd var pf = keys[3]; // platform //var sid = keys[4]; // sample id if(type != "Production") { continue; } - if (appl != "Exome capture" && - appl != "RNA-seq (total RNA)" && - appl != "WG re-seq" && - appl != "Metagenome") { + if (appl != "Exome capture" + && appl != "RNA-seq (total RNA)" + && appl != "WG re-seq" + ) { continue; } - - + var sampleDateFrom = values[dateFromKey]; var sampleDateTo = values[dateToKey]; var numSamples = values["Samples"];