Python SDK for compiling protocols for the MGI PrepALL workstation.
Project description
mgi_prepall Protocol API
mgi_prepall is a Python SDK that compiles a lab procedure (liquid handling, module control, gripper moves) into a ProtocolDefinition JSON for the PrepALL workstation.
A minimal protocol script:
from mgi_prepall import Context
metadata = {
"protocolName": "hello",
"author": "me",
"description": "",
}
def run(ctx: Context) -> None:
ctx.init(
lane1="plateRack", lane2="plateRack",
lane3="plateRack", lane4="trashAndPCR",
useTrashBin=True, trashBinType="B",
)
pipette = ctx.load_pipette("p1000_flex8")
tips = ctx.load_labware("mgi_prepall_plate_carrier_low_adapter", "1-1") \
.load_labware("mgi_96_filtertiprack_200ul", code="T1")
src = ctx.load_labware("mgi_prepall_plate_carrier_low_adapter", "1-2") \
.load_labware("mgi_96_well_plate", code="P1")
dst = ctx.load_labware("mgi_prepall_plate_carrier_low_adapter", "1-3") \
.load_labware("mgi_96_well_plate", code="P2")
pipette.transfer(50.0, (src, "A1"), (dst, "A1"), tiprack=tips)
Compile to JSON:
python -m mgi_prepall my_protocol.py -o my_protocol.json
Documentation
- Getting Started — full walkthrough of a first protocol
- API Reference — every public class and method
- Examples — index of the 8 demo scripts under
mgi_prepall/examples/
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
mgi_prepall-0.0.1-py3-none-any.whl
(112.7 kB
view details)
File details
Details for the file mgi_prepall-0.0.1-py3-none-any.whl.
File metadata
- Download URL: mgi_prepall-0.0.1-py3-none-any.whl
- Upload date:
- Size: 112.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
79a1a130702e66b1ecc4f7b62b37d7ddf7ecde1c23fe7eee7af4b595a286da41
|
|
| MD5 |
1ed9e132c4bd7fbbe38bb1afa7bb0804
|
|
| BLAKE2b-256 |
58f8f23e2ad95a7f15d65864ffa7bfdff0fc1a8339a9a6036fa49282a6e30aae
|