diff options
| author | Pjotr Prins | 2026-03-28 11:18:21 +0100 |
|---|---|---|
| committer | Pjotr Prins | 2026-03-28 11:18:21 +0100 |
| commit | 2d821f4ff808027a67da6548cba6bedc4b69bb62 (patch) | |
| tree | 796d41661ac0a7104b09b82883fef928009b0ef0 /more_functions.py | |
| parent | 95e839c648c1946a6b0186421d89003a1126bf9e (diff) | |
| download | genecup-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-x | more_functions.py | 2 |
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) |
