fix: Overlapmetric should check string using uppercase conversion
This commit is contained in:
1 parent
171687f3ab
commit
272d9ed5bf
1 file changed
+1
-1
@@ -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