Skip to main content

Generate worklists for Tecan EVOware pipetting software

Project description

Pypetting

Code style: black PyPI version Test Coverage Status

Pypetting provides a simple set of wrappers to write complex worklists for the Tecan EVOware pipetting software. Unfortunately it does not entirely avoid interacting with the original software, but it reduces the necessary interactions with it to a minimum.

Installation

Install using pip with pip install pypetting.

Pypetting has only been tested with Python 3.10.0.

Examples

Define a position on the grid

from pypetting import GridSite

site = GridSite(grid=36, site=1, carrier="MP 3Pos")

Define labwares

from pypetting import Labware

greiner96 = Labware(name="96 Well Griner", rows=8, columns=12, spacing=1)
trough100 = Labware("Trough 100+25ml", 8, 12)

Pipetting from one column to the next

from pypetting import GridSite, Labware, aspirate, dispense, write_gwl

pipetting_site = GridSite(36, 1, "MP 3Pos")
labware = Labware("96 Well Greiner", 8, 12, spacing=1)

ALL = 8 * [True]

worklist = [
    aspirate(pipetting_site, 1, ALL, 50, "LB CD ZMAX", labware=labware),
    dispense(pipetting_site, 2, ALL, 50, "LB CD ZMAX", labware=labware),
]

write_gwl("worklist.gwl", worklist)

Place plate in the incubator

from pypetting import GridSite, Labware, transfer_labware, return_plate, write_gwl

src = GridSite(36, 0, "MP 3Pos")
dest = GridSite(68, 0, "StoreX 22Pos")
labware = Labware("96 Well Greiner", 8, 12, spacing=1)

worklist = [
    transfer_labware(src, dest, labware),
    return_plate(1, 1),
]

write_gwl("worklist.gwl", worklist)

How to avoid EVOware

The authors of Pypetting have strong opinions about the design of EVOware. To implement more complex workflows, modern techniques for modularization and abstraction of logic are required. ANY general purpose programming language provides these tools. Thus outsourcing as much logic as possible is desirable.

We suggest the following workflow for any form of iterative task:

  • Call an application to generate the workflow, store the return value of the application in a variable e.g. called return_value
  • Execute workflows
  • Jump to the application when return_value is non-zero

License

MIT License

Copyright (c) 2021 Nicolas Ochsner

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pypetting-1.0.0.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

pypetting-1.0.0-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file pypetting-1.0.0.tar.gz.

File metadata

  • Download URL: pypetting-1.0.0.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for pypetting-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a528959a27b1eb9618cd38264a04bb147757daae39e926db44d06bad274ed14e
MD5 54ca45ddf5c691eb2a7419c4a4e55dc1
BLAKE2b-256 bb2ab705c083da6f754378272c918f812a50064782922805fbcc1e5304f27b69

See more details on using hashes here.

File details

Details for the file pypetting-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: pypetting-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 12.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for pypetting-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7e302de9003d546ea10ca07e0aab3764f4a4eab36e08ef0cd8b3b131ebb51e47
MD5 595a16d3f858d962e7ccb9fb035604e1
BLAKE2b-256 2bcebbedf9c60f0f08eb97b62df83ad41a228de1ed880a55b8f606f51e9fe356

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page