From 7cd82dd813f2fb3875748bfb9d3153cdbb9beb65 Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <schaller@strw.leidenuniv.nl> Date: Mon, 17 Apr 2023 21:25:32 +0200 Subject: [PATCH] Recover the volume and issue of the papers --- query.py | 2 +- templates/pubs.html | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/query.py b/query.py index 8e7ea86..0d53efe 100644 --- a/query.py +++ b/query.py @@ -4,7 +4,7 @@ import sys # Query papers citing the two SWIFT ADS entries query = ADSQueryWrapper(sys.argv[1]) -query_data = query.get("citations(2016pasc.conf....2S) or citations(2018ascl.soft05020S)", fl="title,bibcode,first_author_norm,date,year,author_count,bibstem,abstract", rows=1000) +query_data = query.get("citations(2016pasc.conf....2S) or citations(2018ascl.soft05020S)", fl="title,bibcode,first_author_norm,date,year,author_count,bibstem,abstract,volume,issue,page", rows=1000) paper_list = query_data.papers # Process the data to make the title a string and not an array of strings diff --git a/templates/pubs.html b/templates/pubs.html index 2a2972e..89e718f 100644 --- a/templates/pubs.html +++ b/templates/pubs.html @@ -28,6 +28,9 @@ {{ card.first_author_norm }}, {% endif %} <i>{{ card.bibstem }}</i>, {{ card.year }} + {% if card.bibstem != "arXiv" %} + , {{ card.volume }}, {{ card.issue }} + {% endif %} {% if card.abstract %} <p class="hideshow">Abstract <i class="fa fa-chevron-right" aria-hidden="true"></i></p> <p class="abstract card">{{ card.abstract }}</p> -- GitLab