diff --git a/content/dataset.html b/content/dataset.html
index ddc6ee35..3152a688 100644
--- a/content/dataset.html
+++ b/content/dataset.html
@@ -111,7 +111,7 @@ draft: false
}
})
if (source !== undefined) {
- for (dat of submol.filter((d) => d !== source)) {
+ for (const dat of submol.filter((d) => d !== source)) {
dat.CopyExcitationsTypeFrom(source)
}
}
diff --git a/static/js/data.js b/static/js/data.js
index 7f49ad8b..fda7daeb 100644
--- a/static/js/data.js
+++ b/static/js/data.js
@@ -347,7 +347,7 @@ class dataFileBase {
}
});
console.assert(double.length === 0, "Double found", double, dat.molecule, dat.method.toString())
- if (dat.DOI.string !== "10.1021/acs.jctc.8b01205") {
+ if (dat.DOI!== null && dat.DOI.string !== "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)
}