From 5f8c499494d668f150efd0e68a511b3ca6669203 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 22 May 2019 14:06:19 -0700 Subject: arixv: filter out empty names --- python/fatcat_tools/importers/arxiv.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/fatcat_tools/importers/arxiv.py b/python/fatcat_tools/importers/arxiv.py index 38d10da3..be93334c 100644 --- a/python/fatcat_tools/importers/arxiv.py +++ b/python/fatcat_tools/importers/arxiv.py @@ -34,6 +34,7 @@ def parse_arxiv_authors(raw): if authors[-1].startswith("and "): authors[-1] = authors[-1][4:] authors = [latex_to_text(a).strip() for a in authors] + authors = [a for a in authors if a] return authors def test_parse_arxiv_authors(): -- cgit v1.2.3