Skip to content

Wrap Opentrons multichannel pipette objects to use any number of tips

License

Notifications You must be signed in to change notification settings

liamhawkins/PipetteWrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PipetteWrapper

The Opentrons API only allowed for use of all 8 channels of the multichannel pipette attachments. PipetteWrapper is used to wrap opentrons multichannel Pipette objects to allow the use of any number of channels while automatically tracking tip usage.

CURRENTLY REQUIRES A MODIFICATION TO LINE 67 IN opentrons/api/calibration.py:

CHANGE:

inst.pick_up_tip(container._container[0])

TO:

inst.pick_up_tip(location=container._container[0])

Installation

  1. ssh into opentrons robot
  2. Install from pypi: pip install pipettewrapper

Example

from pipettewrapper import PipetteWrapper
from opentrons import labware, instruments

tip_rack = labware.load('opentrons-tiprack-300ul', slot='4')
pipette = PipetteWrapper(instruments.P50_multi(mount='left', tip_racks=[tip_rack]))
plate = labware.load('96-flat')

pipette.distribute(50, plate.wells('A1'), plate.wells('A2'), num_tips=4)  # Uses 4 tips
pipette.transfer(50, plate.wells('A1'), plate.wells('A2'))  # Default behaviour (8 tips)

About

Wrap Opentrons multichannel pipette objects to use any number of tips

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages