mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-25 13:53:48 +01:00
Use filterParams in statistics
This commit is contained in:
parent
04a58c41b1
commit
6addc32215
@ -147,10 +147,12 @@ draft: false
|
|||||||
for (const exc of d.excitations) {
|
for (const exc of d.excitations) {
|
||||||
const key2 = JSON.stringify([d.molecule, exc.initial, exc.final])
|
const key2 = JSON.stringify([d.molecule, exc.initial, exc.final])
|
||||||
const keydic = sdatdic.get(key)
|
const keydic = sdatdic.get(key)
|
||||||
if (!(keydic.has(key2))) {
|
if ((!exc.isUnsafe || window.filterParams[0]) && (exc.type & window.filterParams[1])) {
|
||||||
keydic.set(key2, [])
|
if (!(keydic.has(key2))) {
|
||||||
|
keydic.set(key2, [])
|
||||||
|
}
|
||||||
|
keydic.get(key2).push(exc.value)
|
||||||
}
|
}
|
||||||
keydic.get(key2).push(exc.value)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
var sdic = new Map()
|
var sdic = new Map()
|
||||||
|
Loading…
Reference in New Issue
Block a user