aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/importers/datacite.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_tools/importers/datacite.py')
-rw-r--r--python/fatcat_tools/importers/datacite.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/python/fatcat_tools/importers/datacite.py b/python/fatcat_tools/importers/datacite.py
index 52fede06..fe98d62a 100644
--- a/python/fatcat_tools/importers/datacite.py
+++ b/python/fatcat_tools/importers/datacite.py
@@ -309,6 +309,9 @@ class DataciteImporter(EntityImporter):
# "SCOPUS", "NRCPID", "schema.org", "GRID", "MGDS", "VIAF", "JACoW-ID"].
contribs = []
+ # Names, that should be ignored right away.
+ name_blacklist = set(('Occdownload Gbif.Org',))
+
for i, c in enumerate(attributes['creators']):
nameType = c.get('nameType', '') or ''
if nameType in ('', 'Personal'):
@@ -339,6 +342,9 @@ class DataciteImporter(EntityImporter):
if name:
name = clean(name)
+ if name in name_blacklist:
+ continue
+
if given_name:
given_name = clean(given_name)