From 1b516ee692248f4cd75570d9750b14f78554b41f Mon Sep 17 00:00:00 2001 From: Hao Chen Date: Sat, 14 Mar 2020 17:17:57 -0500 Subject: fix couple of lines only used when debug --- ratspub.py | 5 ++--- server.py | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/ratspub.py b/ratspub.py index f3effad..5f57217 100755 --- a/ratspub.py +++ b/ratspub.py @@ -161,9 +161,7 @@ nj5=generate_nodes_json(psychiatric_d, 'psychiatric') nj6=generate_nodes_json(psychiatric_d, 'GWAS') -pubmed_path="~/Dropbox/ChenLab/Hakan/RatsPub/PubMed/Archive" -''' host= os.popen('hostname').read().strip() if host=="x1": pubmed_path="/run/media/hao/PubMed/Archive/" @@ -171,4 +169,5 @@ elif host=="hchen3": pubmed_path="/media/hao/2d554499-6c5b-462d-85f3-5c49b25f4ac8/PubMed/Archive" elif host=="penguin2": pubmed_path="/export2/PubMed/Archive" -''' \ No newline at end of file +elif host=="hchen": + pubmed_path="~/Dropbox/ChenLab/Hakan/RatsPub/PubMed/Archive" diff --git a/server.py b/server.py index e1db4c4..2a3a8cc 100755 --- a/server.py +++ b/server.py @@ -664,4 +664,4 @@ def top150genes(): if __name__ == '__main__': db.create_all() - app.run(debug=True, port=4201) + app.run(debug=True, port=4206) -- cgit v1.2.3