From 3c2d873458c82104e664d08c9cfa6409d8e3e4a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20V=C3=A9ril?= Date: Tue, 22 Sep 2020 15:04:33 +0200 Subject: [PATCH] Replace must by should in unsafe assetion --- static/js/data.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/data.js b/static/js/data.js index f7aee023..361d0385 100644 --- a/static/js/data.js +++ b/static/js/data.js @@ -346,7 +346,7 @@ class dataFileBase { console.assert(double.length === 0, "Double found", double, dat.molecule, dat.method.toString()) if (dat.set!== null && dat.set !== "10.1021/acs.jctc.8b01205") { for (const ex of dat.excitations) { - console.assert(Number.isNaN(ex.T1.valueOf()) | ex.T1 > 50 | ex.isUnsafe == true, "Must be unsafe", dat, ex) + console.assert(Number.isNaN(ex.T1.valueOf()) | ex.T1 > 50 | ex.isUnsafe == true, "should be unsafe", dat, ex) } for (const ex of dat.excitations) { console.assert(JSON.stringify(ex.initial)!==JSON.stringify(ex.final),"Final must be different to initial" dat, ex)