diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-05-22 14:03:02 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-05-22 14:03:02 -0700 |
commit | dc53c673dd28a325e47659835015e31e8d345692 (patch) | |
tree | 46f356ac79a1081705520a9b828cd24e7dae7723 /python/fatcat_tools/importers/arxiv.py | |
parent | 5e48498083cf5b7bccec03ba6352c6acbe6cdb00 (diff) | |
download | fatcat-dc53c673dd28a325e47659835015e31e8d345692.tar.gz fatcat-dc53c673dd28a325e47659835015e31e8d345692.zip |
all new importers need to set contrib index (order)
Diffstat (limited to 'python/fatcat_tools/importers/arxiv.py')
-rw-r--r-- | python/fatcat_tools/importers/arxiv.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_tools/importers/arxiv.py b/python/fatcat_tools/importers/arxiv.py index e6fb8039..38d10da3 100644 --- a/python/fatcat_tools/importers/arxiv.py +++ b/python/fatcat_tools/importers/arxiv.py @@ -117,7 +117,7 @@ class ArxivRawImporter(EntityImporter): doi = None title = latex_to_text(metadata.title.string) authors = parse_arxiv_authors(metadata.authors.string) - contribs = [fatcat_client.ReleaseContrib(raw_name=a, role='author') for a in authors] + contribs = [fatcat_client.ReleaseContrib(index=i, raw_name=a, role='author') for i, a in enumerate(authors)] lang = "en" # the vast majority in english if metadata.comments and metadata.comments.string: |