about summary refs log tree commit diff
diff options
context:
space:
mode:
-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)