diff options
| author | Pjotr Prins | 2026-03-28 11:32:18 +0100 |
|---|---|---|
| committer | Pjotr Prins | 2026-03-28 11:32:18 +0100 |
| commit | 4cf5a89846c70b5ed3acb35da76971df1e5e47f7 (patch) | |
| tree | 2148299b55c92527db31eee7bfda947ed088cb79 | |
| parent | d2511ef413b2a286d89ac068d3e1a11d7334e9f4 (diff) | |
| download | genecup-4cf5a89846c70b5ed3acb35da76971df1e5e47f7.tar.gz | |
Fix search for PubMed/Archive
| -rwxr-xr-x | more_functions.py | 3 |
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) |
