diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-07-30 20:50:38 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-07-30 20:50:38 -0700 |
commit | b6ab2a0912fc0528c4228f884c1a35b082030048 (patch) | |
tree | f69a820fda1fceaf3a6c1146f4fd80f0a5900e68 /extra/journal_metadata/chocula.py | |
parent | 7bdcfe04fc4dbbe7fbe14ef6c45a80e09c78450f (diff) | |
download | fatcat-b6ab2a0912fc0528c4228f884c1a35b082030048.tar.gz fatcat-b6ab2a0912fc0528c4228f884c1a35b082030048.zip |
chocula: fix wikidata_qid inclusion
Diffstat (limited to 'extra/journal_metadata/chocula.py')
-rwxr-xr-x | extra/journal_metadata/chocula.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/extra/journal_metadata/chocula.py b/extra/journal_metadata/chocula.py index ad999f14..e54a017a 100755 --- a/extra/journal_metadata/chocula.py +++ b/extra/journal_metadata/chocula.py @@ -1100,6 +1100,8 @@ class ChoculaDatabase(): if irow['slug'] in ('crossref',): out['has_dois'] = True # TODO: other DOI registrars (japan, datacite) + if irow['slug'] == 'wikidata': + out['wikidata_qid'] = irow['identifier'] for k in ('name',): if not out.get(k) and irow[k]: out[k] = irow[k] |