10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-07-03 18:06:06 +02:00

Remove some async DOI

This commit is contained in:
Anthony Scemama 2020-11-19 21:06:36 +01:00
parent 8fe50701d9
commit f694529175

View File

@ -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