File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
hardware-testing/hardware_testing/scripts Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 33from typing_extensions import TypedDict
44
55from opentrons .hardware_control .ot3api import OT3API
6+ from opentrons .types import Mount
67from dataclasses import dataclass
78
89import time
910from hardware_testing .opentrons_api import helpers_ot3
1011from hardware_testing .opentrons_api .types import Axis , OT3Mount
12+ from hardware_testing .gravimetric .helpers import get_pipette_unique_name
1113import enum
1214import argparse
1315import csv
@@ -84,12 +86,14 @@ async def position_check() -> bool:
8486 print (f"Estimate: { est } , Encoder: { enc } , Aligned: { aligned } " )
8587 return aligned
8688
89+ await api .cache_instruments ()
8790 await api .home_z (OT3Mount .LEFT )
8891 # LOOP THROUGH CURRENTS + SPEEDS
8992 await api .home ()
9093 today = datetime .now ().strftime ("%m-%d-%y_%H-%M" )
94+ pip_id = api .attached_pipettes [Mount .LEFT ]["pipette_id" ]
9195 with open (
92- f"/data/testing_data/P200H_test_plunger_speed_test_ { today } .csv" , "w" , newline = ""
96+ f"/data/testing_data/P200H_LT_ { pip_id } _ { today } .csv" , "w" , newline = ""
9397 ) as csvfile :
9498 test_data : TestData = {
9599 "time_sec" : None ,
You can’t perform that action at this time.
0 commit comments