From 4cf5a89846c70b5ed3acb35da76971df1e5e47f7 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Sat, 28 Mar 2026 11:32:18 +0100 Subject: Fix search for PubMed/Archive --- more_functions.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'more_functions.py') 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) -- cgit 1.4.1