aboutsummaryrefslogtreecommitdiff
path: root/ratspub.py
diff options
context:
space:
mode:
Diffstat (limited to 'ratspub.py')
-rwxr-xr-xratspub.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/ratspub.py b/ratspub.py
index 5f57217..549ce12 100755
--- a/ratspub.py
+++ b/ratspub.py
@@ -162,6 +162,12 @@ nj6=generate_nodes_json(psychiatric_d, 'GWAS')
+pubmed_path=os.environ["EDIRECT_PUBMED_MASTER"]
+if ( not pubmed_path):
+ pubmed_path="~/Dropbox/ChenLab/Hakan/RatsPub/PubMed"
+pubmed_path +="/Archive"
+'''
+print (pubmed_path)
host= os.popen('hostname').read().strip()
if host=="x1":
pubmed_path="/run/media/hao/PubMed/Archive/"
@@ -171,3 +177,4 @@ elif host=="penguin2":
pubmed_path="/export2/PubMed/Archive"
elif host=="hchen":
pubmed_path="~/Dropbox/ChenLab/Hakan/RatsPub/PubMed/Archive"
+'''