Skip to content

Commit 9caa9d3

Browse files
author
andy
committed
format output file
1 parent a80de90 commit 9caa9d3

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

__version__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import os
22
import subprocess
33

4-
VERSION = '1.2.7'
4+
VERSION = '1.2.8'
55

66

77
def get_version():
@@ -30,7 +30,7 @@ def explore_requirement():
3030

3131

3232
def build():
33-
cmd = 'pyinstaller -F --ico="assets/logo.ico" --name=Productions production_scripts.py'
33+
cmd = f'pyinstaller -F --ico="assets/logo.ico" --name=Productions-{VERSION} production_scripts.py'
3434
process = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, text=True)
3535
while True:
3636
line = process.stdout.readline()
Binary file not shown.

ot3_testing/test_config/pipette_leveling_config.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class CalibrateMethod(enum.Enum):
77
Dichotomy = "dichotomy"
88

99

10-
SlotLocationCH96 = {"C1-Y": {"Point": Point(223, 203, 318), "compensation": {"left_rear": 0, "left_front": 0.005},
10+
SlotLocationCH96 = {"C1-Y": {"Point": Point(223, 203, 318), "compensation": {"left_rear": 0, "left_front": 0},
1111
"definition": ["left_front", "left_rear"]},
1212
"C3-Y": {"Point": Point(207, 203, 318), "compensation": {"right_rear": 0, "right_front": 0},
1313
"definition": ["left_front", "left_rear"]},
@@ -20,23 +20,23 @@ class CalibrateMethod(enum.Enum):
2020
"A2-X": {"Point": Point(213, 305, 300), "compensation": {"left": 0, "right": 0},
2121
"definition": ["rear_left", "rear_right"]},
2222
"D1-Z": {"Point": Point(51, 99, 318),
23-
"compensation": {"rear_left": 0.016, "rear_right": -0.018, "front_left": 0.02,
23+
"compensation": {"rear_left": 0, "rear_right": 0, "front_left": 0,
2424
"front_right": 0}, "definition": ["below_rear_left", "below_rear_right",
2525
"below_front_left",
2626
"below_front_right"]},
2727

2828
"D3-Z": {"Point": Point(377, 99, 318),
29-
"compensation": {"rear_left": -0.004, "rear_right": -0.052, "front_left": 0.026,
29+
"compensation": {"rear_left": 0, "rear_right": 0, "front_left": 0,
3030
"front_right": 0}, "definition": ["below_rear_left", "below_rear_right",
3131
"below_front_left",
3232
"below_front_right"]},
3333
"C2-Z": {"Point": Point(214, 210, 318),
34-
"compensation": {"rear_left": 0.0, "rear_right": -0.0, "front_left": 0.0,
34+
"compensation": {"rear_left": 0.0, "rear_right": 0.0, "front_left": 0.0,
3535
"front_right": 0}, "definition": ["below_rear_left", "below_rear_right",
3636
"below_front_left",
3737
"below_front_right"]},
3838
"A2-Z": {"Point": Point(218, 424, 390.5),
39-
"compensation": {"rear_left": 0.065, "rear_right": -0.028, "front_left": 0.051,
39+
"compensation": {"rear_left": 0.0, "rear_right": 0, "front_left": 0,
4040
"front_right": 0}, "definition": ["below_rear_left", "below_rear_right",
4141
"below_front_left",
4242
"below_front_right"]},
@@ -73,9 +73,9 @@ class CalibrateMethod(enum.Enum):
7373

7474
}
7575

76-
SlotLocationCH8 = {"Y-C1-Left": {"Point": Point(215.42, 198.33, 299.16), "compensation": {"rear": 0, "front": -0.12}},
77-
"Y-C1-Right": {"Point": Point(172.07, 197.18, 299.16), "compensation": {"rear": 0, "front": -0.12}},
78-
"Y-C3-Right": {"Point": Point(499.83, 197.18, 299.16), "compensation": {"rear": 0, "front": -0.018}},
79-
"Y-A2-Right": {"Point": Point(335.94, 412.22, 299.16), "compensation": {"rear": 0, "front": 0.050}},
76+
SlotLocationCH8 = {"Y-C1-Left": {"Point": Point(215.42, 198.33, 299.16), "compensation": {"rear": 0, "front": 0}},
77+
"Y-C1-Right": {"Point": Point(172.07, 197.18, 299.16), "compensation": {"rear": 0, "front": 0}},
78+
"Y-C3-Right": {"Point": Point(499.83, 197.18, 299.16), "compensation": {"rear": 0, "front": 0}},
79+
"Y-A2-Right": {"Point": Point(335.94, 412.22, 299.16), "compensation": {"rear": 0, "front": 0}},
8080
"UninstallPos": {"Point": Point(223, 203, 500), "compensation": 0}
8181
}

0 commit comments

Comments
 (0)