aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chocula/database.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/chocula/database.py b/chocula/database.py
index 2588f60..2fea774 100644
--- a/chocula/database.py
+++ b/chocula/database.py
@@ -483,6 +483,11 @@ class ChoculaDatabase:
# TODO: other DOI registrars (japan, datacite)
if irow["slug"] == "wikidata":
out["wikidata_qid"] = irow["identifier"]
+ if irow["slug"] in ("vanished_disapeared", "vanished_inactive"):
+ out["is_active"] = False
+ elif irow["slug"] in ("doaj"):
+ # inactive publications get removed from DOAJ
+ out["is_active"] = True
for k in ("name",):
if not out.get(k) and irow[k]:
out[k] = irow[k]