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()