From 2edc9684b05470ecac59d45ce1b24678dfd26ed5 Mon Sep 17 00:00:00 2001
From: Jakub Dylag <jjd1c23@soton.ac.uk>
Date: Fri, 21 Mar 2025 10:28:57 +0000
Subject: [PATCH] remove test for duplicated concept-set names

---
 acmc/phen.py | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/acmc/phen.py b/acmc/phen.py
index 68316f4..f551113 100644
--- a/acmc/phen.py
+++ b/acmc/phen.py
@@ -511,12 +511,12 @@ 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:
-            concept_set_names.append(item["name"])
+        # 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
     for item in phenotype["concept_sets"]:
-- 
GitLab