aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/show_trait
diff options
context:
space:
mode:
authorzsloan2024-01-08 20:40:59 +0000
committerzsloan2024-01-08 20:41:33 +0000
commit043a448bcc8a04e7a56c75ebd64202d706c539bd (patch)
treea650a3323e4125ca26a2bf7595a8696b1ad32eb4 /gn2/wqflask/show_trait
parent3719591a877486a3eff8db904e91624893fdaa20 (diff)
downloadgenenetwork2-043a448bcc8a04e7a56c75ebd64202d706c539bd.tar.gz
Update ncbi summary link to https, since before it was spending extra time trying (and failing) to query the http link before trying https
Diffstat (limited to 'gn2/wqflask/show_trait')
-rw-r--r--gn2/wqflask/show_trait/show_trait.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn2/wqflask/show_trait/show_trait.py b/gn2/wqflask/show_trait/show_trait.py
index 64d9be3b..1ee058ab 100644
--- a/gn2/wqflask/show_trait/show_trait.py
+++ b/gn2/wqflask/show_trait/show_trait.py
@@ -697,7 +697,7 @@ def get_ncbi_summary(this_trait):
# the output later
try:
response = requests.get(
- "http://eutils.ncbi.nlm.nih.gov/entrez/eutils/esummary.fcgi?db=gene&id=%s&retmode=json" % this_trait.geneid)
+ "https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esummary.fcgi?db=gene&id=%s&retmode=json" % this_trait.geneid)
summary = json.loads(response.content)[
'result'][this_trait.geneid]['summary']
return summary