From f69452917598e8d95ebe1a9e52ee73a299603476 Mon Sep 17 00:00:00 2001 From: Anthony Scemama Date: Thu, 19 Nov 2020 21:06:36 +0100 Subject: [PATCH] Remove some async DOI --- content/dataset.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/dataset.html b/content/dataset.html index 1a813649..9c72af9c 100644 --- a/content/dataset.html +++ b/content/dataset.html @@ -103,6 +103,8 @@ draft: false async function loadFiles() { processingIndicator.isActive = true var data = await loadAllData() + let db = await indexDB.loadAsync() + window.defaultDats = [] for (const sub of Object.values(data)) { for (const exSet of uniq(sub.map(d => d.set))) { @@ -110,7 +112,7 @@ draft: false for (mol of uniq(subset.map(d => d.molecule))) { const submol = subset.filter(d => d.molecule === mol) const source = await submol.findAsync(async (d) => { - if (await d.set.getDOIAsync() === "10.1021/acs.jctc.8b01205") { + if (db.sets.get(d.set.name)[d.set.index] === "10.1021/acs.jctc.8b01205") { return d.method.name === "CASPT2" && d.method.basis === "aug-cc-pVDZ" } else { return d.method.isTBE