- made sure that the optimal tool detected works for isolation

This commit is contained in:
Marius Stanciu
2021-08-15 15:42:34 +03:00
committed by Marius
parent 7a7214752c
commit 3c44fbaedb
5 changed files with 8 additions and 1 deletions

View File

@@ -257,6 +257,7 @@ class ToolOptimal(AppTool):
min_list = list(self.min_dict.keys())
min_dist = min(min_list)
min_dist -= 0.0001 # make sure that this will work for isolation case
min_dist_string = '%.*f' % (self.decimals, float(min_dist))
self.ui.result_entry.set_value(min_dist_string)