a0c8e5e673c15848e6f9ab33e7e77f32c641d995 angie Mon Sep 18 14:38:57 2017 -0700 Big search & replace: use https instead of http for NCBI URLs. refs #17793 diff --git src/hg/hgGeneGraph/hgGeneGraph src/hg/hgGeneGraph/hgGeneGraph index 78d6e3e..e34b758 100755 --- src/hg/hgGeneGraph/hgGeneGraph +++ src/hg/hgGeneGraph/hgGeneGraph @@ -1395,31 +1395,31 @@ print('</body>') print('</html>') def docLink(pmid, text=None, mouseOver=None): if text==None: text = "PMID%s" % str(pmid) url = makeSelfUrl({"docId":pmid}, clear=True) attr = "" if mouseOver!=None: attr='data-toggle="tooltip" data-placement="top" title="Title: %s" ' % mouseOver linkStr = '<a %shref="%s">%s</a>' % (attr, url, text) return linkStr def pubmedLink(pmid, text=None): - url = "http://www.ncbi.nlm.nih.gov/pubmed/%s" % pmid + url = "https://www.ncbi.nlm.nih.gov/pubmed/%s" % pmid if text==None: text = "PMID: %s" % str(pmid) linkStr = '<a href="%s">%s</a>' % (url, text) return linkStr def pmidInternalLink(pmid): url = "hgGeneGraph?pmid=%s" % str(pmid) linkStr = '<a href="%s">PMID%s</a>' % (url, pmid) return linkStr def entToDesc(eType, eName, eGenes): """ get a readable html description for a entity, type can be gene, complex or family, name is the full name, eGenes is the list of genes """ # don't display compounds