Skip to content
Snippets Groups Projects
Commit 9fbe62e5 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Properly remove the release paper from the list of publications citing SWIFT

parent f5368f3c
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ total_citations = 0
# Process the data to make the title a string and not an array of strings
for paper in paper_list:
if paper.bibcode == "2023arXiv230513380S":
continue
to_remove = paper
paper.title = paper.title[0]
paper.bibstem = paper.bibstem[0]
......@@ -20,7 +20,9 @@ for paper in paper_list:
if hasattr(paper, "abstract"):
paper.abstract = paper.abstract.replace("<P />", "")
total_citations += paper.citation_count
paper_list.remove(to_remove)
# Create a dictionary of cards
my_list = dict({"num_papers": query_data.num_found,
"total_citations": total_citations,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment