aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2019-06-12 20:36:58 -0500
committerzsloan2019-06-12 20:36:58 -0500
commit467a3141abd2ed358f80bcb420402b258d112da3 (patch)
treeeb751af907d854963e958c380669bc506e35a9c4
parent2078f74984501419229d995cf0fa72294e45d6ea (diff)
downloadgenenetwork2-467a3141abd2ed358f80bcb420402b258d112da3.tar.gz
Fixed error when zooming in on chromosome for rat mapping results
-rw-r--r--wqflask/wqflask/marker_regression/display_mapping_results.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/wqflask/wqflask/marker_regression/display_mapping_results.py b/wqflask/wqflask/marker_regression/display_mapping_results.py
index b9050aea..cafbf38c 100644
--- a/wqflask/wqflask/marker_regression/display_mapping_results.py
+++ b/wqflask/wqflask/marker_regression/display_mapping_results.py
@@ -2215,7 +2215,8 @@ class DisplayMappingResults(object):
this_row = [] #container for the cells of each row
selectCheck = HT.Input(type="checkbox", name="searchResult", Class="checkbox", onClick="highlight(this)").__str__() #checkbox for each row
- webqtlSearch = HT.Href(os.path.join(webqtlConfig.CGIDIR, webqtlConfig.SCRIPTFILE)+"?cmd=sch&gene=%s&alias=1&species=rat" % theGO["GeneSymbol"], ">>", target="_blank").__str__()
+ #ZS: May want to get this working again later
+ #webqtlSearch = HT.Href(os.path.join(webqtlConfig.CGIDIR, webqtlConfig.SCRIPTFILE)+"?cmd=sch&gene=%s&alias=1&species=rat" % theGO["GeneSymbol"], ">>", target="_blank").__str__()
if theGO["GeneID"] != "":
geneSymbolNCBI = HT.Href("http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?db=gene&cmd=Retrieve&dopt=Graphics&list_uids=%s" % theGO["GeneID"], theGO["GeneSymbol"], Class="normalsize", target="_blank").__str__()
@@ -2256,7 +2257,7 @@ class DisplayMappingResults(object):
this_row = [selectCheck.__str__(),
str(gIndex+1),
- webqtlSearch.__str__() + geneSymbolNCBI,
+ geneSymbolNCBI,
theGO["TxStart"],
HT.Href(geneLengthURL, "%0.3f" % (geneLength*1000.0)).__str__(),
avgExprVal,