aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHao Chen2020-03-14 17:17:57 -0500
committerHao Chen2020-03-14 17:17:57 -0500
commit1b516ee692248f4cd75570d9750b14f78554b41f (patch)
tree4cf2c757c0e2f13c1a662f0e4ae4fed70603be33
parent393dbb806714556327d641915fa4fa9ae97bad54 (diff)
downloadgenecup-1b516ee692248f4cd75570d9750b14f78554b41f.tar.gz
fix couple of lines only used when debug
-rwxr-xr-xratspub.py5
-rwxr-xr-xserver.py2
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)