diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-01-28 16:44:33 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-01-28 16:44:33 -0800 |
commit | 3fd25b04d1548786462520ffb8bfdb46389b7655 (patch) | |
tree | f65bc3518c5a50a66207f8c20605532da3d03689 /python/fatcat_tools | |
parent | e23d62ed0fd65c5cde1d367569bee4f995b38571 (diff) | |
download | fatcat-3fd25b04d1548786462520ffb8bfdb46389b7655.tar.gz fatcat-3fd25b04d1548786462520ffb8bfdb46389b7655.zip |
drop creators with no display name at all
Diffstat (limited to 'python/fatcat_tools')
-rw-r--r-- | python/fatcat_tools/importers/orcid.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/python/fatcat_tools/importers/orcid.py b/python/fatcat_tools/importers/orcid.py index e64cdcc2..a055801b 100644 --- a/python/fatcat_tools/importers/orcid.py +++ b/python/fatcat_tools/importers/orcid.py @@ -55,9 +55,9 @@ class OrcidImporter(EntityImporter): display = sur elif given: display = given - else: - # must have *some* name - return None + if not display: + # must have *some* name + return None orcid = obj['orcid-identifier']['path'] if not self.is_orcid(orcid): sys.stderr.write("Bad ORCID: {}\n".format(orcid)) |