fix: Overlapmetric should check string using uppercase conversion
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user