diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2019-12-26 23:52:25 +0100 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2019-12-28 23:07:32 +0100 |
commit | d0fea0bb56c80caa1bb32a725d1ed4424df5ac39 (patch) | |
tree | 5b43647e93e891d4c0a49df335366a4ebc4d8e64 | |
parent | 133cc910c07187a349a336b1b7107d67dc3aed3e (diff) | |
download | fatcat-d0fea0bb56c80caa1bb32a725d1ed4424df5ac39.tar.gz fatcat-d0fea0bb56c80caa1bb32a725d1ed4424df5ac39.zip |
datacite: treat untyped names as people
-rw-r--r-- | python/fatcat_tools/importers/datacite.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_tools/importers/datacite.py b/python/fatcat_tools/importers/datacite.py index 322e3db9..0de15a18 100644 --- a/python/fatcat_tools/importers/datacite.py +++ b/python/fatcat_tools/importers/datacite.py @@ -274,7 +274,7 @@ class DataciteImporter(EntityImporter): for i, c in enumerate(attributes['creators']): nameType = c.get('nameType', '') or '' - if nameType == 'Personal': + if nameType == 'Personal' or nameType == '': creator_id = None for nid in c.get('nameIdentifiers', []): if not nid.get('nameIdentifierScheme').lower() == "orcid": |