From dd9be0ea828b9611184925c7e19271fe08253786 Mon Sep 17 00:00:00 2001 From: "D. Berge" Date: Tue, 6 Oct 2020 18:34:33 +0200 Subject: [PATCH] Do not QC online data. It's kind of pointless at the moment (we will probably want a separate QC for online data) and it may cause shots to be, at least temporarily, flagged as having missing gun data. Closes #29. --- lib/www/server/lib/qc.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/www/server/lib/qc.js b/lib/www/server/lib/qc.js index 76de3cb..e098ae2 100644 --- a/lib/www/server/lib/qc.js +++ b/lib/www/server/lib/qc.js @@ -53,6 +53,8 @@ async function byShot (client) { INNER JOIN raw_shots_ij_error rse USING (sequence, point) LEFT JOIN final_shots fs USING (sequence, point) LEFT JOIN final_shots_ij_error fse USING (sequence, point) + WHERE + hash != '*online*' --WHERE -- NOT COALESCE(fs.meta, rsp.meta) ? 'qc' -- OR COALESCE(fs.meta, rsp.meta) @? '$.qc.sbs'