diff --git a/query.py b/query.py index bf02a9142dfc5af3961d398795d845697a8a0527..94085f3c448f245a157a10e82314077199060f30 100644 --- a/query.py +++ b/query.py @@ -4,12 +4,13 @@ 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,doi,author_count,pub_raw", rows=1000) +query_data = query.get("citations(2016pasc.conf....2S) or citations(2018ascl.soft05020S)", fl="title,bibcode,first_author_norm,date,year,doi,author_count,pub_raw,bibstem", rows=1000) paper_list = query_data.papers # Process the data to make the title a string and not an array of strings for paper in paper_list: paper.title = paper.title[0] + paper.bibstem = paper.bibstem[0] # Create a dictionary of cards my_list = dict({"num_papers": query_data.num_found,