about summary refs log tree commit diff
path: root/more_functions.py
diff options
context:
space:
mode:
authorPjotr Prins2026-03-28 11:18:21 +0100
committerPjotr Prins2026-03-28 11:18:21 +0100
commit2d821f4ff808027a67da6548cba6bedc4b69bb62 (patch)
tree796d41661ac0a7104b09b82883fef928009b0ef0 /more_functions.py
parent95e839c648c1946a6b0186421d89003a1126bf9e (diff)
downloadgenecup-2d821f4ff808027a67da6548cba6bedc4b69bb62.tar.gz
Use punkt_tab instead of punkt. See https://openillumi.com/en/en-nltk-punkt-tab-lookuperror-fix/
Diffstat (limited to 'more_functions.py')
-rwxr-xr-xmore_functions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/more_functions.py b/more_functions.py
index 0c7fbd4..4261692 100755
--- a/more_functions.py
+++ b/more_functions.py
@@ -184,6 +184,6 @@ 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")):
+if not os.path.isdir(os.path.join(pubmed_path, "PubMed", "Archive")):
     print(f"ERROR: PubMed/Archive not found in {pubmed_path}")
     raise SystemExit(1)