From b87ba235c0a7da15d70c5ab7fa367d7b9c1fb981 Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Thu, 2 Jan 2020 17:35:39 +0100 Subject: datacite: names can be 'Unav', too --- python/fatcat_tools/importers/datacite.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python/fatcat_tools/importers/datacite.py b/python/fatcat_tools/importers/datacite.py index 37fceb1c..19c71d24 100644 --- a/python/fatcat_tools/importers/datacite.py +++ b/python/fatcat_tools/importers/datacite.py @@ -325,7 +325,10 @@ class DataciteImporter(EntityImporter): if not name: continue - if raw_affiliation is not None and not raw_affiliation: + if raw_affiliation == '': + continue + + if name in ('(:Unav)', 'NA'): continue contribs.append( -- cgit v1.2.3