Skip to content
Snippets Groups Projects
Commit 2edc9684 authored by Jakub Dylag's avatar Jakub Dylag
Browse files

remove test for duplicated concept-set names

parent df0e6cee
No related branches found
No related tags found
No related merge requests found
......@@ -511,11 +511,11 @@ def validate(phen_dir: str):
# create a list of all the concept set names defined in the concept set configuration
concept_set_names = []
for item in phenotype["concept_sets"]:
if item["name"] in concept_set_names:
validation_errors.append(
f"Duplicate concept set defined in concept sets {item['name'] }"
)
else:
# if item["name"] in concept_set_names:
# validation_errors.append(
# f"Duplicate concept set defined in concept sets {item['name'] }"
# )
# else:
concept_set_names.append(item["name"])
# check codes definition
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment