From d5501a1732044ff45b2519913e46199bf8d3c0cf Mon Sep 17 00:00:00 2001 From: antje-s <62277258+antje-s@users.noreply.github.com> Date: Tue, 12 Mar 2024 11:28:12 +0100 Subject: [PATCH] Update codelists2ttl_toplevels.py --- scripts/codelists2ttl_toplevels.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/codelists2ttl_toplevels.py b/scripts/codelists2ttl_toplevels.py index 6f4c4ec..f7e4b92 100644 --- a/scripts/codelists2ttl_toplevels.py +++ b/scripts/codelists2ttl_toplevels.py @@ -126,7 +126,7 @@ def gen_skos_concept(name: str, description: str, source: str = None) -> str: TTL_FILES_PATH = ROOTPATH / 'wis' COLLECTIONS = [] print('Generating WTH TTL files') -ttl_files_path = ROOTPATH / 'wis' +ttl_files_path = ROOTPATH / 'wis' / 'topic-hierarchy' if ttl_files_path.exists(): shutil.rmtree(ttl_files_path) ttl_files_path.mkdir()