mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
increase cutoff margin for alias matching
This commit is contained in:
parent
5b2d952e4b
commit
c15e54445e
@ -152,7 +152,7 @@ class Classifier():
|
||||
base_types = {}
|
||||
for incorrect in incorrect_base_types:
|
||||
base_types.update({incorrect: difflib.get_close_matches(
|
||||
incorrect, uorb_msg, n=1, cutoff=0.8)})
|
||||
incorrect, uorb_msg, n=1, cutoff=0.6)})
|
||||
|
||||
if len(base_types) > 0:
|
||||
raise AssertionError(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user