- fixed the Extract Tool to work with apertures (tools) keys as integers

- fixed the Copper Thieving Tool to work with apertures (tools) keys as integers
- fixed the Corners Tool to work with apertures (tools) keys as integers
- fixed the Fiducials Tool to work with apertures (tools) keys as integers
This commit is contained in:
Marius Stanciu
2021-03-05 12:33:04 +02:00
committed by Marius
parent f103cc0a70
commit de3cd919bb
7 changed files with 23 additions and 18 deletions

View File

@@ -355,7 +355,7 @@ class ToolFiducials(AppTool):
else:
ap_keys = list(g_obj.tools.keys())
if ap_keys:
new_apid = str(int(max(ap_keys)) + 1)
new_apid = int(max(ap_keys)) + 1
else:
new_apid = 10
@@ -413,7 +413,7 @@ class ToolFiducials(AppTool):
else:
ap_keys = list(g_obj.tools.keys())
if ap_keys:
new_apid = str(int(max(ap_keys)) + 1)
new_apid = int(max(ap_keys)) + 1
else:
new_apid = 10
@@ -487,7 +487,7 @@ class ToolFiducials(AppTool):
else:
ap_keys = list(g_obj.tools.keys())
if ap_keys:
new_apid = str(int(max(ap_keys)) + 1)
new_apid = int(max(ap_keys)) + 1
else:
new_apid = 10