diff options
author | Munyoki Kilyungi | 2024-08-27 10:03:25 +0300 |
---|---|---|
committer | BonfaceKilz | 2024-08-29 14:51:30 +0300 |
commit | bbf79eeec5dfc23dfe4583af61b8ebe4ce97aa6f (patch) | |
tree | cc68528eb98ecb0c9172edaafc15d7c1ee3defe5 /gn2/wqflask | |
parent | 6492c903bbbbfff5a9316b11ef895029c47c9122 (diff) | |
download | genenetwork2-bbf79eeec5dfc23dfe4583af61b8ebe4ce97aa6f.tar.gz |
Rename generif -> genewiki.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn2/wqflask')
-rw-r--r-- | gn2/wqflask/templates/genewiki.html (renamed from gn2/wqflask/templates/generif.html) | 0 | ||||
-rw-r--r-- | gn2/wqflask/views.py | 4 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gn2/wqflask/templates/generif.html b/gn2/wqflask/templates/genewiki.html index ac815b43..ac815b43 100644 --- a/gn2/wqflask/templates/generif.html +++ b/gn2/wqflask/templates/genewiki.html diff --git a/gn2/wqflask/views.py b/gn2/wqflask/views.py index 2442da03..9346c22b 100644 --- a/gn2/wqflask/views.py +++ b/gn2/wqflask/views.py @@ -1221,7 +1221,7 @@ def display_diffs_users(): @app.route("/genewiki/<symbol>") -def display_generif_page(symbol): +def display_genewiki_page(symbol): """Fetch GeneRIF metadata from GN3 and display it""" entries = requests.get( urljoin( @@ -1230,7 +1230,7 @@ def display_generif_page(symbol): ) ).json() return render_template( - "generif.html", + "genewiki.html", symbol=symbol, entries=entries ) |