aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>