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