Skip to content

Commit 60f9838

Browse files
committed
Merge branch 'edge' into chore_change-package-manager
2 parents 8fdc2ed + a766645 commit 60f9838

File tree

111 files changed

+2539
-1529
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+2539
-1529
lines changed

abr-testing/abr_testing/protocols/active_protocols/10_ZymoBIOMICS_Magbead_DNA_Cells_Flex.py

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
}
2020

2121

22-
requirements = {"robotType": "Flex", "apiLevel": "2.26"}
22+
requirements = {"robotType": "Flex", "apiLevel": "2.27"}
2323
"""
2424
Slot A1: Tips 1000
2525
Slot A2: Tips 1000
@@ -71,12 +71,13 @@ def add_parameters(parameters: protocol_api.ParameterContext) -> None:
7171

7272
def run(protocol: protocol_api.ProtocolContext) -> None:
7373
"""Protocol Set Up."""
74+
protocol.capture_image(filename="start_of_run")
7475
heater_shaker_speed = protocol.params.heater_shaker_speed # type: ignore[attr-defined]
7576
mount = protocol.params.pipette_mount # type: ignore[attr-defined]
7677
deactivate_modules_bool = protocol.params.deactivate_modules # type: ignore[attr-defined]
7778
probe_height_bool = protocol.params.probe_liquid_height # type: ignore[attr-defined]
7879
meniscus_z = protocol.params.meniscus_z # type: ignore[attr-defined]
79-
helpers.comment_protocol_version(protocol, "03")
80+
helpers.comment_protocol_version(protocol, "04")
8081
if not protocol.is_simulating():
8182
slack_bot = helpers.set_up_slack()
8283
slack_bot.send_run_started_message(metadata["protocolName"])
@@ -265,6 +266,7 @@ def mixing(well: Well, pip: InstrumentContext, mvol: float, reps: int = 8) -> No
265266
dispensing at the top and 2 cycles of aspirating from middle,
266267
dispensing at the bottom
267268
"""
269+
protocol.capture_image(filename="mixing")
268270
center = well.top(5)
269271
asp = well.bottom(z=1)
270272
disp = well.top(-8)
@@ -295,6 +297,7 @@ def mixing(well: Well, pip: InstrumentContext, mvol: float, reps: int = 8) -> No
295297
def lysis(vol: float, source: Well) -> None:
296298
"""Lysis."""
297299
protocol.comment("-----Beginning Lysis Steps-----")
300+
protocol.capture_image(filename="lysis")
298301
num_transfers = math.ceil(vol / 980)
299302
tipcheck(m1000)
300303
total_lysis_aspirated = 0.0
@@ -337,6 +340,8 @@ def bind(vol1: float, vol2: float) -> None:
337340
plate.
338341
"""
339342
protocol.comment("-----Beginning Binding Steps-----")
343+
protocol.capture_image(filename="binding_steps")
344+
340345
for i, well in enumerate(samples_m):
341346
tipcheck(m1000)
342347
num_trans = math.ceil(vol1 / 980)
@@ -439,6 +444,8 @@ def wash(vol: float, source: List[Well]) -> None:
439444
"""Wash Steps."""
440445
global whichwash # Defines which wash the protocol is on to log on the app
441446
protocol.comment("-----Now starting Wash #" + str(whichwash) + "-----")
447+
protocol.capture_image(filename="wash_step")
448+
442449
global wash_volume_tracker
443450

444451
num_trans = math.ceil(vol / 980.0)
@@ -487,6 +494,7 @@ def wash(vol: float, source: List[Well]) -> None:
487494
remove_supernatant(vol)
488495

489496
def elute(vol: float) -> None:
497+
protocol.capture_image(filename="elute_step")
490498
tipcheck(m1000)
491499
total_elution_vol = 0.0
492500
for i, m in enumerate(samples_m):
@@ -564,7 +572,7 @@ def elute(vol: float) -> None:
564572
wash(wash1_vol, all_washes)
565573
wash(wash2_vol, all_washes)
566574
wash(wash3_vol, all_washes)
567-
h_s.set_and_wait_for_temperature(55)
575+
h_s.set_target_temperature(55)
568576
for beaddry in np.arange(drybeads, 0, -0.5):
569577
protocol.delay(
570578
minutes=0.5,
@@ -583,6 +591,7 @@ def elute(vol: float) -> None:
583591
)
584592
if deactivate_modules_bool:
585593
helpers.deactivate_modules(protocol)
594+
protocol.capture_image(filename="end_of_run")
586595
if not protocol.is_simulating():
587596
slack_bot.send_run_completed_message(metadata["protocolName"])
588597
except Exception as e:

0 commit comments

Comments
 (0)