From a1713c1d06148140c4ac6a8efc97579d81187eef Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <schaller@strw.leidenuniv.nl> Date: Sat, 10 Jun 2023 15:54:49 +0200 Subject: [PATCH] Correct the paper counter in the ads querying script --- query.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/query.py b/query.py index 7f4594d..b98a07b 100644 --- a/query.py +++ b/query.py @@ -13,7 +13,7 @@ for paper in paper_list: if paper.bibcode == "2023arXiv230513380S": to_remove = paper - paper.title = paper.title[0] + #paper.title = paper.title[0] paper.bibstem = paper.bibstem[0] if hasattr(paper, "page"): paper.page = paper.page[0] @@ -24,7 +24,7 @@ for paper in paper_list: paper_list.remove(to_remove) # Create a dictionary of cards -my_list = dict({"num_papers": query_data.num_found, +my_list = dict({"num_papers": query_data.num_found - 1, "total_citations": total_citations, "cards": paper_list}) -- GitLab