fix: Overlapmetric should check string using uppercase conversion

This commit is contained in:
Ernest Lim committed 2025-10-16 16:12:28 +08:00
1 parent 171687f3ab
commit 272d9ed5bf
1 file changed
+1 -1
+1 -1
View File
@@ -72,7 +72,7 @@ class OverlapMetric(Enum):
if isinstance(value, cls):
return value
if isinstance(value, str):
value = value.lower()
value = value.upper()
try:
return cls(value)
except ValueError: