diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-05-22 14:06:19 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-05-22 14:06:19 -0700 |
commit | 5f8c499494d668f150efd0e68a511b3ca6669203 (patch) | |
tree | de7c167fb1952b8eb2caf2e958cb4b4a54842ee8 /python/fatcat_tools/importers/arxiv.py | |
parent | dc53c673dd28a325e47659835015e31e8d345692 (diff) | |
download | fatcat-5f8c499494d668f150efd0e68a511b3ca6669203.tar.gz fatcat-5f8c499494d668f150efd0e68a511b3ca6669203.zip |
arixv: filter out empty names
Diffstat (limited to 'python/fatcat_tools/importers/arxiv.py')
-rw-r--r-- | python/fatcat_tools/importers/arxiv.py | 1 |
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(): |