diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2020-01-02 17:35:39 +0100 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2020-01-02 17:35:39 +0100 |
commit | b87ba235c0a7da15d70c5ab7fa367d7b9c1fb981 (patch) | |
tree | 1fb99b4b8b8c4b3f1b820dc86381088530b4b1c4 /python | |
parent | 1ca0d81c0d9be268aa952a3dd42fa51e2be7c88c (diff) | |
download | fatcat-b87ba235c0a7da15d70c5ab7fa367d7b9c1fb981.tar.gz fatcat-b87ba235c0a7da15d70c5ab7fa367d7b9c1fb981.zip |
datacite: names can be 'Unav', too
Diffstat (limited to 'python')
-rw-r--r-- | python/fatcat_tools/importers/datacite.py | 5 |
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( |