From be116ca2dbd8b9555231e1eda8311f7f284e17c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20V=C3=A9ril?= Date: Sun, 12 Jan 2020 17:44:49 +0100 Subject: [PATCH] Combine all basis for statistics --- content/multipledataset.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/multipledataset.html b/content/multipledataset.html index b0a5d937..303f885b 100644 --- a/content/multipledataset.html +++ b/content/multipledataset.html @@ -156,7 +156,7 @@ draft: false var refstr = $("#sel_ref option:selected").val() var sdatdic = new Map() for (const d of window.filtData) { - const key = JSON.stringify([d.code, d.method, d.DOI.string]) + const key = JSON.stringify([d.code, d.method.name, d.DOI.string]) if (!(sdatdic.has(key))) { sdatdic.set(key, new Map()) } @@ -186,7 +186,7 @@ draft: false row = $("") key = JSON.parse(keystr) key.shift() - Reflect.setPrototypeOf(key[0], method.prototype) + //Reflect.setPrototypeOf(key[0], method.prototype) //Reflect.setPrototypeOf(key[1], DOI.prototype) for (const [i,el] of key.entries()) { var td = $("") @@ -271,11 +271,11 @@ draft: false }) }) await window.doiCache.addRange(window.filtData.map((d) => d.DOI.string)) - for (const el of uniq(window.filtData.map(d => [d.code, d.method, d.DOI.string]))) { + for (const el of uniq(window.filtData.map(d => [d.code, d.method.name, d.DOI.string]))) { op = $("