Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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"]))
|