aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/importers
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-05-22 14:06:19 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-05-22 14:06:19 -0700
commit5f8c499494d668f150efd0e68a511b3ca6669203 (patch)
treede7c167fb1952b8eb2caf2e958cb4b4a54842ee8 /python/fatcat_tools/importers
parentdc53c673dd28a325e47659835015e31e8d345692 (diff)
downloadfatcat-5f8c499494d668f150efd0e68a511b3ca6669203.tar.gz
fatcat-5f8c499494d668f150efd0e68a511b3ca6669203.zip
arixv: filter out empty names
Diffstat (limited to 'python/fatcat_tools/importers')
-rw-r--r--python/fatcat_tools/importers/arxiv.py1
1 files changed, 1 insertions, 0 deletions
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():