mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-25 13:53:48 +01:00
Remove some async DOI
This commit is contained in:
parent
8fe50701d9
commit
f694529175
@ -103,6 +103,8 @@ draft: false
|
|||||||
async function loadFiles() {
|
async function loadFiles() {
|
||||||
processingIndicator.isActive = true
|
processingIndicator.isActive = true
|
||||||
var data = await loadAllData()
|
var data = await loadAllData()
|
||||||
|
let db = await indexDB.loadAsync()
|
||||||
|
|
||||||
window.defaultDats = []
|
window.defaultDats = []
|
||||||
for (const sub of Object.values(data)) {
|
for (const sub of Object.values(data)) {
|
||||||
for (const exSet of uniq(sub.map(d => d.set))) {
|
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))) {
|
for (mol of uniq(subset.map(d => d.molecule))) {
|
||||||
const submol = subset.filter(d => d.molecule === mol)
|
const submol = subset.filter(d => d.molecule === mol)
|
||||||
const source = await submol.findAsync(async (d) => {
|
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"
|
return d.method.name === "CASPT2" && d.method.basis === "aug-cc-pVDZ"
|
||||||
} else {
|
} else {
|
||||||
return d.method.isTBE
|
return d.method.isTBE
|
||||||
|
Loading…
Reference in New Issue
Block a user