Skip to content

Commit

Permalink
Fix protocol when sample or buffer is 0 uL
Browse files Browse the repository at this point in the history
  • Loading branch information
parrishpayne12 committed Sep 1, 2023
1 parent 5dcb2a8 commit 034dbcd
Showing 1 changed file with 30 additions and 26 deletions.
56 changes: 30 additions & 26 deletions protocols/08207f/08207f.ot2.apiv2.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,17 +81,19 @@ def slow_withdraw(pip, well, delay_seconds=2.0):
dest_well = dest_plate.wells_by_name()[well]
volume = float(row[7])

if volume > 20:
if not p300.has_tip:
p300.pick_up_tip()
p300.aspirate(volume, buffer.bottom(h_buff))
p300.dispense(volume, dest_well)

else:
if not p20.has_tip:
p20.pick_up_tip()
p20.aspirate(volume, buffer.bottom(h_buff))
p20.dispense(volume, dest_well)
if volume > 0:

if volume > 20:
if not p300.has_tip:
p300.pick_up_tip()
p300.aspirate(volume, buffer.bottom(h_buff))
p300.dispense(volume, dest_well)

else:
if not p20.has_tip:
p20.pick_up_tip()
p20.aspirate(volume, buffer.bottom(h_buff))
p20.dispense(volume, dest_well)

adjust_height(volume)

Expand All @@ -110,18 +112,20 @@ def slow_withdraw(pip, well, delay_seconds=2.0):
volume = float(row[6])
mix_reps = 2

if volume > 20:
p300.pick_up_tip()
p300.aspirate(volume, source_well)
p300.dispense(volume, dest_well)
p300.mix(mix_reps, 20)
p300.blowout()
p300.drop_tip()

else:
p20.pick_up_tip()
p20.aspirate(volume, source_well)
p20.dispense(volume, dest_well)
p20.mix(mix_reps, 10)
p20.blowout()
p20.drop_tip()
if volume > 0:

if volume > 20:
p300.pick_up_tip()
p300.aspirate(volume, source_well)
p300.dispense(volume, dest_well)
p300.mix(mix_reps, 20)
p300.blowout()
p300.drop_tip()

else:
p20.pick_up_tip()
p20.aspirate(volume, source_well)
p20.dispense(volume, dest_well)
p20.mix(mix_reps, 10)
p20.blowout()
p20.drop_tip()

0 comments on commit 034dbcd

Please sign in to comment.