Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Touch Tip functionality #47

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions AFL/automation/prepare/OT2_Driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ def transfer(
to_center=False,
to_top_z_offset=0,
fast_mixing=False,
touch_tip=False,
**kwargs):
'''Transfer fluid from one location to another

Expand Down Expand Up @@ -406,7 +407,8 @@ def transfer(
drop_tip=drop_tip,
force_new_tip=force_new_tip,
mix_aspirate_rate=mix_aspirate_rate,
mix_dispense_rate=mix_dispense_rate)
mix_dispense_rate=mix_dispense_rate,
touch_tip=touch_tip)

self.last_pipette = pipette

Expand Down Expand Up @@ -444,8 +446,15 @@ def _transfer(
drop_tip=True,
force_new_tip=False,
mix_aspirate_rate=None,
mix_dispense_rate=None):

mix_dispense_rate=None,
touch_tip=False):

#does a touch tip call at the current location but at -2 mm below the top of the location
if touch_tip and self.has_tip:
if source_well:
pipette.touch_tip(location=source_well.top(),v_offset=-2)
elif dest_well:
pipette.touch_tip(location=dest_well.top(),v_offset=-2)

if force_new_tip and self.has_tip:
pipette.drop_tip(self.protocol.deck[12]['A1'])
Expand Down