10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-12-25 05:43:46 +01:00

Fix bug when DOI is not defined

This commit is contained in:
Mickaël Véril 2020-09-04 15:08:53 +02:00
parent 0b09a98713
commit 7b25b3e580

View File

@ -516,7 +516,7 @@ draft: false
datadic = new Map()
for (const dat of paperdata) {
const doi = (dat.DOI == null ? "" : dat.DOI)
const setName = publis.findSetNameFromDOI(doi)
const setName = publis.findSetNameFromDOI(doi,true)
const key1 = dat.molecule;
const myT1s = T1ref.get(setName).get(dat.molecule)
if (!datadic.has(key1)) {