summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2020-01-02 17:35:39 +0100
committerMartin Czygan <martin.czygan@gmail.com>2020-01-02 17:35:39 +0100
commitb87ba235c0a7da15d70c5ab7fa367d7b9c1fb981 (patch)
tree1fb99b4b8b8c4b3f1b820dc86381088530b4b1c4 /python
parent1ca0d81c0d9be268aa952a3dd42fa51e2be7c88c (diff)
downloadfatcat-b87ba235c0a7da15d70c5ab7fa367d7b9c1fb981.tar.gz
fatcat-b87ba235c0a7da15d70c5ab7fa367d7b9c1fb981.zip
datacite: names can be 'Unav', too
Diffstat (limited to 'python')
-rw-r--r--python/fatcat_tools/importers/datacite.py5
1 files changed, 4 insertions, 1 deletions
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(