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:
parent
0b09a98713
commit
7b25b3e580
@ -516,7 +516,7 @@ draft: false
|
|||||||
datadic = new Map()
|
datadic = new Map()
|
||||||
for (const dat of paperdata) {
|
for (const dat of paperdata) {
|
||||||
const doi = (dat.DOI == null ? "" : dat.DOI)
|
const doi = (dat.DOI == null ? "" : dat.DOI)
|
||||||
const setName = publis.findSetNameFromDOI(doi)
|
const setName = publis.findSetNameFromDOI(doi,true)
|
||||||
const key1 = dat.molecule;
|
const key1 = dat.molecule;
|
||||||
const myT1s = T1ref.get(setName).get(dat.molecule)
|
const myT1s = T1ref.get(setName).get(dat.molecule)
|
||||||
if (!datadic.has(key1)) {
|
if (!datadic.has(key1)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user