mirror of https://gitlab.com/bashrc2/epicyon
Exclude custom ontologies
parent
e62939e5c0
commit
7105bbe8cd
3
utils.py
3
utils.py
|
@ -2822,7 +2822,8 @@ def getCategoryTypes(baseDir: str) -> []:
|
||||||
if not f.endswith('.json'):
|
if not f.endswith('.json'):
|
||||||
continue
|
continue
|
||||||
ontologyFilename = f.split('.')[0]
|
ontologyFilename = f.split('.')[0]
|
||||||
if 'Types' in ontologyFilename:
|
if 'Types' in ontologyFilename and \
|
||||||
|
not ontologyFilename.startswith('custom'):
|
||||||
categories.append(ontologyFilename.replace('Types', ''))
|
categories.append(ontologyFilename.replace('Types', ''))
|
||||||
break
|
break
|
||||||
return categories
|
return categories
|
||||||
|
|
Loading…
Reference in New Issue