diff options
author | Munyoki Kilyungi | 2024-08-27 11:45:51 +0300 |
---|---|---|
committer | BonfaceKilz | 2024-08-29 14:51:30 +0300 |
commit | 810a15de55746508fc3c5f185b7c230337f2c98f (patch) | |
tree | b232eefd72eed1b997166e90eaffef0a455bcda1 /gn2/wqflask | |
parent | 241d38ce551292bdee5aae6a620e2637a9459587 (diff) | |
download | genenetwork2-810a15de55746508fc3c5f185b7c230337f2c98f.tar.gz |
Rename entries -> wiki.
* gn2/wqflask/views.py (display_genewiki_page)[entries]: Rename
entries to wiki.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn2/wqflask')
-rw-r--r-- | gn2/wqflask/views.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gn2/wqflask/views.py b/gn2/wqflask/views.py index 9346c22b..6e8ef0ba 100644 --- a/gn2/wqflask/views.py +++ b/gn2/wqflask/views.py @@ -1223,7 +1223,7 @@ def display_diffs_users(): @app.route("/genewiki/<symbol>") def display_genewiki_page(symbol): """Fetch GeneRIF metadata from GN3 and display it""" - entries = requests.get( + wiki = requests.get( urljoin( GN3_LOCAL_URL, f"/api/metadata/genewiki/{symbol}" @@ -1232,7 +1232,7 @@ def display_genewiki_page(symbol): return render_template( "genewiki.html", symbol=symbol, - entries=entries + wiki=wiki ) |