about summary refs log tree commit diff
path: root/more_functions.py
diff options
context:
space:
mode:
authorPjotr Prins2026-03-28 11:32:18 +0100
committerPjotr Prins2026-03-28 11:32:18 +0100
commit4cf5a89846c70b5ed3acb35da76971df1e5e47f7 (patch)
tree2148299b55c92527db31eee7bfda947ed088cb79 /more_functions.py
parentd2511ef413b2a286d89ac068d3e1a11d7334e9f4 (diff)
downloadgenecup-4cf5a89846c70b5ed3acb35da76971df1e5e47f7.tar.gz
Fix search for PubMed/Archive
Diffstat (limited to 'more_functions.py')
-rwxr-xr-xmore_functions.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/more_functions.py b/more_functions.py
index 0c7fbd4..a4c62d7 100755
--- a/more_functions.py
+++ b/more_functions.py
@@ -184,6 +184,7 @@ print(f"  pubmed_path={pubmed_path}")
 if not os.path.isdir(pubmed_path):
     print(f"ERROR: EDIRECT_PUBMED_MASTER directory not found: {pubmed_path}")
     raise SystemExit(1)
-if not os.path.isdir(os.path.join(pubmed_path, "Archive")):
+testdir = os.path.join(pubmed_path, "PubMed", "Archive")
+if not os.path.isdir(testdir):
     print(f"ERROR: PubMed/Archive not found in {pubmed_path}")
     raise SystemExit(1)