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

Replace must by should in unsafe assetion

This commit is contained in:
Mickaël Véril 2020-09-22 15:04:33 +02:00
parent ef01cced39
commit 3c2d873458

View File

@ -346,7 +346,7 @@ class dataFileBase {
console.assert(double.length === 0, "Double found", double, dat.molecule, dat.method.toString())
if (dat.set!== null && dat.set !== "10.1021/acs.jctc.8b01205") {
for (const ex of dat.excitations) {
console.assert(Number.isNaN(ex.T1.valueOf()) | ex.T1 > 50 | ex.isUnsafe == true, "Must be unsafe", dat, ex)
console.assert(Number.isNaN(ex.T1.valueOf()) | ex.T1 > 50 | ex.isUnsafe == true, "should be unsafe", dat, ex)
}
for (const ex of dat.excitations) {
console.assert(JSON.stringify(ex.initial)!==JSON.stringify(ex.final),"Final must be different to initial" dat, ex)