From ffa5bf89c358b2e22acdaf76ee1ce427775d4f18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20V=C3=A9ril?= Date: Tue, 13 Oct 2020 09:50:39 +0200 Subject: [PATCH] Improve assert readability --- 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 280fdfb6..615aedb6 100644 --- a/static/js/data.js +++ b/static/js/data.js @@ -265,7 +265,7 @@ class dataFileBase { if (DebugMode.Enabled) { const restflag=ex.type.Value & ex2.type.Value const result=restflag==ex.type.Value - console.assert(result, "Excitation type error", [ex, ex2, this.sourceFile]) + console.assert(result, "Excitation type error", data.molecule, ex, ex2, this.sourceFile) } ex.type = ex2.type }