summaryrefslogtreecommitdiff
path: root/Code/html_network.py
diff options
context:
space:
mode:
authorHui Lan <lanhui@zjnu.edu.cn>2020-08-16 12:44:40 +0800
committerHui Lan <lanhui@zjnu.edu.cn>2020-08-16 12:44:40 +0800
commit9e973c424afa432dae3794307976c7940e968ab5 (patch)
treedf78ad71e5b12fe3b8728c323a0204e9845c1342 /Code/html_network.py
parent464f3bb4ddf6e6ffaea1d9e9c997546191830647 (diff)
html_network.py: make URL for edge information such as AT3G09600_AT1G49720_0.html correct (revision 2).
Diffstat (limited to 'Code/html_network.py')
-rw-r--r--Code/html_network.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Code/html_network.py b/Code/html_network.py
index 3974ac8..4561cd6 100644
--- a/Code/html_network.py
+++ b/Code/html_network.py
@@ -640,7 +640,7 @@ def make_html_page(node, G, fname, agi2name_dict):
genename = '-'
if len(lst) > 1:
genename = lst[1]
- regulator_dict_lst.append({'strength': '<a href=%s title=%s>%s</a>' % (info_page, RMSE, t.rjust(12, '_')), 'geneid': '<a href=%s>%s</a>' % (name, geneid), 'genename': '%s' % (genename), 'metric': '%4.2f' % (d1[k])})
+ regulator_dict_lst.append({'strength': '<a href=/brain/edges/%s title=%s>%s</a>' % (info_page, RMSE, t.rjust(12, '_')), 'geneid': '<a href=%s>%s</a>' % (name, geneid), 'genename': '%s' % (genename), 'metric': '%4.2f' % (d1[k])})
make_w2ui_table_page(fname, gene_str, download_str, regulatee_dict_lst, regulator_dict_lst) # ***