ProximileAdmin commited on
Commit
d9fd5a2
·
verified ·
1 Parent(s): 8fe6e8a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -249,7 +249,7 @@ def get_snp_info(rsid):
249
  if "counts" in value:
250
  result["frequency_data"] = value["counts"]
251
  break
252
- citations = data.get("citations", [])
253
  lgs("citations: " + str(citations))
254
  result["citations"] = [pubmed_parser.parse_xml_web(c, sleep=0.5, save_xml=False,) for c in citations]
255
  lgs("full citations data: " + str(result["citations"]))
 
249
  if "counts" in value:
250
  result["frequency_data"] = value["counts"]
251
  break
252
+ citations = data.get("citations", [])[:6]
253
  lgs("citations: " + str(citations))
254
  result["citations"] = [pubmed_parser.parse_xml_web(c, sleep=0.5, save_xml=False,) for c in citations]
255
  lgs("full citations data: " + str(result["citations"]))