This commit is contained in:
Claudio Maggioni 2022-11-20 15:17:46 +01:00
parent a3a6ea1d9f
commit b9d0e00634

View file

@ -177,10 +177,10 @@ def json_to_paper(filename: str, jsonObj: dict) -> dict:
i = 0
references = []
for key, value in getProp(jsonObj, "bib_entries", {}).items():
i += 1
if value is None:
continue
i += 1
ref = {
"referenceNumber": i,
"doi": getProp(value, "doi"),