Skip to content

Commit

Permalink
Fix if volume > 0, lower asp height for samples
Browse files Browse the repository at this point in the history
  • Loading branch information
parrishpayne12 committed Sep 21, 2023
1 parent 382a12c commit 8dab6d1
Showing 1 changed file with 29 additions and 26 deletions.
55 changes: 29 additions & 26 deletions protocols/08207f/08207f.ot2.apiv2.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,17 +80,18 @@ 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 @@ -108,19 +109,21 @@ def slow_withdraw(pip, well, delay_seconds=2.0):

volume = float(row[6])
mix_reps = 2
tip_height = 0.5

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

else:
p20.pick_up_tip()
p20.aspirate(volume, source_well)
p20.dispense(volume, dest_well)
p20.mix(mix_reps, 10)
p20.blow_out()
p20.drop_tip()
if volume > 0:
if volume > 20:
p300.pick_up_tip()
p300.aspirate(volume, source_well.bottom(tip_height))
p300.dispense(volume, dest_well)
p300.mix(mix_reps, 20)
p300.blow_out()
p300.drop_tip()

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

0 comments on commit 8dab6d1

Please sign in to comment.