From 043a448bcc8a04e7a56c75ebd64202d706c539bd Mon Sep 17 00:00:00 2001 From: zsloan Date: Mon, 8 Jan 2024 20:40:59 +0000 Subject: Update ncbi summary link to https, since before it was spending extra time trying (and failing) to query the http link before trying https --- gn2/wqflask/show_trait/show_trait.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gn2/wqflask/show_trait') 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 -- cgit v1.2.3