Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
y3rsh committed Oct 3, 2024
1 parent 26c00eb commit 47f4396
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ def run(protocol):

trash = protocol.load_trash_bin("A3") # must load trash bin


partial_tip_rack = protocol.load_labware(
load_name="opentrons_flex_96_tiprack_50ul",
label="Partial Tip Rack",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ def comment_tip_rack_status(ctx, tip_rack):
# Print the full status line for the row
ctx.comment(status_line)


def aspirate_to_reservoir_test(ctx, labware):
location = labware.wells()[0]
ctx.comment(f"Aspirating from {labware.parent} {location}")
Expand Down Expand Up @@ -71,7 +72,6 @@ def run(protocol):
location="D3",
)


pipette = protocol.load_instrument(instrument_name="flex_96channel_1000")

pipette.configure_nozzle_layout(
Expand All @@ -89,7 +89,3 @@ def run(protocol):
start="A1",
tip_racks=[partial_tip_rack],
)




Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ def run(protocol: protocol_api.ProtocolContext):
# dest=[sample_plate.well("A1"), sample_plate.well("A3")],
# mix=True,


# # reuse the tip for a second transfer
# # no error
# # we must say in docs do not do this
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ def run(protocol: protocol_api.ProtocolContext):
# don't do an aspirate before the touch_tip
# pipette.aspirate(volume=total_volume, location=wet_sample.well("A1"))
protocol.comment("touch_tip")
# no matter if you aspirate before or not,
# no matter if you aspirate before or not,
# the touch_tip is not shown in the app preview run
pipette.touch_tip(location=wet_sample.well("A1"))
protocol.comment("air_gap")
# if you uncomment the air_gap an error is thrown
# I should be at the wet_sample.well("A1") but it says I am at the tiprack
# pipette.air_gap(volume=20)
# pipette.air_gap(volume=20)
protocol.comment("blow_out with no arguments")
pipette.blow_out()
pipette.drop_tip()
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def run(protocol):
# If we ever do detect and error for this
# Take all these examples into a negative Overrides test

volume=5
volume = 5
pipette.pick_up_tip()
comment_tip_rack_status(protocol, partial_tip_rack)
# why with P20 do I get:
Expand All @@ -97,6 +97,7 @@ def run(protocol):
# H is the only safe row
pipette.aspirate(volume=volume, location=destination_labware_2["H1"])


# ignore the below for the time being
"""
# this is safe - from a reservoir
Expand Down Expand Up @@ -151,4 +152,4 @@ def run(protocol):
pipette.consolidate(volume=volume, source=[destination_labware_2["A9"], destination_labware_2["E10"]], dest=destination_labware_2["E11"])
# bad - sources are safe but destination has overhang
pipette.consolidate(volume=volume, source=[destination_labware_2["E9"], destination_labware_2["E10"]], dest=destination_labware_2["A12"])
"""
"""
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def run(protocol):
comment_tip_rack_status(protocol, tip_rack)
pipette.aspirate(volume=volume, location=destination_labware_2["H1"])
pipette.dispense(volume=volume, location=destination_labware_2["H2"])
for i in range(1,13):
for i in range(1, 13):
protocol.comment(f"Touching tip to {destination_labware_2[f'H{i}']}")
pipette.touch_tip(location=destination_labware_2[f"H{i}"])

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def run(protocol):
# If we ever do detect and error for this
# Take all these examples into a negative Overrides test

volume=20
volume = 20
pipette.pick_up_tip()
comment_tip_rack_status(protocol, partial_tip_rack)
# bad - 4 tips will overhang into slot 5
Expand All @@ -93,6 +93,7 @@ def run(protocol):
# only one that is safe
pipette.aspirate(volume=volume, location=destination_labware_2["H1"])


# ignore the below for the time being
"""
# this is safe - from a reservoir
Expand Down Expand Up @@ -147,4 +148,4 @@ def run(protocol):
pipette.consolidate(volume=volume, source=[destination_labware_2["A9"], destination_labware_2["E10"]], dest=destination_labware_2["E11"])
# bad - sources are safe but destination has overhang
pipette.consolidate(volume=volume, source=[destination_labware_2["E9"], destination_labware_2["E10"]], dest=destination_labware_2["A12"])
"""
"""
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def run(protocol):
comment_tip_rack_status(protocol, tip_rack)
pipette.aspirate(volume=volume, location=destination_labware_2["H1"])
pipette.dispense(volume=volume, location=destination_labware_2["H2"])
for i in range(1,13):
for i in range(1, 13):
protocol.comment(f"Touching tip to {destination_labware_2[f'H{i}']}")
pipette.touch_tip(location=destination_labware_2[f"H{i}"])

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ def run(protocol: protocol_api.ProtocolContext):

pipette = p20


pipette.pick_up_tip()
protocol.comment("touch_tip")
pipette.touch_tip(wet_sample.well("A1"))
Expand Down

0 comments on commit 47f4396

Please sign in to comment.