aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPjotr Prins2024-06-22 04:58:01 -0500
committerPjotr Prins2024-06-22 04:58:01 -0500
commited6bc08db4a7d7d34d793ab7e3a5ba5bf02f6c4d (patch)
tree21185312a2d96c0991891694ce3ba11d40ecdd5a
parenta7d660f91002a81d7bcfdfcae54b2d879bf5100b (diff)
downloadgenecup-ed6bc08db4a7d7d34d793ab7e3a5ba5bf02f6c4d.tar.gz
Try smaller font for footer
-rwxr-xr-xserver.py2
-rw-r--r--templates/layout.html5
2 files changed, 6 insertions, 1 deletions
diff --git a/server.py b/server.py
index 191bebd..cd58c7e 100755
--- a/server.py
+++ b/server.py
@@ -56,7 +56,7 @@ nltk.data.path.append("./nlp/")
VERSION=None
def version():
- if not VERSION:
+ if VERSION is None:
with open("VERSION", 'r') as file:
VERSION = file.read()
return VERSION
diff --git a/templates/layout.html b/templates/layout.html
index 814e5b6..ebae849 100644
--- a/templates/layout.html
+++ b/templates/layout.html
@@ -96,12 +96,17 @@
</div>
</ hr>
+
<div id="footer" align="right">
+ <small>
+ GeneCup {{ version }}
+ |
<a href="https://git.genenetwork.org/genecup/">Source code</a>
|
Cite <a href="https://academic.oup.com/g3journal/article/12/5/jkac059/6548160">GeneCup: mining PubMed and GWAS catalog for gene-keyword relationships. doi:10.1093/g3journal/jkac059. PMID: 35285473; PMCID: PMC9073678.</a>
|
Powered by Tensorflow on <a href="https://genenetwork.org/">GeneNetwork.org</a>
+ </small>
</div>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>