From 1a21949fccb748522a6ea570fbf7d69b64eae194 Mon Sep 17 00:00:00 2001 From: ivoryzhangwy Date: Mon, 23 Nov 2026 13:58:50 -0700 Subject: [PATCH 1/4] feat: every liquid handler PyLabRobot 1.0.0b1 drives, each simulated (1.0.0b2) plr-ivoryos 1.0.0b2, still pinned to PyLabRobot 1.0.0b1 and nothing older. PyLabRobot 1.0 classes, each robot an IvoryOS instrument and each part it gives a class of its own another (robot.Part): - Opentrons OT-2 (opentrons/ot2.py), simulated on the Flex's robot-server, which now answers the OT-2's pipette query and homing and remembers where each pipette was sent. - Hamilton STAR, STARlet, STARplus (hamilton/star.py): pipettes, 96- or 384-head, iSWAP, CoRe grippers, autoload; simulated with PyLabRobot's STARSimulationDriver. - Hamilton Prep (hamilton/prep.py): pipettes, 8-channel head, CoRe grippers, heater shaker, lights; simulated with PyLabRobot's PrepSimulationDriver. pylabrobot.legacy, for the robots PyLabRobot has no 1.0 class for yet (legacy.py): the Nimbus, Vantage and Tecan EVO, and any legacy backend, as one instrument with every LiquidHandler operation; simulated with the legacy LiquidHandlerChatterboxBackend. The worktable file and the Labware panel take every one of these decks: Hamilton tracks, Tecan rails, the Prep's spots, the OT-2's slots, with a ready-made worktable for each. The bridge offers more of PyLabRobot: an argument typed labware or a coordinate (drop_tips on a STAR, move_plate) as the labware, Union[str, float], a carrier position by name; it leaves out the resource tree's own methods; and it shows a Coordinate or enum default as data, which IvoryOS NextGen could not store before. docs/simulators.md says which robots PyLabRobot simulates, what we simulate ourselves, and which gaps belong upstream. Co-Authored-By: Claude Opus 5.5 --- README.md | 116 ++++++++-- docs/simulators.md | 78 +++++++ examples/flex_simulated.py | 2 +- examples/star_simulated.py | 25 +++ plr_ivoryos/__init__.py | 35 ++- plr_ivoryos/bridge.py | 57 ++++- plr_ivoryos/hamilton/__init__.py | 11 + plr_ivoryos/hamilton/prep.py | 164 ++++++++++++++ plr_ivoryos/hamilton/star.py | 214 ++++++++++++++++++ plr_ivoryos/labware_view/page/index.html | 9 +- plr_ivoryos/legacy.py | 178 +++++++++++++++ plr_ivoryos/opentrons/__init__.py | 9 +- plr_ivoryos/opentrons/flex.py | 17 +- plr_ivoryos/opentrons/ot2.py | 183 ++++++++++++++++ plr_ivoryos/opentrons/simulator.py | 61 +++++- plr_ivoryos/robot.py | 127 ++++++++++- plr_ivoryos/worktable.py | 122 +++++++++-- pyproject.toml | 4 +- tests/test_robots.py | 263 +++++++++++++++++++++++ tests/test_worktable.py | 4 +- 20 files changed, 1591 insertions(+), 88 deletions(-) create mode 100644 docs/simulators.md create mode 100644 examples/star_simulated.py create mode 100644 plr_ivoryos/hamilton/__init__.py create mode 100644 plr_ivoryos/hamilton/prep.py create mode 100644 plr_ivoryos/hamilton/star.py create mode 100644 plr_ivoryos/legacy.py create mode 100644 plr_ivoryos/opentrons/ot2.py create mode 100644 tests/test_robots.py diff --git a/README.md b/README.md index 964532e..5df64b2 100644 --- a/README.md +++ b/README.md @@ -17,14 +17,70 @@ runs. The worktable, and what is mounted on the robot, is a file rather than cod NextGen the Labware panel shows it live and lets you build it by dragging. > [!IMPORTANT] -> `plr-ivoryos` 1.0.0b1 is pinned to **PyLabRobot 1.0.0b1**, a beta. A beta can rename what this -> package calls, so each beta here is pinned to exactly one of PyLabRobot's. PyLabRobot's older -> `LiquidHandler` (now `pylabrobot.legacy`) is not used: robots that PyLabRobot 1.0 only drives -> through it (Nimbus, Vantage, Tecan EVO) are not supported here. +> `plr-ivoryos` 1.0.0b2 is pinned to **PyLabRobot 1.0.0b1**, a beta, and to nothing older: one +> PyLabRobot in the environment, so no dependency conflict with 0.x. A beta can rename what this +> package calls, so each beta here is pinned to exactly one of PyLabRobot's. > -> **No real Flex has been run through this package yet**, only the simulator below. PyLabRobot -> 1.0.0b1 itself warns that 20 `FlexHead96` operations and `FlexHead1.aspirate` and `.dispense` have -> "not been tested on hardware". `FlexHead8` carries no such warning, so it is the place to start. +> **Every liquid handler PyLabRobot 1.0.0b1 drives works here**, with PyLabRobot's own 1.0 class +> where it has one (Flex, OT-2, STAR family, Prep) and its `pylabrobot.legacy` front end where it +> does not yet (Nimbus, Vantage, Tecan EVO). **None has been run on hardware through this package +> yet**, only in simulation (below). PyLabRobot 1.0.0b1 itself warns that 20 `FlexHead96` operations +> and `FlexHead1.aspirate` and `.dispense` have "not been tested on hardware". + +## Liquid handlers + +| Robot | `plr_ivoryos` | PyLabRobot 1.0.0b1 | Its instruments in IvoryOS | `simulated=True` runs | +| :--- | :--- | :--- | :--- | :--- | +| Opentrons Flex | `opentrons.Flex` | `pylabrobot.opentrons.Flex` | the Flex, `_left`, `_right` or `_head96`, `_gripper` | PyLabRobot's Flex on this package's simulated robot-server | +| Opentrons OT-2 | `opentrons.OT2` | `pylabrobot.opentrons.OT2` | the OT-2, `_left`, `_right` | PyLabRobot's OT-2 on the same simulated robot-server | +| Hamilton STAR, STARlet, STARplus | `hamilton.STAR` | `pylabrobot.hamilton.STAR`, `STARlet`, `STARPlus` | the STAR, `_pipettes`, `_head96` or `_head384`, `_iswap`, `_core_grippers`, `_autoload` | PyLabRobot's `STARSimulationDriver` | +| Hamilton Prep | `hamilton.Prep` | `pylabrobot.hamilton.Prep` | the Prep, `_pipettes`, `_head8`, `_core_grippers`, `_heater_shaker`, `_lights` | PyLabRobot's `PrepSimulationDriver` | +| Hamilton Nimbus | `legacy.Nimbus` | `pylabrobot.legacy` `NimbusBackend` | one, with every `LiquidHandler` operation | PyLabRobot's legacy `LiquidHandlerChatterboxBackend` | +| Hamilton Vantage (1.3 m) | `legacy.Vantage` | `pylabrobot.legacy` `VantageBackend` | one, as above | the same chatterbox | +| Tecan Freedom EVO 100/150/200 | `legacy.EVO` | `pylabrobot.legacy` `EVOBackend` | one, as above | the same chatterbox | +| any other legacy backend | `legacy.LiquidHandler(backend=...)` | `pylabrobot.legacy.liquid_handling.LiquidHandler` | one, as above | the same chatterbox | + +Every robot works the same way: its steps are PyLabRobot's own methods, wells are written as +`plate[A1:H1]`, the worktable is a file the Labware panel edits, and liquids are tracked by name. +What differs is PyLabRobot's: a STAR channel takes one volume per well (`volumes=[30] * 8`), a Flex +or OT-2 one for all (`volume=30`); a legacy robot's `aspirate` takes `resources` and `vols`. + +```python +from plr_ivoryos.hamilton import STAR, Prep +from plr_ivoryos.opentrons import Flex, OT2 +from plr_ivoryos.legacy import Nimbus, Vantage, EVO + +star = STAR(simulated=True) # a STARlet; deck_type="STARDeck" for a STAR +star = STAR(worktable="star.json") # the real one on USB (plr-ivoryos[usb]) +prep = Prep(host="192.168.1.50") +ot2 = OT2(host="10.0.0.6") +nimbus = Nimbus(host="192.168.100.100") +evo = EVO(simulated=True, deck_type="EVO150Deck") +``` + +```python +# a STAR's channels, in a deck that calls it `star` (one IvoryOS step each) +star_pipettes.pick_up_tips(tip_spots="tips[A1:H1]") +star_pipettes.aspirate(containers="assay_plate[A1:H1]", volumes=[30] * 8) +star_pipettes.dispense(containers="sample_plate[A1:H1]", volumes=[30] * 8) +star_pipettes.drop_tips(destinations="tips[A1:H1]") +star_head96.pick_up_tips(tip_rack="tips_b") + +# a Nimbus, Vantage or EVO: PyLabRobot's legacy LiquidHandler, one instrument +nimbus.pick_up_tips(tip_spots="tips[A1:H1]") +nimbus.aspirate(resources="assay_plate[A1:H1]", vols=[30] * 8) +nimbus.move_plate(plate="sample_plate", to="plate_carrier-4") +``` + +What is fitted to each robot is the worktable file's `equipment`, because IvoryOS reads a deck's +instruments once, when it starts: on a Flex or OT-2 the pipette on each mount; on a STAR or Prep which +parts it has (`{"pipettes": true, "head96": true, "iswap": true, ...}`). Simulated, it is what the +simulator has (on a STAR, PyLabRobot's recording of that frame; `{"head384": true}` picks the +384-head recording). A real robot is asked once when the file does not say, and the answer is +written to the file; each time it is set up, what it reports is checked against the file. + +Each robot module keeps a `SKIPPED` table of the PyLabRobot methods it cannot offer as a step, and +why: an argument of a type a form cannot fill (a callback, a colour) with no default. --- @@ -81,10 +137,11 @@ rate on a 200 µL tip; columns are counted from 0. Its error is what the step re ### Simulation `simulated=True` runs PyLabRobot's Flex unchanged against a simulated robot-server -(`plr_ivoryos.opentrons.simulator`): it answers the HTTP API the Flex speaks, so PyLabRobot sets up, +(`plr_ivoryos.opentrons.simulator`, which the OT-2 uses too): it answers the HTTP API the Flex speaks, so PyLabRobot sets up, discovers what is mounted, uploads labware and sends every command a real run would, with its own tip and volume tracking and its own refusals. What it does not check is the robot's own motion -planning. PyLabRobot 1.0.0b1 has no Flex simulator of its own. +planning. PyLabRobot 1.0.0b1 has no Flex or OT-2 simulator for its 1.0 classes; which robots +have one, and what to do about those that do not, is in [docs/simulators.md](docs/simulators.md). A `host` or `serial_port` beside `simulated=True` is refused: it would be ignored, and a run would look like one on that robot. A pickup from spots holding no tip leaves the tip sensor reading @@ -117,8 +174,12 @@ What is mounted, what sits where, and what was put in it before the run: one is asked once what it has (the answer is written to the file). Every time the robot is set up, what it reports is checked against the file, and a difference stops the first step, saying what differs. -- `resources`: any labware definition in `pylabrobot.resources`, placed by `slot` (A1 to D3, and the - staging slots A4 to D4). +- `resources`: any labware definition in `pylabrobot.resources`, placed by `slot` (on a Flex A1 to + D3 and the staging slots A4 to D4; on an OT-2 1 to 11; on a Prep its spots 0 to 7), or, on a + robot with tracks, a carrier by `rails` (the track on a Hamilton, the rail on a Tecan) with what + it holds as `children`, each with its `site`. +- `deck_type`: `FlexDeck`, `OTDeck`, `STARLetDeck`, `STARDeck`, `STARPlusDeck`, `PrepDeck`, + `NimbusDeck`, `VantageDeck`, `EVO100Deck`, `EVO150Deck` or `EVO200Deck`. - `liquids`: what a person put on the worktable before the run. With tracking on (the default), an aspirate from a well nobody filled is refused; fill it here or with a `load_liquid` step. @@ -128,8 +189,10 @@ relative path is in that folder too. A file that does not exist yet is not an er starts from a ready-made worktable (tips, a reservoir with buffer and dye, two plates), a real robot from an empty one, and the file is written on the first change. -PyLabRobot 1.0.0b1 cannot read back its own saved Flex deck (`FlexDeck` refuses the `size_x` its -`save` writes), so unlike 0.2 there is no PyLabRobot copy of the worktable beside the file yet. +Beside the file, PyLabRobot's own copy of the worktable is written (`worktable.pylabrobot.json`, +which `Deck.load_from_json_file` reads) for every robot whose deck PyLabRobot 1.0.0b1 can read back: +the OT-2, the STAR family and the Prep. It cannot yet read back its own Flex, Nimbus, Vantage or +Tecan deck, so those have no copy (the Labware panel says why). --- @@ -196,13 +259,14 @@ only IvoryOS NextGen loads it. ## Installation ```bash -pip install plr-ivoryos==1.0.0b1 # with PyLabRobot 1.0.0b1 -pip install "plr-ivoryos[serial]==1.0.0b1" # a Flex over USB +pip install plr-ivoryos==1.0.0b2 # with PyLabRobot 1.0.0b1: Flex, OT-2, Prep, Nimbus over the network +pip install "plr-ivoryos[serial]==1.0.0b2" # a Flex over USB +pip install "plr-ivoryos[usb]==1.0.0b2" # a STAR, Vantage or EVO over USB ``` Name the version: plain `pip install plr-ivoryos` installs 0.2.0, which has no Flex, and `--pre` lets every other dependency be a pre-release too. uv takes a pre-release only for a package named -in the command, so name PyLabRobot as well: `uv pip install plr-ivoryos==1.0.0b1 pylabrobot==1.0.0b1`. +in the command, so name PyLabRobot as well: `uv pip install plr-ivoryos==1.0.0b2 pylabrobot==1.0.0b1`. Python 3.10 or newer. A Python environment holds one PyLabRobot, so every deck sharing one (the IvoryOS desktop app's decks do) uses the same plr-ivoryos and PyLabRobot. @@ -217,7 +281,10 @@ IvoryOS desktop app's decks do) uses the same plr-ivoryos and PyLabRobot. out when PyLabRobot has a default for it, and a method it cannot offer at all is listed in `plr_ivoryos.opentrons.flex.SKIPPED` (empty for the Flex). - **`robot.py`** is the worktable side of any robot: the file, the Labware panel's hooks and edits, - reading `plate[A1]` as PyLabRobot objects, and running a step. PyLabRobot 1.0 tracks volumes but + reading `plate[A1]` as PyLabRobot objects, and running a step. A part of a robot that PyLabRobot + gives a class of its own (a mount, a 96-head, a gripper) is a `robot.Part`, an instrument whose + steps run on that object. A robot module (`opentrons/`, `hamilton/`, `legacy.py`) says how to + connect, what is fitted, and which PyLabRobot classes its parts are. PyLabRobot 1.0 tracks volumes but no longer which liquid, so `liquids.py` compares the worktable before and after each step and moves liquids between wells and channels by that. - **Async bridge**: PyLabRobot is built on `asyncio`, and a connection has to stay on the loop that @@ -225,6 +292,21 @@ IvoryOS desktop app's decks do) uses the same plr-ivoryos and PyLabRobot. so steps are ordinary synchronous calls, from IvoryOS or plain Python. The robot connects at the first step, so a deck starts with the robot switched off. +### What changed in 1.0.0b2 (still on PyLabRobot 1.0.0b1) + +- **Every liquid handler PyLabRobot 1.0.0b1 drives**: the OT-2, the STAR, STARlet and STARplus and + the Prep through their 1.0 classes, and the Nimbus, Vantage and Tecan EVO (or any legacy backend) + through `pylabrobot.legacy`, each with a simulator. +- An argument PyLabRobot types as labware *or* a coordinate (`drop_tips(destinations=...)` on a + STAR, `move_plate(to=...)`) is a step now, offered as the labware; so is one typed + `Union[str, float]`. Methods of the resource tree (`serialize`, `assign_child_resource`, ...) are + not offered as steps on a robot that is itself a resource. +- The simulated robot-server remembers where each pipette was sent, so a position query answers it. +- A default PyLabRobot gives as a `Coordinate` or an enum (`offset=Coordinate(0, 0, 0)`, + `direction=GripDirection.FRONT`) is shown to IvoryOS as data (`{"x": 0, "y": 0, "z": 0}`, + `"FRONT"`) and made PyLabRobot's again when the step runs: IvoryOS NextGen stores a deck's steps + as JSON, and could not record a deck that had one. + ### What changed in 1.0.0b1 - **PyLabRobot 1.0 only.** The 0.2 `LiquidHandler`, its worktables for the OT-2, Hamilton and Tecan diff --git a/docs/simulators.md b/docs/simulators.md new file mode 100644 index 0000000..78bf28a --- /dev/null +++ b/docs/simulators.md @@ -0,0 +1,78 @@ +# Simulators: what PyLabRobot 1.0.0b1 has, and what to do about what it lacks + +Checked against the installed `pylabrobot==1.0.0b1`, November 2026. + +## Liquid handlers + +| Robot | PyLabRobot 1.0.0b1 drives it with | Simulator in PyLabRobot | What `simulated=True` runs here | +| :--- | :--- | :--- | :--- | +| Hamilton STAR, STARlet, STARplus | `pylabrobot.hamilton` (1.0) | **yes**: `STARSimulationDriver`, from recordings of real devices | PyLabRobot's | +| Hamilton Prep | `pylabrobot.hamilton.prep` (1.0) | **yes**: `PrepSimulationDriver` | PyLabRobot's | +| Opentrons Flex | `pylabrobot.opentrons.Flex` (1.0) | **no** | ours: a simulated robot-server (`opentrons/simulator.py`) under PyLabRobot's Flex | +| Opentrons OT-2 | `pylabrobot.opentrons.OT2` (1.0) | **no** for the 1.0 class (`OpentronsOT2Simulator` exists only for the legacy backend) | ours: the same robot-server, OT-2 flavour | +| Hamilton Nimbus | `pylabrobot.legacy` `NimbusBackend` | **no** robot-specific one | PyLabRobot's generic legacy `LiquidHandlerChatterboxBackend` | +| Hamilton Vantage | `pylabrobot.legacy` `VantageBackend` | **no** robot-specific one | the same generic chatterbox | +| Tecan Freedom EVO | `pylabrobot.legacy` `EVOBackend` | **no** robot-specific one | the same generic chatterbox | + +What each simulator checks: + +- **STAR, Prep** (PyLabRobot's): the firmware's answers, replayed from a recording, so a command + the robot would refuse is refused. The strongest of the three kinds. +- **Flex, OT-2** (ours): everything PyLabRobot does above the HTTP transport (its tip and volume + tracking, its reach and flow-rate checks, the commands a real run sends); the robot-server + answers every command with success, except a pickup where the rack has no tip. Not the robot's + own motion planning. +- **Nimbus, Vantage, EVO** (generic chatterbox): only PyLabRobot's legacy front end (tips, volumes, + channel counts). Nothing robot-specific: no firmware, no deck geometry checks beyond PyLabRobot's + resource tree. + +## Should we build what is missing, or should PyLabRobot have it? + +### Flex and OT-2 robot-server: ours now, better upstream + +Easy and maintainable for us: one file (~270 lines), sitting on a seam PyLabRobot made public +(`Flex(io=...)`, `OT2(io=...)`), answering a small, stable HTTP API (health, instruments, runs, +commands). A command it does not know is answered with success, so a new PyLabRobot command does +not break it; at worst it is checked less. Both robots share it. + +Still, **the better home is PyLabRobot**: it is the natural counterpart of `STARSimulationDriver`, +every PyLabRobot user would get a simulated Flex and OT-2, and PyLabRobot's own tests would keep its +answers in step with the commands PyLabRobot sends. A PR would add it as +`pylabrobot.opentrons.simulator` (or an `io` for `Flex(simulation=True)`), with our tip-sensor and +position behaviour. Keep ours until one is merged, then use theirs. + +### Nimbus, Vantage, EVO: don't build one; wait for (or contribute) their 1.0 classes + +Not maintainable for us. A useful robot-specific simulator means emulating the robot's firmware +protocol (the Nimbus's TCP introspection protocol, the Vantage's and EVO's firmware strings), for +backends PyLabRobot is replacing: the STAR and Prep show the pattern, a 1.0 class with a +`*SimulationDriver` built from recordings. The generic chatterbox already checks what this package +depends on (tips, volumes, wells). When PyLabRobot ports one of these robots to 1.0, it gets a +module here like `hamilton/star.py`, with PyLabRobot's simulator. If we want them sooner, the +contribution is upstream: a 1.0 class and simulation driver, recorded from a real robot. + +### Bugs in PyLabRobot 1.0.0b1 found doing this: small PRs upstream + +| What | Effect here | Fix | +| :--- | :--- | :--- | +| No Tecan tip rack can be made: every `DiTi_*` tip has `diameter=None`, and making one raises "Tip diameter is not defined" (PyLabRobot's tests expect it) | an EVO worktable cannot hold disposable tips | measured diameters for the Tecan tips (a data PR; needs the tips measured) | +| `FlexDeck`, `NimbusDeck`, `VantageDeck` and `TecanDeck` cannot be read back from their own `serialize()` (unexpected `size_x` / `model`, the wash station's missing `off_x`) | no `worktable.pylabrobot.json` beside those robots' worktables | each deck's `__init__` (or `deserialize`) to accept what `serialize` writes | +| `NimbusDeck` has no resource called `trash` (its waste positions are `default_long_1`...) | the legacy `discard_tips()` raises "Trash area not found" on a Nimbus; `drop_tips` to a rack works | name the waste, or give the deck a `get_trash_area` | +| The 1.0 `iSWAP` has joint moves only, no "move this plate there" | a STAR moves plates with its CoRe grippers here, not the iSWAP | a resource-level iSWAP move, as the CoRe grippers have | + +## Everything else PyLabRobot 1.0 drives + +PyLabRobot 1.0 gives several dozen other machines a class of their own (Inheco incubators and +ThermoShakes, BioTek readers and washers, Agilent PlateLoc and VSpin, Azenta, KBiosystems and Thermo +sealers, Mettler Toledo and Sartorius scales, Byonoy and SpectraMax readers, QInstruments BioShake, +HighRes storage, Brooks PreciseFlex, Keyence and Micronic scanners, ...). Of those, **only the LI-COR +Odyssey has a simulator** (`OdysseyChatterbox`). Only three take their transport as an argument +(`OdysseyClassic(io=...)` and the Micronic `SaneScanner` and `TwainScanner`); the rest open their +own serial port or socket, so there is no seam a simulator could use without patching. + +This package does not wrap them yet (0.2 did, through PyLabRobot's older front ends, which 1.0 keeps +only in `pylabrobot.legacy`). Wrapping a 1.0 machine is cheap with `bridge.py`: one class, its +methods as steps, no worktable. Simulating dozens of protocols ourselves is not maintainable. The upstream +fix is one pattern for all of them: each machine takes its `io` (or a driver) as an argument, as the +Flex, OT-2 and Odyssey do, so a chatterbox or a recorded-traffic replay (`pylabrobot.io` already has +capture and validation) can stand in for the device. diff --git a/examples/flex_simulated.py b/examples/flex_simulated.py index 712cf3a..8a76eab 100644 --- a/examples/flex_simulated.py +++ b/examples/flex_simulated.py @@ -1,6 +1,6 @@ """A simulated Opentrons Flex in IvoryOS NextGen, through PyLabRobot 1.0. - pip install plr-ivoryos==1.0.0b1 ivoryos-edge + pip install plr-ivoryos==1.0.0b2 ivoryos-edge python examples/flex_simulated.py PyLabRobot's own Flex runs against a simulated robot (plr_ivoryos.opentrons.simulator), so tips, diff --git a/examples/star_simulated.py b/examples/star_simulated.py new file mode 100644 index 0000000..8302374 --- /dev/null +++ b/examples/star_simulated.py @@ -0,0 +1,25 @@ +"""A simulated Hamilton STARlet in IvoryOS NextGen, through PyLabRobot 1.0. + + pip install plr-ivoryos==1.0.0b2 ivoryos-edge + python examples/star_simulated.py + +PyLabRobot's own STAR simulator answers as the firmware would, so tips, volumes and PyLabRobot's +checks are real. The STARlet is the instrument `star`; each thing fitted to it is one too: +`star_pipettes` (8 channels), `star_head96`, `star_iswap`, `star_core_grippers`, `star_autoload`. +What sits where is star_worktable.json beside this script, written on the first change in the +Labware panel. deck_type="STARDeck" or "STARPlusDeck" for the bigger frames; the other liquid +handlers (Prep, OT-2, Nimbus, Vantage, EVO) are made the same way (README). +""" + +import os + +from plr_ivoryos.hamilton import STAR + +HERE = os.path.dirname(os.path.abspath(__file__)) + +star = STAR(simulated=True, worktable=os.path.join(HERE, "star_worktable.json"), step_delay_s=0.3) + +if __name__ == "__main__": + import ivoryos_edge + from plr_ivoryos.labware_view import plugin as labware_view + ivoryos_edge.run(__name__, plugins=[labware_view]) diff --git a/plr_ivoryos/__init__.py b/plr_ivoryos/__init__.py index d97af3f..de85c40 100644 --- a/plr_ivoryos/__init__.py +++ b/plr_ivoryos/__init__.py @@ -3,14 +3,19 @@ ============ PyLabRobot 1.0 devices in IvoryOS, with PyLabRobot's own steps. -Supported devices ------------------ -Opentrons Flex (plr_ivoryos.opentrons.Flex) - The robot is an instrument, and each thing mounted on it is one too: the pipette on each - mount (FlexPipette1, FlexPipette8), the 96-channel head (FlexPipette96) and the gripper - (FlexGripperPart), with the steps PyLabRobot gives each. What is mounted, and what sits where - on the deck, is the worktable file (worktable.py). `simulated=True` runs PyLabRobot's Flex - against a simulated robot (opentrons/simulator.py). +Supported liquid handlers (every one PyLabRobot 1.0.0b1 drives) +--------------------------------------------------------------- +PyLabRobot 1.0 classes, each robot an instrument and each thing fitted to it one too, with the +steps PyLabRobot gives each: + Opentrons Flex plr_ivoryos.opentrons.Flex simulated: this package's robot-server + Opentrons OT-2 plr_ivoryos.opentrons.OT2 simulated: this package's robot-server + Hamilton STAR, STARlet, STARplus plr_ivoryos.hamilton.STAR simulated: PyLabRobot's simulator + Hamilton Prep plr_ivoryos.hamilton.Prep simulated: PyLabRobot's simulator +PyLabRobot's legacy LiquidHandler (pylabrobot.legacy), one instrument with every operation: + Hamilton Nimbus, Vantage; Tecan Freedom EVO; any legacy backend + plr_ivoryos.legacy.Nimbus, Vantage, EVO, LiquidHandler + simulated: PyLabRobot's LiquidHandlerChatterboxBackend +What is fitted, and what sits where on the deck, is the worktable file (worktable.py). How a PyLabRobot method becomes a step (wells as `plate[A1:H1]` text, labware by name) is bridge.py; the worktable, the Labware view's hooks and running a step are robot.py, and the Labware @@ -19,11 +24,21 @@ from plr_ivoryos.wells import Labware, PerWell, Site, WellSelection, Wells, expand_wells from plr_ivoryos import worktable -from plr_ivoryos.opentrons import Flex +from plr_ivoryos.opentrons import OT2, Flex +from plr_ivoryos.hamilton import STAR, Prep +from plr_ivoryos.legacy import EVO, Nimbus, Vantage +from plr_ivoryos.legacy import LiquidHandler as LegacyLiquidHandler from plr_ivoryos.async_bridge import run_async, shutdown as shutdown_async __all__ = [ "Flex", + "OT2", + "STAR", + "Prep", + "Nimbus", + "Vantage", + "EVO", + "LegacyLiquidHandler", "Labware", "Wells", "PerWell", @@ -35,4 +50,4 @@ "shutdown_async", ] -__version__ = "1.0.0b1" +__version__ = "1.0.0b2" diff --git a/plr_ivoryos/bridge.py b/plr_ivoryos/bridge.py index 93053d6..9368b08 100644 --- a/plr_ivoryos/bridge.py +++ b/plr_ivoryos/bridge.py @@ -145,14 +145,37 @@ def convert(value, resolver): return convert +def _enum_value(cls): + """A member of `cls` from itself, its name ("FRONT") or its value (1).""" + def convert(value, resolver): + if value is None or isinstance(value, cls): + return value + if isinstance(value, str) and value.strip() in cls.__members__: + return cls[value.strip()] + try: + return cls(value) + except ValueError: + pass + if isinstance(value, str): + try: + return cls(int(value)) + except (ValueError, TypeError): + pass + raise ValueError(f"expected one of {', '.join(cls.__members__)}") + return convert + + def _resource_value(arms: List[ResourceArm], what: str): """Text naming labware or wells -> the PyLabRobot object(s) the method takes.""" def convert(value, resolver): if value is None or value == "" or value == []: return None - bare = resolver._bare_name(value) + if isinstance(value, str) and not any(c in value for c in "[],"): + bare = value.strip() # also a carrier position, "plate_carrier-0", which is no labware name + else: + bare = resolver._bare_name(value) if bare is not None: - resource = resolver._labware(bare) + resource = resolver._named(bare) # a labware, the trash, or a place on the worktable for arm in arms: if not arm.many and isinstance(resource, arm.cls) and not isinstance(resource, _ITEMS): return resource @@ -184,11 +207,14 @@ def translate_param(param: inspect.Parameter, hint: Any, marker: Any = None) -> inner = _sequence_of(arm) if _is_resource_class(arm): resource_arms.append(ResourceArm(arm)) - elif inner is not None and _is_resource_class(inner): - resource_arms.append(ResourceArm(inner, many=True)) + elif inner is not None: + # Sequence[Union[TipSpot, Trash]] or Sequence[Union[TipSpot, Coordinate]]: several of + # whichever labware it takes. A coordinate in it is not offered (see below). + resource_arms.extend(ResourceArm(a, many=True) for a in _arms(inner) if _is_resource_class(a)) if resource_arms: - if len(resource_arms) != len(arms): - raise Unsupported(f"{param.name} mixes labware with other kinds of value") + # An argument that takes labware or something else (`to: Union[ResourceHolder, Coordinate]`, + # `destinations: Sequence[Union[TipSpot, Coordinate]]`) is offered as the labware: the + # worktable names what a step works on, and a bare coordinate is what a form cannot check. cats: List[str] = [] for arm in resource_arms: for cat in _categories(arm.cls): @@ -207,6 +233,9 @@ def translate_param(param: inspect.Parameter, hint: Any, marker: Any = None) -> if all(issubclass(a.cls, Trash) for a in resource_arms) and default is inspect.Parameter.empty: default, filled = "trash", True # the robot's trash bin, which is what a Flex's is called return Param(param.name, param.kind, default, annotation, _resource_value(resource_arms, param.name), filled) + plain = (str, int, float, bool) + if len(arms) > 1 and all(a in plain or typing.get_origin(a) is typing.Literal for a in arms): + return Param(param.name, param.kind, default, hint, _plain) # Union[str, float], Union[float, Literal[...]] if len(arms) == 1: arm = arms[0] inner = _sequence_of(arm) @@ -214,7 +243,15 @@ def translate_param(param: inspect.Parameter, hint: Any, marker: Any = None) -> annotation = Optional[List[inner]] if optional else List[inner] return Param(param.name, param.kind, default, annotation, _number_list(inner)) if dataclasses.is_dataclass(arm) and inspect.isclass(arm): + # A default such as Coordinate(0, 0, 0) is shown as its fields, which IvoryOS can keep + # (it stores defaults as JSON); the fields are made a Coordinate again when given. + if dataclasses.is_dataclass(default) and not isinstance(default, type): + default = dataclasses.asdict(default) return Param(param.name, param.kind, default, Optional[arm] if optional else arm, _dataclass_value(arm)) + if inspect.isclass(arm) and issubclass(arm, enum.Enum): + if isinstance(default, enum.Enum): + default = default.name # GripDirection.FRONT is shown as "FRONT", for the same reason + return Param(param.name, param.kind, default, hint, _enum_value(arm)) origin = typing.get_origin(arm) if arm in (dict, list) or origin in (dict, list, collections.abc.Mapping): return Param(param.name, param.kind, default, hint, _json_value) @@ -380,9 +417,15 @@ def add_steps(cls: type, source: type, owner: str, *, include: Optional[Iterable methods left out and why. A method `cls` defines itself is kept.""" skipped: Dict[str, str] = {} names = list(include) if include is not None else sorted(dir(source)) + # A robot that is itself a PyLabRobot resource (a STAR, a Prep, the legacy LiquidHandler) has + # the resource tree's methods too (serialize, assign_child_resource, ...): not operations. + tree = set(dir(Resource)) if include is None and inspect.isclass(source) and issubclass(source, Resource) \ + else set() for name in names: - if name.startswith("_") or name in exclude: + if name.startswith("_") or name in exclude or name in tree: continue + if inspect.isclass(inspect.getattr_static(source, name, None)): + continue # a nested class or enum PyLabRobot hangs on the class (`LLDMode`) member = inspect.getattr_static(source, name, None) if member is None or isinstance(member, property) or not callable(getattr(source, name)): continue diff --git a/plr_ivoryos/hamilton/__init__.py b/plr_ivoryos/hamilton/__init__.py new file mode 100644 index 0000000..f1b6e9b --- /dev/null +++ b/plr_ivoryos/hamilton/__init__.py @@ -0,0 +1,11 @@ +"""Hamilton robots through PyLabRobot 1.0: the STAR family (star.py) and the Prep (prep.py), each +with PyLabRobot's own simulator. The Nimbus and the Vantage, which PyLabRobot 1.0.0b1 drives only +through pylabrobot.legacy, are in plr_ivoryos.legacy.""" + +from plr_ivoryos.hamilton.prep import (Prep, PrepCoreGrippers, PrepHead8, PrepHeaterShaker, PrepLights, + PrepPipettes) +from plr_ivoryos.hamilton.star import (STAR, STARAutoload, STARCoreGrippers, STARHead96, STARHead384, STARiSWAP, + STARPipettes) + +__all__ = ["STAR", "STARPipettes", "STARHead96", "STARHead384", "STARiSWAP", "STARCoreGrippers", "STARAutoload", + "Prep", "PrepPipettes", "PrepHead8", "PrepCoreGrippers", "PrepHeaterShaker", "PrepLights"] diff --git a/plr_ivoryos/hamilton/prep.py b/plr_ivoryos/hamilton/prep.py new file mode 100644 index 0000000..ae6775f --- /dev/null +++ b/plr_ivoryos/hamilton/prep.py @@ -0,0 +1,164 @@ +"""A Hamilton Prep in IvoryOS, through PyLabRobot 1.0. + + from plr_ivoryos.hamilton import Prep + prep = Prep(simulated=True) # PyLabRobot's Prep simulator + prep = Prep(host="192.168.1.50") # a real Prep on the network + +As with the STAR (star.py), the Prep is an instrument and each thing fitted to it is one too: +`prep_pipettes` (the two independent channels), `prep_head8` (the 8-channel head), `prep_core_grippers`, +`prep_heater_shaker` and `prep_lights`, each with its PyLabRobot class's own steps. The worktable +is the Prep's eight labware spots, named 0 to 7 (front left first, column by column, as PyLabRobot's +`deck[0]` to `deck[7]`). + +`simulated=True` is PyLabRobot's own Prep simulator (`PrepSimulationDriver`), with what its recording +of a Prep has fitted (two channels, an 8-channel head, a heater shaker). +""" + +from typing import Any, Dict, Optional + +from pylabrobot.hamilton.prep.device import Prep as plr_Prep, PrepDevice +from pylabrobot.hamilton.prep.driver.features.core_grippers import CoreGrippers +from pylabrobot.hamilton.prep.driver.features.head8 import Head8 +from pylabrobot.hamilton.prep.driver.features.heater_shaker import PrepHamiltonHeaterShaker +from pylabrobot.hamilton.prep.driver.features.lights import Lights +from pylabrobot.hamilton.prep.driver.features.pipettes import Pipettes + +from plr_ivoryos import bridge +from plr_ivoryos.async_bridge import run_async +from plr_ivoryos.robot import WorktableRobot, part_class +from plr_ivoryos.wells import Labware, Site + +PARTS = ("pipettes", "head8", "core_grippers", "heater_shaker", "lights") + + +def check_equipment(equipment: Dict[str, Any]) -> Dict[str, Any]: + if not isinstance(equipment, dict): + raise ValueError('equipment is {"pipettes": true, "head8": true, "heater_shaker": true, ...}') + unknown = sorted(set(equipment) - set(PARTS)) + if unknown: + raise ValueError(f"'{unknown[0]}' is not something fitted to a Prep: {', '.join(PARTS)}.") + return {part: bool(equipment.get(part, False)) for part in PARTS} + + +def _fitted(device) -> Dict[str, bool]: + return {part: getattr(device, part, None) is not None for part in PARTS} + + +class Prep(WorktableRobot): + """A Hamilton Prep. Steps take labware names and wells; the channels, the 8-channel head, the + CoRe grippers, the heater shaker and the lights are instruments of their own. + + host / port the Prep on the network (port 2000) + simulated PyLabRobot's Prep simulator + worktable the worktable file (worktable.py); optional, worktable.json in the deck's data folder + equipment what is fitted, for a real Prep when the file does not say (it is asked otherwise) + step_delay_s a pause after each step, simulated only + tracking PyLabRobot's tip and volume tracking + """ + + KINDS = ["PrepDeck"] + + def __init__(self, host: Optional[str] = None, port: int = 2000, simulated: bool = False, + worktable: Optional[str] = None, equipment: Optional[Dict[str, Any]] = None, + step_delay_s: float = 0.0, tracking: bool = True): + if not simulated and not host: + raise ValueError("Give the Prep's host, or simulated=True.") + if simulated and host: + raise ValueError("simulated=True runs no robot, so a host beside it would be ignored.") + super().__init__(worktable, "PrepDeck", simulated, step_delay_s, tracking) + self._host, self._port = host, int(port) + found = None if self._new_file else self._config.get("equipment") + if simulated: + self._config["equipment"] = self._ask(self._make_plr(worktable_deck())) + elif found or equipment: + self._config["equipment"] = check_equipment(found or equipment) + else: + self._config["equipment"] = self._ask(self._make_plr(worktable_deck()), real=True) + self._new_file = True + self._plr = self._make_plr(self.deck) + self._parts = {part: PART_CLASSES[part](self, part) for part in PARTS if self.equipment.get(part)} + if self._new_file and not self._simulated: + self._save() + self._after_init() + + @property + def equipment(self) -> Dict[str, Any]: + return dict(self._config.get("equipment") or {}) + + def _make_plr(self, deck) -> PrepDevice: + if self._simulated: + return plr_Prep(deck=deck, simulation=True) + return plr_Prep(deck=deck, host=self._host, port=self._port) + + def _ask(self, device, real: bool = False) -> Dict[str, Any]: + async def ask(): + await device.setup(skip_device_initialization=True) + try: + return _fitted(device) + finally: + await device.stop() + try: + return check_equipment(run_async(ask())) + except Exception as e: + if not real: + raise + raise ValueError(f"The worktable file ({self._path}) does not say what is fitted to the Prep, and the Prep " + f"at {self._host}:{self._port} could not be asked ({type(e).__name__}: {e}). Turn it on, " + 'or write equipment in the file: {"pipettes": true, "head8": false, ...}.') from None + + async def _connect(self) -> None: + await self._plr.setup() + fitted = _fitted(self._plr) + missing = [part for part, wanted in self.equipment.items() if wanted and not fitted[part]] + if missing: + await self._plr.stop() + raise RuntimeError(f"The Prep does not have what the worktable file says it has: no {', '.join(missing)}. " + f"Change equipment in {self._path} and restart the deck.") + + async def _disconnect(self) -> None: + await self._plr.stop() + + def _plr_target(self): + return self._plr + + def _attach_deck(self, deck) -> None: + self._plr = self._make_plr(deck) + + def setup(self) -> None: + """Connect and initialize the Prep, checking what is fitted against the worktable file. Any + other step does this itself the first time. (PyLabRobot: Prep.setup)""" + run_async(self._setup()) + + def stop(self) -> None: + """Put the Prep down. The next step sets it up again. (PyLabRobot: Prep.stop)""" + if self._ready: + run_async(self._disconnect()) + self._ready = False + + def _deck_extras(self) -> dict: + return {"equipment": {part: True for part, on in self.equipment.items() if on}} + + +def worktable_deck(): + from plr_ivoryos import worktable + return worktable.make_deck("PrepDeck") + + +_MOVABLE = Labware("plate", "reservoir", "tip_rack", "tube_rack") +_HERE = __name__ + +PART_CLASSES = { + "pipettes": part_class("PrepPipettes", Pipettes, "The Prep's independent channels (PyLabRobot: Pipettes).", _HERE), + "head8": part_class("PrepHead8", Head8, "The Prep's 8-channel head (PyLabRobot: Head8).", _HERE), + "core_grippers": part_class("PrepCoreGrippers", CoreGrippers, "The Prep's CoRe grippers (PyLabRobot: CoreGrippers).", + _HERE, markers={"pick_up_resource": {"resource": _MOVABLE}, + "drop_resource": {"to": Site()}}), + "heater_shaker": part_class("PrepHeaterShaker", PrepHamiltonHeaterShaker, + "The Prep's heater shaker (PyLabRobot: PrepHamiltonHeaterShaker).", _HERE), + "lights": part_class("PrepLights", Lights, "The Prep's lights (PyLabRobot: Lights).", _HERE), +} +PrepPipettes, PrepHead8, PrepCoreGrippers, PrepHeaterShaker, PrepLights = PART_CLASSES.values() + +SKIPPED: Dict[str, Dict[str, str]] = {cls.__name__: cls._SKIPPED for cls in PART_CLASSES.values()} +# The robot's own (signal_error, error_lighting, ...). Setup and stop are above. +SKIPPED["Prep"] = bridge.add_steps(Prep, PrepDevice, "PrepDevice", exclude=("setup", "stop")) diff --git a/plr_ivoryos/hamilton/star.py b/plr_ivoryos/hamilton/star.py new file mode 100644 index 0000000..77092f6 --- /dev/null +++ b/plr_ivoryos/hamilton/star.py @@ -0,0 +1,214 @@ +"""A Hamilton STAR, STARlet or STARplus in IvoryOS, through PyLabRobot 1.0. + + from plr_ivoryos.hamilton import STAR + star = STAR(simulated=True) # a STARlet, PyLabRobot's simulator + star = STAR(simulated=True, deck_type="STARDeck") # a full-size STAR + star = STAR(worktable="star.json") # the real one on USB (plr-ivoryos[usb]) + +In PyLabRobot 1.0 a STAR is one object, and each thing fitted to it is an object of its own: +`star.pipettes` (the independent channels), `star.head96` or `star.head384`, `star.iswap`, +`star.core_grippers` and `star.autoload`. IvoryOS shows them the same way: the STAR is an instrument +with its driver's own steps (firmware queries, ...), and each fitted thing is an instrument too, +named after it: in a deck that calls the robot `star`, `star_pipettes`, `star_head96`, ... each +with its PyLabRobot class's own steps, names and arguments +(`star_pipettes.aspirate(containers="plate[A1:H1]", volumes=[50])`). + +Which frame it is (STARlet, STAR, STARplus) is the worktable file's `deck_type`, and what is fitted +is its `equipment`, because IvoryOS reads a deck's instruments once, when it starts, and PyLabRobot +only learns what is fitted once it connects. Simulated, what is fitted is what PyLabRobot's +recording of that frame has (8 channels, a 96-head, an iSWAP, CoRe grippers, an autoload; say +`"head384": true` for the 384-head recording). A real STAR is asked once, when the file does not +say, and the answer is written to the file; each time it is set up, what it reports is checked +against the file. + +`simulated=True` is PyLabRobot's own STAR simulator (`STARSimulationDriver`): every command is +checked and answered as the firmware would, with PyLabRobot's tip and volume tracking. +""" + +from typing import Any, Dict, List, Optional + +from pylabrobot.hamilton.star.device import (RECORDING_STAR, RECORDING_STAR_HEAD384, RECORDING_STARLET, + RECORDING_STARLET_HEAD384, RECORDING_STARPLUS, STAR as plr_STAR, + STARlet as plr_STARlet, STARPlus as plr_STARPlus) +from pylabrobot.hamilton.star.driver.features.autoload import Autoload +from pylabrobot.hamilton.star.driver.features.core_grippers import CoreGrippers +from pylabrobot.hamilton.star.driver.features.head96 import Head96 +from pylabrobot.hamilton.star.driver.features.head384 import Head384 +from pylabrobot.hamilton.star.driver.features.iswap import iSWAP +from pylabrobot.hamilton.star.driver.features.pipettes import Pipettes +from pylabrobot.hamilton.star.driver.master import STARDriver +from pylabrobot.hamilton.star.driver.simulator import STARSimulationDriver + +from plr_ivoryos import bridge, worktable +from plr_ivoryos.async_bridge import run_async +from plr_ivoryos.robot import WorktableRobot, part_class +from plr_ivoryos.wells import Labware, Site + +# deck_type -> (PyLabRobot's frame, its recording, its recording with a 384-head) +FRAMES = { + "STARLetDeck": (plr_STARlet, RECORDING_STARLET, RECORDING_STARLET_HEAD384), + "STARDeck": (plr_STAR, RECORDING_STAR, RECORDING_STAR_HEAD384), + "STARPlusDeck": (plr_STARPlus, RECORDING_STARPLUS, None), +} + +# What can be fitted to a STAR, by PyLabRobot's attribute for it. +PARTS = ("pipettes", "head96", "head384", "iswap", "core_grippers", "autoload") + + +def check_equipment(equipment: Dict[str, Any]) -> Dict[str, Any]: + """`equipment` as the worktable file keeps it ({"pipettes": true, "head96": true, ...}), or + ValueError saying what is wrong with it.""" + if not isinstance(equipment, dict): + raise ValueError('equipment is {"pipettes": true, "head96": true, "iswap": true, ...}') + unknown = sorted(set(equipment) - set(PARTS)) + if unknown: + raise ValueError(f"'{unknown[0]}' is not something fitted to a STAR: {', '.join(PARTS)}.") + out = {part: bool(equipment.get(part, False)) for part in PARTS} + if out["head96"] and out["head384"]: + raise ValueError("A STAR has a 96-head or a 384-head, not both.") + return out + + +def _fitted(device) -> Dict[str, Any]: + return {part: getattr(device, part, None) is not None for part in PARTS} + + +class STAR(WorktableRobot): + """A Hamilton STAR, STARlet or STARplus (the worktable file's deck_type). Steps take labware + names and wells; each fitted thing (channels, 96- or 384-head, iSWAP, CoRe grippers, autoload) is + an instrument of its own (`__ivoryos_instruments__`). + + simulated PyLabRobot's STAR simulator, with the fitted things its recording of the frame has + worktable the worktable file (worktable.py); optional, worktable.json in the deck's data + folder. A new one starts ready-made (simulated) or empty, and is written on the + first change. + deck_type STARLetDeck, STARDeck or STARPlusDeck, for a new worktable file (default STARlet) + equipment what is fitted, when the file does not say ({"head384": true} chooses the 384-head + recording when simulated) + device_address / serial_number which STAR on USB, when there is more than one + step_delay_s a pause after each step, simulated only, so a run can be watched + tracking PyLabRobot's tip and volume tracking + """ + + KINDS = ["STARLetDeck", "STARDeck", "STARPlusDeck"] + + def __init__(self, simulated: bool = False, worktable: Optional[str] = None, deck_type: Optional[str] = None, + equipment: Optional[Dict[str, Any]] = None, device_address: Optional[int] = None, + serial_number: Optional[str] = None, step_delay_s: float = 0.0, tracking: bool = True): + super().__init__(worktable, deck_type, simulated, step_delay_s, tracking) + self._device_address, self._serial_number = device_address, serial_number + found = None if self._new_file else self._config.get("equipment") + wanted = check_equipment(found or equipment or {}) if (found or equipment) else None + if simulated: + # What the recording has; the file (or `equipment`) only chooses the 384-head one. + self._head384 = bool(wanted and wanted["head384"]) + self._config["equipment"] = self._ask(self._make_plr(self._fresh_deck())) + elif wanted: + self._config["equipment"] = wanted + else: + self._config["equipment"] = self._ask(self._make_plr(self._fresh_deck()), real=True) + self._new_file = True + self._plr = self._make_plr(self.deck) + self._parts = {part: PART_CLASSES[part](self, part) for part in PARTS if self.equipment.get(part)} + if self._new_file and not self._simulated: + self._save() + self._after_init() + + @property + def equipment(self) -> Dict[str, Any]: + return dict(self._config.get("equipment") or {}) + + def _fresh_deck(self): + return worktable.make_deck(self._config.get("deck_type") or self.KINDS[0]) + + def _make_plr(self, deck): + frame, recording, recording384 = FRAMES[self._config.get("deck_type") or self.KINDS[0]] + if self._simulated: + if getattr(self, "_head384", False) and recording384 is None: + raise ValueError("PyLabRobot has no recording of this frame with a 384-head to simulate.") + driver = STARSimulationDriver(deck=deck, declared_configuration_json=recording384 if self._head384 + else recording) + else: + driver = STARDriver(device_address=self._device_address, serial_number=self._serial_number, deck=deck) + return frame(deck=deck, driver=driver) + + def _ask(self, device, real: bool = False) -> Dict[str, Any]: + """What this STAR has fitted: set up once (a real one without initializing it), read, put down.""" + async def ask(): + await device.setup(skip_device_initialization=True) + try: + return _fitted(device) + finally: + await device.stop() + try: + return check_equipment(run_async(ask())) + except Exception as e: + if not real: + raise + raise ValueError(f"The worktable file ({self._path}) does not say what is fitted to the STAR, and the " + f"STAR could not be asked ({type(e).__name__}: {e}). Turn it on, or write equipment in " + 'the file: {"pipettes": true, "head96": true, "iswap": true, "core_grippers": true, ' + '"autoload": false}.') from None + + # --- the session -------------------------------------------------------------------------------- + + async def _connect(self) -> None: + await self._plr.setup() + fitted, problems = _fitted(self._plr), [] + for part, wanted in self.equipment.items(): + if wanted and not fitted[part]: + problems.append(f"there is no {part} (the file says there is)") + if problems: + await self._plr.stop() + raise RuntimeError("The STAR does not have what the worktable file says it has: " + "; ".join(problems) + + f". Change equipment in {self._path} and restart the deck.") + + async def _disconnect(self) -> None: + await self._plr.stop() + + def _plr_target(self): + return self._plr.driver + + def _attach_deck(self, deck) -> None: + self._plr = self._make_plr(deck) # PyLabRobot 1.0 makes the deck a child of the device + + def setup(self) -> None: + """Connect and initialize the STAR, and find what is fitted, checking it against the + worktable file. Any other step does this itself the first time. (PyLabRobot: STAR.setup)""" + run_async(self._setup()) + + def stop(self) -> None: + """Put the STAR down. The next step sets it up again. (PyLabRobot: STAR.stop)""" + if self._ready: + run_async(self._disconnect()) + self._ready = False + + def _deck_extras(self) -> dict: + return {"equipment": {part: True for part, on in self.equipment.items() if on}} + + +# --- the parts ---------------------------------------------------------------------------------------- + +_MOVABLE = Labware("plate", "reservoir", "tip_rack", "tube_rack") +_HERE = __name__ + +PART_CLASSES = { + "pipettes": part_class("STARPipettes", Pipettes, "The STAR's independent channels (PyLabRobot: Pipettes).", _HERE), + "head96": part_class("STARHead96", Head96, "The STAR's 96-head (PyLabRobot: Head96).", _HERE), + "head384": part_class("STARHead384", Head384, "The STAR's 384-head (PyLabRobot: Head384).", _HERE), + "iswap": part_class("STARiSWAP", iSWAP, "The STAR's iSWAP plate handler (PyLabRobot: iSWAP).", _HERE), + "core_grippers": part_class("STARCoreGrippers", CoreGrippers, + "The CoRe grippers the channels carry (PyLabRobot: CoreGrippers).", _HERE, + markers={"pick_up_resource": {"resource": _MOVABLE}, + "drop_resource": {"to": Site()}}), + "autoload": part_class("STARAutoload", Autoload, "The STAR's autoload (PyLabRobot: Autoload).", _HERE), +} +STARPipettes, STARHead96, STARHead384, STARiSWAP, STARCoreGrippers, STARAutoload = PART_CLASSES.values() + +# What is left out of each, and why. +SKIPPED: Dict[str, Dict[str, str]] = {cls.__name__: cls._SKIPPED for cls in PART_CLASSES.values()} +# The robot's own: its driver's (firmware queries, ...). Setup and stop are above. +SKIPPED["STAR"] = bridge.add_steps(STAR, STARDriver, "STARDriver", exclude=( + "setup", "stop", "discover", "initialize", + # the driver's own helpers, not operations + "format_setup_summary", "get_id_from_fw_response", "get_or_assign_tip_type_index", "features_below_safe_z")) diff --git a/plr_ivoryos/labware_view/page/index.html b/plr_ivoryos/labware_view/page/index.html index ca5f2fa..e2d6027 100644 --- a/plr_ivoryos/labware_view/page/index.html +++ b/plr_ivoryos/labware_view/page/index.html @@ -211,17 +211,18 @@

Labware

$("edit").textContent = editing ? "Done" : "Edit layout"; renderNotes(); if (!current || !layouts[current]) { - $("stage").innerHTML = `
No instrument on this deck reports a worktable.
A plr-ivoryos robot (an Opentrons Flex) does.
`; + $("stage").innerHTML = `
No instrument on this deck reports a worktable.
A plr-ivoryos robot (a Flex, OT-2, STAR, Prep, Nimbus, Vantage or EVO) does.
`; $("kind").textContent = ""; $("legend").innerHTML = $("list").innerHTML = $("fill").innerHTML = ""; return; } const layout = layouts[current], state = (states[current] || {}).labware || {}; $("title").textContent = current; - // What is mounted (a Flex): each one is an instrument of its own. + // What is fitted (a pipette per mount, a 96-head, a gripper, an iSWAP, ...): each one is an + // instrument of its own. A pipette is named; a part that is simply there is listed. const fitted = layout.deck.equipment || {}, fittedLabels = fitted.labels || {}; - const mounted = ["left", "right", "head96"].filter(k => fitted[k]).map(k => `${k}: ${fittedLabels[k] || fitted[k]}`); - if (fitted.gripper) mounted.push("gripper"); + const mounted = Object.keys(fitted).filter(k => k !== "labels" && k !== "trash" && fitted[k]) + .map(k => fitted[k] === true ? k.replace(/_/g, " ") : `${k}: ${fittedLabels[k] || fitted[k]}`); $("kind").textContent = (layout.deck.label || layout.deck.kind) + (layout.deck.simulated ? " · simulated" : "") + (mounted.length ? " · " + mounted.join(", ") : ""); if (zoomed && !layout.labware[zoomed]) zoomed = null; diff --git a/plr_ivoryos/legacy.py b/plr_ivoryos/legacy.py new file mode 100644 index 0000000..2fae691 --- /dev/null +++ b/plr_ivoryos/legacy.py @@ -0,0 +1,178 @@ +"""Liquid handlers PyLabRobot 1.0.0b1 drives only through `pylabrobot.legacy`: the Hamilton Nimbus, +the Hamilton Vantage and the Tecan Freedom EVO, and any other legacy backend. + + from plr_ivoryos.legacy import Nimbus, Vantage, EVO, LiquidHandler + nimbus = Nimbus(simulated=True) # PyLabRobot's legacy simulator + nimbus = Nimbus(host="192.168.100.100") # a real Nimbus over TCP + vantage = Vantage(simulated=True) + evo = EVO(simulated=True, deck_type="EVO150Deck") + lh = LiquidHandler(backend=SomeLegacyBackend(...), deck_type="NimbusDeck") # any legacy backend + +PyLabRobot 1.0 keeps its older `LiquidHandler` front end, with a backend per robot, as +`pylabrobot.legacy.liquid_handling`, for the robots it has not yet given a class of their own. It is +one object with every operation on it (pick_up_tips, aspirate, dispense, pick_up_tips96, move_plate, +...), so here it is one instrument with those steps, PyLabRobot's names and arguments, and the same +worktable file, Labware view and wells-as-text as every other robot in this package. When PyLabRobot +gives one of these robots a 1.0 class, it moves to a module of its own (as the STAR has). + +`simulated=True` is PyLabRobot's `LiquidHandlerChatterboxBackend`: the legacy front end's own tip and +volume tracking and checks, with a backend that accepts every command. It knows nothing of the +robot's firmware: what passes here has been checked against PyLabRobot, not against the robot. +""" + +from typing import Any, Dict, List, Optional + +from pylabrobot.legacy.liquid_handling import LiquidHandler as PLRLiquidHandler +from pylabrobot.legacy.liquid_handling.backends import LiquidHandlerChatterboxBackend + +from plr_ivoryos import bridge, worktable +from plr_ivoryos.async_bridge import run_async +from plr_ivoryos.robot import WorktableRobot +from plr_ivoryos.wells import Labware, Site + + +# What the liquid ledger (liquids.py) calls this robot's channels. +HEAD = "head" + + +class LiquidHandler(WorktableRobot): + """PyLabRobot's legacy LiquidHandler with any legacy backend, as one IvoryOS instrument. + + backend a pylabrobot.legacy backend (NimbusBackend, VantageBackend, EVOBackend, ...) + simulated PyLabRobot's LiquidHandlerChatterboxBackend instead of a backend + channels how many channels the simulated robot has (default 8) + worktable the worktable file (worktable.py); optional, worktable.json in the deck's data folder + deck_type which worktable a new file is (one of KINDS) + step_delay_s a pause after each step, simulated only + tracking PyLabRobot's tip and volume tracking + """ + + # Any worktable but the Flex's (PyLabRobot's legacy front end has no Flex backend); a STARlet by + # default, as PyLabRobot's own examples simulate. + KINDS = ["STARLetDeck"] + [kind for kind in worktable.DECKS if kind not in ("FlexDeck", "STARLetDeck")] + + def __init__(self, backend=None, simulated: bool = False, channels: int = 8, worktable: Optional[str] = None, + deck_type: Optional[str] = None, step_delay_s: float = 0.0, tracking: bool = True): + if backend is None and not simulated: + raise ValueError("Give a pylabrobot.legacy backend, or simulated=True.") + if backend is not None and simulated: + raise ValueError("simulated=True runs no robot, so a backend beside it would be ignored.") + super().__init__(worktable, deck_type, simulated, step_delay_s, tracking) + self._channels = int(channels) + self._backend = backend + self._plr = self._make_plr() + self._after_init() + + def _make_plr(self) -> PLRLiquidHandler: + backend = LiquidHandlerChatterboxBackend(num_channels=self._channels) if self._simulated else self._backend + return PLRLiquidHandler(backend=backend, deck=self.deck) + + async def _connect(self) -> None: + await self._plr.setup() + + async def _disconnect(self) -> None: + await self._plr.stop() + + def _plr_target(self): + return self._plr + + def _run_step(self, name: str, given: Dict[str, Any], extra: Dict[str, Any], params: Dict[str, bridge.Param]): + # Every step works with the one set of channels, so liquids follow the tips across steps. + return self._execute(HEAD, self._plr_target, name, given, extra, params) + + def _attach_deck(self, deck) -> None: + self._plr = self._make_plr() + + def _tip_count(self, part: Optional[str]) -> int: + return sum(self._channels_state()) + self._head96_tips() + + def _any_tips(self) -> bool: + return self._tip_count(None) > 0 + + def _head96_tips(self) -> int: + head96 = getattr(self._plr, "head96", None) or {} + return sum(1 for tracker in head96.values() if tracker.has_tip) + + def _channels_state(self) -> List[bool]: + head = getattr(self._plr, "head", None) or {} + return [head[channel].has_tip for channel in sorted(head)] + + def setup(self) -> None: + """Connect and set up the robot. Any other step does this itself the first time. + (PyLabRobot: LiquidHandler.setup)""" + run_async(self._setup()) + + def stop(self) -> None: + """Put the robot down. The next step sets it up again. (PyLabRobot: LiquidHandler.stop)""" + if self._ready: + run_async(self._disconnect()) + self._ready = False + + +class Nimbus(LiquidHandler): + """A Hamilton Nimbus (PyLabRobot: legacy NimbusBackend, over TCP).""" + + KINDS = ["NimbusDeck"] + + def __init__(self, host: Optional[str] = None, port: int = 2000, simulated: bool = False, + worktable: Optional[str] = None, channels: int = 8, step_delay_s: float = 0.0, tracking: bool = True): + backend = None + if host and not simulated: + from pylabrobot.legacy.liquid_handling.backends.hamilton.nimbus_backend import NimbusBackend + backend = NimbusBackend(host=host, port=port) + elif not simulated: + raise ValueError("Give the Nimbus's host, or simulated=True.") + elif host: + raise ValueError("simulated=True runs no robot, so a host beside it would be ignored.") + super().__init__(backend, simulated, channels, worktable, "NimbusDeck", step_delay_s, tracking) + + +class Vantage(LiquidHandler): + """A Hamilton Vantage, 1.3 m deck (PyLabRobot: legacy VantageBackend, over USB).""" + + KINDS = ["VantageDeck"] + + def __init__(self, simulated: bool = False, worktable: Optional[str] = None, device_address: Optional[int] = None, + serial_number: Optional[str] = None, channels: int = 8, step_delay_s: float = 0.0, + tracking: bool = True): + backend = None + if not simulated: + from pylabrobot.legacy.liquid_handling.backends import VantageBackend + backend = VantageBackend(device_address=device_address, serial_number=serial_number) + super().__init__(backend, simulated, channels, worktable, "VantageDeck", step_delay_s, tracking) + + +class EVO(LiquidHandler): + """A Tecan Freedom EVO 100, 150 or 200 (PyLabRobot: legacy EVOBackend, over USB). + + PyLabRobot 1.0.0b1 cannot make a Tecan tip rack yet (its tip diameters are not measured), so + disposable tips cannot be put on an EVO worktable until it can.""" + + KINDS = ["EVO150Deck", "EVO100Deck", "EVO200Deck"] + + def __init__(self, simulated: bool = False, worktable: Optional[str] = None, deck_type: Optional[str] = None, + diti_count: int = 0, channels: int = 8, step_delay_s: float = 0.0, tracking: bool = True): + backend = None + if not simulated: + from pylabrobot.legacy.liquid_handling.backends import EVOBackend + backend = EVOBackend(diti_count=diti_count) + super().__init__(backend, simulated, channels, worktable, deck_type, step_delay_s, tracking) + + +# Labware a step moves, and where to. +_MOVABLE = Labware("plate", "reservoir", "tip_rack", "tube_rack") +_MOVES = {"move_plate": {"plate": _MOVABLE, "to": Site()}, + "move_resource": {"resource": _MOVABLE, "to": Site()}, + "move_lid": {"to": Site()}, + "pick_up_resource": {"resource": _MOVABLE}, + "drop_resource": {"destination": Site()}} + +# PyLabRobot's methods, as steps; what is left out, and why. Setup and stop are above; the session, +# the backend and the deck object are not a step's business. +SKIPPED: Dict[str, Dict[str, str]] = { + "LiquidHandler": bridge.add_steps(LiquidHandler, PLRLiquidHandler, "LiquidHandler", exclude=( + "setup", "stop", "serialize", "deserialize", "load", "save", "update_head_state", "update_head96_state", + "clear_head_state", "clear_head96_state", "register_default_tip_rack", "set_deck", + "use_channels", "use_tips"), # context managers, for a `with` block in code + markers=_MOVES), +} diff --git a/plr_ivoryos/opentrons/__init__.py b/plr_ivoryos/opentrons/__init__.py index eaf8af4..59de82a 100644 --- a/plr_ivoryos/opentrons/__init__.py +++ b/plr_ivoryos/opentrons/__init__.py @@ -1,8 +1,11 @@ -"""Opentrons robots through PyLabRobot 1.0: the Flex (flex.py) and a simulated one (simulator.py).""" +"""Opentrons robots through PyLabRobot 1.0: the Flex (flex.py), the OT-2 (ot2.py), and a simulated +robot-server for both (simulator.py).""" from plr_ivoryos.opentrons.flex import (Flex, FlexGripperPart, FlexPipette1, FlexPipette8, FlexPipette96, check_equipment) -from plr_ivoryos.opentrons.simulator import FLEX_PIPETTES, SimulatedFlexServer +from plr_ivoryos.opentrons.ot2 import OT2, OT2Pipette1, OT2Pipette8 +from plr_ivoryos.opentrons.simulator import FLEX_PIPETTES, OT2_PIPETTES, SimulatedFlexServer, SimulatedOT2Server __all__ = ["Flex", "FlexPipette1", "FlexPipette8", "FlexPipette96", "FlexGripperPart", "check_equipment", - "FLEX_PIPETTES", "SimulatedFlexServer"] + "OT2", "OT2Pipette1", "OT2Pipette8", + "FLEX_PIPETTES", "OT2_PIPETTES", "SimulatedFlexServer", "SimulatedOT2Server"] diff --git a/plr_ivoryos/opentrons/flex.py b/plr_ivoryos/opentrons/flex.py index 21c3bb8..9b6d8bb 100644 --- a/plr_ivoryos/opentrons/flex.py +++ b/plr_ivoryos/opentrons/flex.py @@ -35,7 +35,7 @@ from plr_ivoryos import bridge, worktable from plr_ivoryos.async_bridge import run_async from plr_ivoryos.opentrons.simulator import FLEX_PIPETTES, SimulatedFlexServer -from plr_ivoryos.robot import WorktableRobot +from plr_ivoryos.robot import Part, WorktableRobot from plr_ivoryos.wells import Labware, Site MOUNTS = ("left", "right") @@ -344,23 +344,12 @@ def worktable_starter_equipment() -> Dict[str, Any]: # --- the parts: a pipette on a mount, the 96-channel head, the gripper ------------------------------ -class _Part: - """Something mounted on a Flex, as an IvoryOS instrument. It reports the Flex's labware (not - its deck, which the Flex itself reports) so its steps get labware choices and well pickers.""" - - def __init__(self, robot: Flex, part: str): - self._robot = robot - self._part = part - - def __ivoryos_labware__(self) -> dict: - return self._robot._part_layout() +class _Part(Part): + """Something mounted on a Flex, as an IvoryOS instrument (robot.Part).""" def _target(self): return self._robot._head(self._part) - def _run_step(self, name: str, given: Dict[str, Any], extra: Dict[str, Any], params: Dict[str, bridge.Param]): - return self._robot._execute(self._part, self._target, name, given, extra, params) - class _Pipette(_Part): def __init__(self, robot: Flex, part: str, pipette: str): diff --git a/plr_ivoryos/opentrons/ot2.py b/plr_ivoryos/opentrons/ot2.py new file mode 100644 index 0000000..b1ae131 --- /dev/null +++ b/plr_ivoryos/opentrons/ot2.py @@ -0,0 +1,183 @@ +"""An Opentrons OT-2 in IvoryOS, through PyLabRobot 1.0. + + from plr_ivoryos.opentrons import OT2 + ot2 = OT2(simulated=True) # PyLabRobot's OT-2 on a simulated robot-server + ot2 = OT2(host="10.0.0.6") # a real OT-2 over the network + +As with the Flex (flex.py), the OT-2 is an instrument with the robot's own steps (home, health, ...) +and each mounted pipette is an instrument too: in a deck that calls the robot `ot2`, `ot2_left` and +`ot2_right`, each with its PyLabRobot class's steps (`OT2SingleChannelPipette`: pick_up_tip, +aspirate, ...; `OT2_8ChannelPipette`: pick_up_tips, aspirate, ...). What is mounted is the worktable +file's `equipment` ({"left": "p300_multi_gen2", "right": "p20_single_gen2"}); a real OT-2 is asked +once when the file does not say. Labware goes in slots 1 to 11; the trash is the OT-2's own, in 12. + +`simulated=True` runs PyLabRobot's OT-2 unchanged against a simulated robot-server (simulator.py), +since PyLabRobot 1.0.0b1 has no OT-2 simulator for its 1.0 class (only for the legacy backend). +""" + +from typing import Any, Dict, List, Optional + +from pylabrobot.opentrons.ot2 import OT2 as PLROT2, OT2_8ChannelPipette, OT2SingleChannelPipette + +from plr_ivoryos import bridge +from plr_ivoryos.async_bridge import run_async +from plr_ivoryos.opentrons.simulator import OT2_PIPETTES, SimulatedOT2Server +from plr_ivoryos.robot import WorktableRobot, part_class + +MOUNTS = ("left", "right") +PIPETTE_CLASSES = {1: OT2SingleChannelPipette, 8: OT2_8ChannelPipette} + + +def check_equipment(equipment: Dict[str, Any]) -> Dict[str, Any]: + """`equipment` as the worktable file keeps it ({"left": pipette, "right": pipette}), or + ValueError saying what is wrong with it.""" + if not isinstance(equipment, dict): + raise ValueError('equipment is {"left": "p300_multi_gen2", "right": "p20_single_gen2"}') + unknown = sorted(set(equipment) - set(MOUNTS)) + if unknown: + raise ValueError(f"'{unknown[0]}' is not an OT-2 mount: left, right.") + out = {} + for mount in MOUNTS: + name = equipment.get(mount) + if name in (None, "", "none"): + continue + if name not in OT2_PIPETTES: + raise ValueError(f"'{name}' is not an OT-2 pipette PyLabRobot drives: {', '.join(OT2_PIPETTES)}.") + out[mount] = name + if not out: + raise ValueError("An OT-2 needs a pipette: say what is on the left or right mount.") + return out + + +class OT2(WorktableRobot): + """An Opentrons OT-2. Steps take labware names and wells; each mounted pipette is an + instrument of its own (`__ivoryos_instruments__`). + + host / port the robot on the network (port 31950) + simulated run against a simulated robot-server (simulator.py) + worktable the worktable file (worktable.py); optional, worktable.json in the deck's data folder + equipment what is mounted, when the file does not say: {"left": "p300_multi_gen2"} + step_delay_s a pause after each step, simulated only + command_timeout seconds PyLabRobot waits for one robot command + tracking PyLabRobot's tip and volume tracking + """ + + KINDS = ["OTDeck"] + + def __init__(self, host: Optional[str] = None, port: int = 31950, simulated: bool = False, + worktable: Optional[str] = None, equipment: Optional[Dict[str, Any]] = None, + step_delay_s: float = 0.0, command_timeout: float = 30.0, tracking: bool = True): + if not simulated and not host: + raise ValueError("Give the OT-2's host, or simulated=True.") + if simulated and host: + raise ValueError("simulated=True runs no robot, so a host beside it would be ignored. Turn simulated off " + "to use that robot, or leave the host out to simulate.") + super().__init__(worktable, "OTDeck", simulated, step_delay_s, tracking) + self._host, self._port, self._command_timeout = host, int(port), float(command_timeout) + found = None if self._new_file else self._config.get("equipment") + if found or equipment: + self._config["equipment"] = check_equipment(found or equipment) + elif simulated: + self._config["equipment"] = check_equipment(self._config.get("equipment") or {"left": "p300_multi_gen2", + "right": "p300_single_gen2"}) + else: + self._config["equipment"] = self._detect_equipment() + self._new_file = True + self._plr = self._make_plr() + self._parts = {mount: PIPETTE_PARTS[OT2_PIPETTES[name]["channels"]](self, mount) + for mount, name in self.equipment.items()} + if self._new_file and not self._simulated: + self._save() + self._after_init() + + @property + def equipment(self) -> Dict[str, Any]: + return dict(self._config.get("equipment") or {}) + + def _make_plr(self) -> PLROT2: + if self._simulated: + server = SimulatedOT2Server(self.equipment, labware=lambda name: self.deck.get_resource(name)) + return PLROT2(host="simulated-ot2", deck=self.deck, io=server, command_timeout=self._command_timeout, + command_poll_interval=0) + return PLROT2(host=self._host, port=self._port, deck=self.deck, command_timeout=self._command_timeout) + + def _detect_equipment(self) -> Dict[str, Any]: + plr = PLROT2(host=self._host, port=self._port, command_timeout=self._command_timeout) + + async def ask(): + await plr.connect() + try: + return await plr.get_mounted_pipettes() + finally: + await plr.stop() + try: + mounted = run_async(ask()) + except Exception as e: + raise ValueError(f"The worktable file ({self._path}) does not say what is mounted on the OT-2, and the " + f"OT-2 at {self._host}:{self._port} could not be asked ({type(e).__name__}: {e}). Turn it " + 'on, or write equipment in the file: {"left": "p300_multi_gen2"}.') from None + return check_equipment({pipette.mount: pipette.name for pipette in mounted}) + + async def _connect(self, skip_home: bool = False) -> None: + await self._plr.setup(skip_home=skip_home) + problems: List[str] = [] + for mount in MOUNTS: + want, head = self.equipment.get(mount), getattr(self._plr, f"{mount}_pipette") + if want and head is None: + problems.append(f"nothing is on {mount} (the file says {want})") + elif want and not isinstance(head, PIPETTE_CLASSES[OT2_PIPETTES[want]["channels"]]): + problems.append(f"{mount} has another kind of pipette (the file says {want})") + if problems: + await self._plr.stop() + raise RuntimeError("The OT-2 does not have what the worktable file says it has: " + "; ".join(problems) + + f". Change equipment in {self._path} and restart the deck.") + + async def _disconnect(self) -> None: + await self._plr.stop() + + def _plr_target(self): + return self._plr + + def _part_target(self, part: str): + head = getattr(self._plr, f"{part}_pipette", None) + if head is None: + raise RuntimeError(f"The OT-2 has no pipette on {part} (it is set up at the first step).") + return head + + def _attach_deck(self, deck) -> None: + self._plr = self._make_plr() + + def setup(self, skip_home: bool = False) -> None: + """Connect, start a run, find what is mounted (checking it against the worktable file) and + home, unless skip_home. Any other step does this itself the first time. (PyLabRobot: OT2.setup)""" + async def go(): + if not self._ready: + await self._connect(skip_home=skip_home) + self._ready = True + run_async(go()) + + def stop(self) -> None: + """End the run and disconnect. The next step sets the OT-2 up again. (PyLabRobot: OT2.stop)""" + if self._ready: + run_async(self._disconnect()) + self._ready = False + + def _deck_extras(self) -> dict: + equipment = self.equipment + return {"equipment": {**equipment, "labels": {mount: OT2_PIPETTES[name]["label"] + for mount, name in equipment.items()}}} + + +_HERE = __name__ +OT2Pipette1 = part_class("OT2Pipette1", OT2SingleChannelPipette, + "A single-channel pipette on an OT-2 mount (PyLabRobot: OT2SingleChannelPipette).", _HERE) +OT2Pipette8 = part_class("OT2Pipette8", OT2_8ChannelPipette, + "An 8-channel pipette on an OT-2 mount (PyLabRobot: OT2_8ChannelPipette).", _HERE) +PIPETTE_PARTS = {1: OT2Pipette1, 8: OT2Pipette8} + +SKIPPED: Dict[str, Dict[str, str]] = { + "OT2Pipette1": OT2Pipette1._SKIPPED, + "OT2Pipette8": OT2Pipette8._SKIPPED, + # The robot's own (home, health, ...). Setup and stop are above; connecting is the session's. + "OT2": bridge.add_steps(OT2, PLROT2, "OT2", exclude=("setup", "stop", "connect")), +} diff --git a/plr_ivoryos/opentrons/simulator.py b/plr_ivoryos/opentrons/simulator.py index d7ad193..b9d8caa 100644 --- a/plr_ivoryos/opentrons/simulator.py +++ b/plr_ivoryos/opentrons/simulator.py @@ -1,6 +1,6 @@ -"""A simulated Opentrons Flex: the robot-server's HTTP API, answered in Python. +"""A simulated Opentrons Flex or OT-2: the robot-server's HTTP API, answered in Python. -PyLabRobot 1.0's Flex talks to the robot only through one HTTP transport (`pylabrobot.io.HTTP`), +PyLabRobot 1.0's Flex (and its OT-2, which speaks the same API) talks to the robot only through one HTTP transport (`pylabrobot.io.HTTP`), which its constructor takes as `io=`. This is that transport with no robot behind it. Everything above it runs exactly as it does against hardware: PyLabRobot's Flex sets up, discovers the pipettes and gripper this says are mounted, uploads labware definitions, and sends every command a real run @@ -40,6 +40,17 @@ "label": "Flex 96-Channel 200 µL"}, } +# The OT-2 pipettes PyLabRobot 1.0 drives, by the name the robot reports, with their channels and +# volume range: PyLabRobot's own table, so a pipette it adds is simulated too. +from pylabrobot.opentrons.ot2.pipette import _PIPETTE_SPECS as _OT2_SPECS # noqa: E402 + +OT2_PIPETTES: Dict[str, Dict[str, Any]] = { + name: {"model": f"{name.replace('_gen2', '')}_v2.1" if name.endswith("_gen2") else f"{name}_v1.5", + "channels": spec.channels, "min_ul": float(spec.minimum_volume), "max_ul": float(spec.maximum_volume), + "label": f"{'GEN2 ' if name.endswith('_gen2') else ''}{'8-Channel' if spec.channels == 8 else 'Single-Channel'} " + f"{spec.maximum_volume:g} µL"} + for name, spec in _OT2_SPECS.items()} + API_VERSION = "8.4.0" # recent enough for every command PyLabRobot sends (robot/* needs 8.2.0) @@ -65,13 +76,18 @@ class SimulatedFlexServer(HTTP): one. Without it every pickup finds a tip. """ + PIPETTES = FLEX_PIPETTES + ROBOT_MODEL = "OT-3 Standard" + LABEL = "Opentrons Flex" + HOME = {"x": 0.0, "y": 0.0, "z": 100.0} # where a pipette is before it is moved + def __init__(self, mounts: Dict[str, str], gripper: bool = True, trash: Optional[str] = "A3", delay_s: float = 0.0, name: str = "simulated-flex", labware: Optional[Callable[[str], Any]] = None): - super().__init__("Simulated Opentrons Flex", "http://simulated-flex", timeout=30) - unknown = [p for p in mounts.values() if p not in FLEX_PIPETTES] + super().__init__(f"Simulated {self.LABEL}", f"http://{name}", timeout=30) + unknown = [p for p in mounts.values() if p not in self.PIPETTES] if unknown: - raise ValueError(f"'{unknown[0]}' is not a Flex pipette: {', '.join(FLEX_PIPETTES)}") + raise ValueError(f"'{unknown[0]}' is not a pipette for this robot: {', '.join(self.PIPETTES)}") self.mounts = dict(mounts) self.gripper = bool(gripper) self.trash = trash @@ -95,7 +111,7 @@ def _id(self, prefix: str) -> str: def _instruments(self) -> List[dict]: out = [] for mount, name in self.mounts.items(): - spec = FLEX_PIPETTES[name] + spec = self.PIPETTES[name] out.append({"mount": mount, "instrumentType": "pipette", "instrumentName": name, "instrumentModel": spec["model"], "data": {"channels": spec["channels"], "min_volume": spec["min_ul"], @@ -108,7 +124,7 @@ def _instruments(self) -> List[dict]: async def request(self, method: str, path: str, data: Optional[Dict[str, Any]] = None) -> Dict[str, Any]: method = method.upper() if method == "GET" and path == "/health": - return {"name": self.name, "robot_model": "OT-3 Standard", "api_version": API_VERSION, + return {"name": self.name, "robot_model": self.ROBOT_MODEL, "api_version": API_VERSION, "robot_serial": "SIMULATED"} if method == "GET" and path == "/instruments": return {"data": self._instruments()} @@ -188,7 +204,11 @@ def _execute(self, run: dict, command_type: str, params: dict): return "failed", None, {"errorType": "TipNotAttachedError" if wanted else "TipAttachedError", "detail": "The tip sensor did not read what was expected."} elif command_type == "savePosition": - return "succeeded", {"position": {"x": 0.0, "y": 0.0, "z": 100.0}}, None + at = run.setdefault("positions", {}).get(params.get("pipetteId"), self.HOME) + return "succeeded", {"position": dict(at)}, None + elif command_type == "moveToCoordinates" and isinstance(params.get("coordinates"), dict): + run.setdefault("positions", {})[params.get("pipetteId")] = { + axis: float(params["coordinates"].get(axis, self.HOME[axis])) for axis in ("x", "y", "z")} elif command_type in ("liquidProbe", "tryLiquidProbe"): return "succeeded", {"z_position": 10.0}, None elif command_type and command_type.startswith("robot/move"): @@ -213,7 +233,7 @@ def _finds_a_tip(self, run: dict, params: dict) -> bool: except ResourceNotFoundError: return True pipette = run.get("pipettes", {}).get(params.get("pipetteId")) - channels = FLEX_PIPETTES.get(pipette, {}).get("channels") + channels = self.PIPETTES.get(pipette, {}).get("channels") if channels == 1: spots = [rack.get_item(well)] elif channels == 8: @@ -223,3 +243,26 @@ def _finds_a_tip(self, run: dict, params: dict) -> bool: else: return True return any(_holds_a_tip(spot) for spot in spots) + + +class SimulatedOT2Server(SimulatedFlexServer): + """The robot-server of an OT-2 with these pipettes mounted ({"left": "p300_multi_gen2", "right": + "p20_single_gen2"}): what the Flex's answers, plus the OT-2's own pipette query and homing. An + OT-2 has no gripper, and its trash is fixed in slot 12.""" + + PIPETTES = OT2_PIPETTES + ROBOT_MODEL = "OT-2 Standard" + LABEL = "Opentrons OT-2" + HOME = {"x": 200.0, "y": 200.0, "z": 150.0} # within both mounts' reach, as homing leaves it + + def __init__(self, mounts: Dict[str, str], delay_s: float = 0.0, name: str = "simulated-ot2", + labware: Optional[Callable[[str], Any]] = None): + super().__init__(mounts, gripper=False, trash=None, delay_s=delay_s, name=name, labware=labware) + + async def request(self, method: str, path: str, data: Optional[Dict[str, Any]] = None) -> Dict[str, Any]: + if method.upper() == "GET" and path == "/pipettes": + return {mount: ({"name": name, "model": self.PIPETTES[name]["model"], "id": f"SIM-{mount}"} + if (name := self.mounts.get(mount)) else {}) for mount in ("left", "right")} + if method.upper() == "POST" and path == "/robot/home": + return {"message": "Homing robot."} + return await super().request(method, path, data) diff --git a/plr_ivoryos/robot.py b/plr_ivoryos/robot.py index 15e855b..e202b1d 100644 --- a/plr_ivoryos/robot.py +++ b/plr_ivoryos/robot.py @@ -18,7 +18,7 @@ import re from typing import Annotated, Any, Callable, Dict, List, Optional, Union -from pylabrobot.resources import (Carrier, Container, ItemizedResource, Plate, ResourceHolder, TipRack, Trash, +from pylabrobot.resources import (Carrier, Container, Deck, ItemizedResource, Plate, ResourceHolder, TipRack, Trash, set_tip_tracking, set_volume_tracking) from plr_ivoryos import bridge, liquids, worktable @@ -42,8 +42,18 @@ def category_of(resource) -> str: return str(getattr(resource, "category", None) or "rack") +def _deck_of(resource): + while resource is not None and not isinstance(resource, Deck): + resource = resource.parent + return resource + + def _box(resource) -> Dict[str, float]: - at = resource.get_absolute_location() + """Where a resource is on its deck, from the deck's front left. PyLabRobot 1.0 puts a STAR's or + a Prep's deck inside the device, so absolute positions are the device's, not the deck's.""" + deck = _deck_of(resource) + at = resource.get_location_wrt(deck) if deck is not None and deck is not resource \ + else resource.get_absolute_location() return {"x": round(at.x, 2), "y": round(at.y, 2), "w": round(resource.get_absolute_size_x(), 2), "h": round(resource.get_absolute_size_y(), 2)} @@ -72,6 +82,36 @@ def _a(word: str) -> str: return "an" if word[:1].upper() in "AEIOU" else "a" +def mounted_tips(head) -> List[bool]: + """Which channels of a PyLabRobot head or pipette hold a tip, whatever the robot calls it: + `get_mounted_tips()` (Flex, Prep), `get_mounted_tip(channel)` (STAR channels), the 96-head's + own list, or `has_tip` (an OT-2 pipette).""" + for name in ("get_mounted_tips", "_get_mounted_tips"): + read = getattr(head, name, None) + if callable(read): + try: + return [tip is not None for tip in read()] + except Exception: + pass + read = getattr(head, "get_mounted_tip", None) + channels = getattr(head, "num_channels", None) + if callable(read) and isinstance(channels, int): + out = [] + for channel in range(channels): + try: + out.append(read(channel) is not None) + except Exception: + break + return out + tips = getattr(head, "_tips", None) + if isinstance(tips, (list, tuple)): + return [tip is not None for tip in tips] + has = getattr(head, "has_tip", None) + if isinstance(has, bool): + return [has] + return [] + + class WorktableRobot: """The worktable side of a robot. Subclasses set KINDS and implement `_connect`.""" @@ -105,6 +145,7 @@ def __init__(self, worktable_file: Optional[str] = None, deck_type: Optional[str self._ready = False self._setting_up: Optional[asyncio.Lock] = None self._kept: Optional[str] = None + self._parts: Dict[str, Any] = {} self.deck = worktable.build_deck(self._config) def _after_init(self) -> None: @@ -155,12 +196,30 @@ async def _connect(self) -> None: async def _disconnect(self) -> None: """Hand the robot back (a fresh session starts at the next step).""" + def __ivoryos_instruments__(self) -> Dict[str, Any]: + """The instruments this robot is in IvoryOS besides itself: each thing fitted to it that + PyLabRobot 1.0 gives a class of its own (a pipette mount, a 96-head, a gripper arm). IvoryOS + names each after the robot: `star_pipettes`, `flex_left`, ...""" + return dict(self._parts) + + def _part_target(self, part: str): + """The PyLabRobot object a part's steps run on (`star.pipettes`, `ot2.left_pipette`).""" + found = getattr(self._plr, part, None) + if found is None: + raise RuntimeError(f"The robot has no {part.replace('_', ' ')}.") + return found + def _tip_count(self, part: Optional[str]) -> int: """Tips on that part's head now (0 for a part with no head).""" - return 0 + if part not in self._parts: + return 0 + try: + return sum(mounted_tips(self._part_target(part))) + except Exception: + return 0 def _any_tips(self) -> bool: - return False + return any(self._tip_count(part) for part in self._parts) async def _setup(self) -> None: if self._ready: @@ -332,6 +391,16 @@ def __ivoryos_labware_state__(self) -> dict: return {"labware": out, "channels": self._channels_state()} def _channels_state(self) -> List[bool]: + """Which channels hold a tip, for the Labware view: the first part that has channels.""" + if not self._ready: + return [] + for part in self._parts: + try: + found = mounted_tips(self._part_target(part)) + except Exception: + continue + if found: + return found return [] def __ivoryos_labware_events__(self, callback) -> None: @@ -360,6 +429,17 @@ def _labware(self, name: str): raise ValueError(f"'{name}' is not on this worktable (it has: {', '.join(found) or 'nothing'})") return found[name] + def _named(self, name: str): + """What a bare name in a step stands for: a labware (or the trash), else a place a labware + can sit (`C1`, a carrier position), for a step that moves labware there.""" + if name in self._labware_map(with_trash=True): + return self._labware(name) + sites = self._site_map() + key = name.upper() if worktable.is_flex(self.deck) else name + if key in sites: + return sites[key] + return self._labware(name) # not there: say what is + def _items(self, value, categories=()) -> List[tuple]: """(labware, well, the PyLabRobot well, tip spot or container) for every well `value` names, in order. Raises ValueError naming what is not on the worktable.""" @@ -583,7 +663,7 @@ def _holder(self, site) -> Any: return holder def _rails(self, rails) -> int: - count = getattr(self.deck, "num_tracks", None) + count = worktable.num_rails(self.deck) if not count: raise ValueError("This worktable has slots, not tracks: put labware in a slot.") try: @@ -596,7 +676,7 @@ def _rails(self, rails) -> int: def _on_deck(self, resource, rails: int) -> None: try: - self.deck.assign_child_resource(resource, track=rails) + worktable.on_rails(self.deck, resource, rails) except ValueError as e: # PyLabRobot: "Location ... is already occupied by resource 'x'" raise ValueError(f"It does not fit at track {rails}: {e}") from None @@ -605,7 +685,7 @@ def _entry_for(self, holder, entry: dict) -> None: carrier = holder.parent if isinstance(holder.parent, Carrier) else None if carrier is None: label = worktable.slot_label(holder) - slot = label if worktable.is_flex(self.deck) else int(label) + slot = label if worktable.is_flex(self.deck) else int(label) # an OT-2's or a Prep's is a number self._config.setdefault("resources", []).append({**entry, "slot": slot}) return parent, _, _ = worktable.find(self._config, carrier.name) @@ -812,3 +892,36 @@ def _per_well(value, count: int, what: str) -> List[float]: return [float(v) for v in values] except (TypeError, ValueError): raise ValueError(f"{what} must be a number, or one number per well") from None + + +class Part: + """Something fitted to a robot that PyLabRobot 1.0 gives a class of its own (a pipette mount, + a 96-head, a gripper arm), as an IvoryOS instrument. Its steps are that class's methods + (bridge.add_steps on a subclass), run on the robot's PyLabRobot object for it. It reports the + robot's labware without the deck, so its steps get labware choices and well pickers while the + worktable is drawn once.""" + + def __init__(self, robot: "WorktableRobot", part: str): + self._robot = robot + self._part = part + + def __repr__(self) -> str: + return f"<{type(self).__name__} {self._part}>" + + def __ivoryos_labware__(self) -> dict: + return self._robot._part_layout() + + def _target(self): + return self._robot._part_target(self._part) + + def _run_step(self, name: str, given: Dict[str, Any], extra: Dict[str, Any], params: Dict[str, bridge.Param]): + return self._robot._execute(self._part, self._target, name, given, extra, params) + + +def part_class(name: str, source: type, doc: str, module: str, base: type = None, **steps) -> type: + """A Part subclass (of `base`, Part by default) named `name` in `module`, with `source`'s + methods as steps; `steps` go to bridge.add_steps. The methods left out, and why, are on the + class as _SKIPPED.""" + cls = type(name, (base or Part,), {"__doc__": doc, "__module__": module}) + cls._SKIPPED = bridge.add_steps(cls, source, source.__name__, **steps) + return cls diff --git a/plr_ivoryos/worktable.py b/plr_ivoryos/worktable.py index 9f49b2e..de5082f 100644 --- a/plr_ivoryos/worktable.py +++ b/plr_ivoryos/worktable.py @@ -55,19 +55,39 @@ FORMAT = "plr-ivoryos-worktable/1" DEFAULT_DECK = "FlexDeck" -# The worktables this can build and read, and what a person calls them. Each is the deck of a robot -# PyLabRobot 1.0 drives with a class of its own; which of them a plr-ivoryos robot can have is that +# The worktables this can build and read, and what a person calls them: the deck of every liquid +# handler PyLabRobot 1.0.0b1 drives, with a class of its own (Flex, OT-2, STAR, Prep) or through +# pylabrobot.legacy (Nimbus, Vantage, EVO). Which of them a plr-ivoryos robot can have is that # robot's to say (the Flex: FlexDeck). DECKS = { "FlexDeck": "Opentrons Flex", "OTDeck": "Opentrons OT-2", "STARLetDeck": "Hamilton STARlet", "STARDeck": "Hamilton STAR", + "STARPlusDeck": "Hamilton STARplus", + "PrepDeck": "Hamilton Prep", + "NimbusDeck": "Hamilton Nimbus", + "VantageDeck": "Hamilton Vantage 1.3 m", + "EVO100Deck": "Tecan Freedom EVO 100", + "EVO150Deck": "Tecan Freedom EVO 150", + "EVO200Deck": "Tecan Freedom EVO 200", } +# Decks whose constructor needs an argument a file does not give. +_DECK_ARGS = {"VantageDeck": {"size": 1.3}} + def make_deck(kind: str): - return resolve(kind)() + return resolve(kind)(**_DECK_ARGS.get(kind, {})) + + +def is_tecan(deck) -> bool: + """A Tecan deck: carriers go on rails (`rails=`), not tracks.""" + return type(deck).__name__ == "TecanDeck" + + +def is_prep(deck) -> bool: + return type(deck).__name__ == "PrepDeck" _SEARCH = ["pylabrobot.resources", "pylabrobot.resources.hamilton", "pylabrobot.resources.corning", @@ -113,7 +133,15 @@ def is_flex(deck) -> bool: def slot_of(deck, slot): """A slot as the deck takes it: "C1" on a Flex (and its staging slots A4 to D4), a number on - an OT-2.""" + an OT-2 (1 to 11) or a Prep (its spots, 0 to 7, front left first, column by column).""" + if is_prep(deck): + try: + index = int(slot) + except (TypeError, ValueError): + index = -1 + if not 0 <= index < len(deck.spots): + raise ValueError(f"'{slot}' is not a spot on a Prep: they are 0 to {len(deck.spots) - 1}.") + return deck.spots[index] if is_flex(deck): text = str(slot).strip().upper() if text not in deck.slots: @@ -139,9 +167,12 @@ def _place(deck, entry: dict) -> None: resource.assign_child_resource(_resource_for(child), location=Coordinate(at.get("x", 0), at.get("y", 0), at.get("z", 0))) if "slot" in entry: - deck.assign_child_at_slot(resource, slot_of(deck, entry["slot"])) + if is_prep(deck): + slot_of(deck, entry["slot"]).assign_child_resource(resource) + else: + deck.assign_child_at_slot(resource, slot_of(deck, entry["slot"])) elif "rails" in entry: - deck.assign_child_resource(resource, track=int(entry["rails"])) + on_rails(deck, resource, int(entry["rails"])) else: at = entry.get("location") or {} deck.assign_child_resource(resource, location=Coordinate(at.get("x", 0), at.get("y", 0), at.get("z", 0))) @@ -170,8 +201,25 @@ def build_deck(config: dict): return deck +def on_rails(deck, resource, rails: int) -> None: + """Put a carrier on a deck's tracks (Hamilton) or rails (Tecan).""" + if is_tecan(deck): + deck.assign_child_resource(resource, rails=rails) + else: + deck.assign_child_resource(resource, track=rails) + + +def num_rails(deck) -> int: + """How many tracks (Hamilton) or rails (Tecan) a deck has; 0 for a deck of slots.""" + return int((deck.num_rails if is_tecan(deck) else getattr(deck, "num_tracks", None)) or 0) + + def rails_of(deck) -> List[Dict[str, float]]: - """Where each track of a Hamilton worktable is, `[{"rail", "x"}]`; empty for a deck of slots.""" + """Where each track of a Hamilton worktable (each rail of a Tecan one) is, `[{"rail", "x"}]`; + empty for a deck of slots.""" + if is_tecan(deck): + from pylabrobot.resources.tecan.tecan_decks import _RAILS_WIDTH + return [{"rail": n, "x": round((n - 1) * _RAILS_WIDTH + 100, 2)} for n in range(1, deck.num_rails + 1)] count = getattr(deck, "num_tracks", None) if not count or not hasattr(deck, "track_to_location"): return [] @@ -296,6 +344,41 @@ def remove(config: dict, name: str) -> bool: {"name": "assay_plate", "type": _PLATE, "slot": "D2"}, {"name": "sample_plate", "type": _PLATE, "slot": "D3"}, ], "liquids": _LIQUIDS}, + # Tips at the left end of the tracks, the plates beside them, clear of each robot's trash. + **{kind: {"deck_type": kind, "resources": [ + {"name": "tip_carrier", "type": "TIP_CAR_480_A00", "rails": 1, "children": [ + {"name": "tips", "type": "hamilton_96_tiprack_1000uL_filter", "site": 0}, + {"name": "tips_b", "type": "hamilton_96_tiprack_1000uL_filter", "site": 1}]}, + {"name": "plate_carrier", "type": "PLT_CAR_L5AC_A00", "rails": 8, "children": [ + {"name": "reservoir", "type": _RESERVOIR, "site": 0}, + {"name": "assay_plate", "type": _PLATE, "site": 1}, + {"name": "sample_plate", "type": _PLATE, "site": 2}]}, + ], "liquids": _LIQUIDS} for kind in ("STARLetDeck", "STARDeck", "STARPlusDeck", "NimbusDeck", "VantageDeck")}, + # No tips: PyLabRobot 1.0.0b1 refuses to make any Tecan tip rack ("Tip diameter is not defined"), + # the diameters not having been measured yet. + **{kind: {"deck_type": kind, "resources": [ + {"name": "plate_carrier", "type": "MP_3Pos", "rails": 16, "children": [ + {"name": "reservoir", "type": _RESERVOIR, "site": 0}, + {"name": "assay_plate", "type": "Microplate_96_Well", "site": 1}, + {"name": "sample_plate", "type": "Microplate_96_Well", "site": 2}]}, + ], "liquids": _LIQUIDS} for kind in ("EVO100Deck", "EVO150Deck", "EVO200Deck")}, + # The trash is the OT-2's own, in slot 12. + "OTDeck": {"deck_type": "OTDeck", + "equipment": {"left": "p300_multi_gen2", "right": "p300_single_gen2"}, + "resources": [ + {"name": "tips", "type": "opentrons_96_tiprack_300ul", "slot": 1}, + {"name": "tips_b", "type": "opentrons_96_tiprack_300ul", "slot": 4}, + {"name": "reservoir", "type": _RESERVOIR, "slot": 2}, + {"name": "assay_plate", "type": _PLATE, "slot": 3}, + {"name": "sample_plate", "type": _PLATE, "slot": 6}, + ], "liquids": _LIQUIDS}, + "PrepDeck": {"deck_type": "PrepDeck", "resources": [ + {"name": "tips", "type": "hamilton_96_tiprack_1000uL_filter", "slot": 0}, + {"name": "tips_b", "type": "hamilton_96_tiprack_1000uL_filter", "slot": 1}, + {"name": "reservoir", "type": _RESERVOIR, "slot": 4}, + {"name": "assay_plate", "type": _PLATE, "slot": 5}, + {"name": "sample_plate", "type": _PLATE, "slot": 6}, + ], "liquids": _LIQUIDS}, } @@ -330,7 +413,12 @@ def _maker(name: str, module: str) -> str: # Whose tip racks and carriers fit which robot. Plates, reservoirs and tube racks fit any. -_MAKER = {"FlexDeck": "opentrons_flex", "OTDeck": "opentrons", "STARLetDeck": "hamilton", "STARDeck": "hamilton"} +_MAKER = {"FlexDeck": "opentrons_flex", "OTDeck": "opentrons", "STARLetDeck": "hamilton", "STARDeck": "hamilton", + "STARPlusDeck": "hamilton", "PrepDeck": "hamilton", "NimbusDeck": "hamilton", "VantageDeck": "hamilton", + "EVO100Deck": "tecan", "EVO150Deck": "tecan", "EVO200Deck": "tecan"} +# Robots whose carriers sit on tracks or rails (the rest have slots). +_TRACKED = {"STARLetDeck", "STARDeck", "STARPlusDeck", "NimbusDeck", "VantageDeck", "EVO100Deck", "EVO150Deck", + "EVO200Deck"} def _all_definitions() -> List[Dict[str, str]]: @@ -365,14 +453,14 @@ def catalog(deck_type: Optional[str] = None) -> List[Dict[str, str]]: from each definition's return type, so nothing is constructed to find out; an old spelling kept as an alias is left out.""" maker = _MAKER.get(deck_type or "", "") - tracks = maker == "hamilton" + tracks = (deck_type or "") in _TRACKED out = [] for entry in _all_definitions(): if entry["category"] == "carrier" and not (tracks and entry["maker"] == maker): continue if entry["category"] == "tip_rack" and maker and entry["maker"] != maker: continue - if entry["category"] == "plate" and entry["maker"] == "tecan": + if entry["category"] == "plate" and entry["maker"] == "tecan" and maker != "tecan": continue out.append({"definition": entry["definition"], "category": entry["category"]}) return out @@ -389,7 +477,11 @@ def kind_of(deck) -> str: """Which of DECKS a PyLabRobot deck is.""" name = type(deck).__name__ if name == "HamiltonSTARDeck": - return "STARLetDeck" if getattr(deck, "num_tracks", None) == 30 else "STARDeck" + return {30: "STARLetDeck", 76: "STARPlusDeck"}.get(getattr(deck, "num_tracks", None), "STARDeck") + if name == "TecanDeck": + found = {30: "EVO100Deck", 45: "EVO150Deck", 69: "EVO200Deck"}.get(getattr(deck, "num_rails", None)) + if found: + return found if name in DECKS: return name raise ValueError(f"A {name} is not a worktable this knows ({', '.join(DECKS.values())}).") @@ -434,6 +526,9 @@ def _entry_of(resource, empty_holders: bool = False) -> dict: def _rail_of(deck, carrier) -> Optional[int]: """The track a carrier sits on, by finding where PyLabRobot would put it on each track.""" + if is_tecan(deck): + rails = deck._rails_for_x_coordinate(carrier.location.x) + return rails if 1 <= rails <= deck.num_rails else None for n in range(1, (getattr(deck, "num_tracks", None) or 0) + 1): at = deck.track_to_location(n) if abs(at.x - carrier.location.x) < 0.05 and abs(at.y - carrier.location.y) < 0.05: @@ -442,7 +537,10 @@ def _rail_of(deck, carrier) -> Optional[int]: def slot_label(holder) -> str: - """A slot holder's slot as a person names it: "C1" (flex_deck_slot_C1), "6" (ot2_deck_slot_6).""" + """A slot holder's slot as a person names it: "C1" (flex_deck_slot_C1), "6" (ot2_deck_slot_6), + "0" for a Prep's first spot (spot_0_0).""" + if holder.parent is not None and is_prep(holder.parent): + return str(holder.parent.spots.index(holder)) return str(holder.name).rsplit("_", 1)[-1] diff --git a/pyproject.toml b/pyproject.toml index 1ca5d1a..7730306 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ name = "plr-ivoryos" # Versioned with the PyLabRobot it is written against: 1.x is PyLabRobot 1.x. While PyLabRobot 1.0 # is in beta, each beta of this package is pinned to exactly one of its betas, since a beta can # rename what this package calls. -version = "1.0.0b1" +version = "1.0.0b2" description = "IvoryOS-compatible wrappers for PyLabRobot devices" readme = "README.md" requires-python = ">=3.10" @@ -15,7 +15,7 @@ license = {text = "MIT"} authors = [ {name = "IvoryOS Contributors"} ] -keywords = ["lab-automation", "ivoryos", "pylabrobot", "liquid-handler", "opentrons-flex"] +keywords = ["lab-automation", "ivoryos", "pylabrobot", "liquid-handler", "opentrons-flex", "opentrons-ot2", "hamilton-star", "tecan-evo"] classifiers = [ "Programming Language :: Python :: 3", "License :: OSI Approved :: MIT License", diff --git a/tests/test_robots.py b/tests/test_robots.py new file mode 100644 index 0000000..4ca0ffc --- /dev/null +++ b/tests/test_robots.py @@ -0,0 +1,263 @@ +"""Every liquid handler PyLabRobot 1.0.0b1 drives, simulated, through the same worktable file, +wells-as-text and liquid tracking as the Flex (test_flex.py). + +STAR and Prep run on PyLabRobot's own simulators, the OT-2 on this package's simulated +robot-server, and the Nimbus, Vantage and EVO on PyLabRobot's legacy chatterbox. So what passes here +is what PyLabRobot accepts, with its own refusals. +""" + +import inspect + +import pytest + +from plr_ivoryos import worktable +from plr_ivoryos.hamilton import STAR, Prep +from plr_ivoryos.hamilton import prep as prep_module +from plr_ivoryos.hamilton import star as star_module +from plr_ivoryos.legacy import EVO, LiquidHandler, Nimbus, Vantage +from plr_ivoryos.legacy import SKIPPED as LEGACY_SKIPPED +from plr_ivoryos.opentrons import OT2, OT2Pipette1, OT2Pipette8 +from plr_ivoryos.opentrons.ot2 import check_equipment as ot2_equipment + + +def _steps(obj): + cls = obj if isinstance(obj, type) else type(obj) + return {name for name in dir(cls) if not name.startswith("_") and callable(getattr(cls, name))} + + +# --- the bridge ------------------------------------------------------------------------------------- + +def test_an_argument_taking_labware_or_a_coordinate_is_offered_as_the_labware(): + # STAR's drop_tips(destinations: Sequence[Union[TipSpot, Coordinate]]) and the legacy + # drop_tips(tip_spots: Sequence[Union[TipSpot, Trash]]) are steps. + assert "drop_tips" in _steps(star_module.STARPipettes) + assert not star_module.SKIPPED["STARPipettes"] + assert "drop_tips" not in LEGACY_SKIPPED["LiquidHandler"] + param = inspect.signature(star_module.STARPipettes.drop_tips).parameters["destinations"] + assert "Wells" in repr(param.annotation) + + +def test_a_robot_that_is_a_resource_does_not_offer_the_resource_tree_as_steps(): + for cls in (STAR, Prep, LiquidHandler): + steps = {n for n in dir(cls) if not n.startswith("_")} + assert not steps & {"serialize", "assign_child_resource", "get_absolute_location", "rotate", "LLDMode"} + + +# --- worktables ------------------------------------------------------------------------------------- + +@pytest.mark.parametrize("kind", sorted(worktable.DECKS)) +def test_every_liquid_handlers_worktable_builds_from_its_starter(kind): + config = worktable.starter(kind) + deck = worktable.build_deck(config) + worktable.apply_liquids(deck, config) + assert worktable.kind_of(deck) == kind + assert worktable.catalog(kind) + + +def test_a_tecan_carrier_goes_on_rails_and_a_prep_plate_in_a_spot(): + evo = worktable.build_deck({"deck_type": "EVO150Deck", "resources": [ + {"name": "carrier", "type": "MP_3Pos", "rails": 20, + "children": [{"name": "plate", "type": "Microplate_96_Well", "site": 0}]}]}) + assert evo.get_resource("plate").parent.parent.name == "carrier" + assert worktable._rail_of(evo, evo.get_resource("carrier")) == 20 + prep = worktable.build_deck({"deck_type": "PrepDeck", "resources": [ + {"name": "plate", "type": "cor_96_wellplate_360uL_Fb", "slot": 5}]}) + holder = prep.get_resource("plate").parent + assert worktable.slot_label(holder) == "5" + with pytest.raises(ValueError, match="not a spot on a Prep"): + worktable.build_deck({"deck_type": "PrepDeck", "resources": [ + {"name": "plate", "type": "cor_96_wellplate_360uL_Fb", "slot": 8}]}) + + +# --- Hamilton STAR (PyLabRobot's simulator) ----------------------------------------------------------- + +@pytest.fixture +def star(): + robot = STAR(simulated=True) + yield robot + robot.stop() + + +def test_a_simulated_star_is_its_recording_and_each_fitted_thing_an_instrument(star): + assert star.equipment == {"pipettes": True, "head96": True, "head384": False, "iswap": True, + "core_grippers": True, "autoload": True} + parts = star.__ivoryos_instruments__() + assert set(parts) == {"pipettes", "head96", "iswap", "core_grippers", "autoload"} + assert {"pick_up_tips", "aspirate", "dispense", "drop_tips", "discard_tips"} <= _steps(parts["pipettes"]) + assert {"pick_up_tips", "aspirate", "dispense", "discard_tips"} <= _steps(parts["head96"]) + assert "request_firmware_version" in _steps(star) + + +def test_star_channels_move_liquid_and_the_ledger_knows_which(star): + pipettes = star.__ivoryos_instruments__()["pipettes"] + star.load_liquid("assay_plate[A1:H1]", "water", 100) + pipettes.pick_up_tips(tip_spots="tips[A1:H1]") + assert star.__ivoryos_labware_state__()["channels"] == [True] * 8 + pipettes.aspirate(containers="assay_plate[A1:H1]", volumes="30, 30, 30, 30, 30, 30, 30, 30") + pipettes.dispense(containers="sample_plate[A1:H1]", volumes=[30] * 8) + pipettes.drop_tips(destinations="tips[A1:H1]") + assert star.read_volumes("sample_plate[A1:B1]") == {"sample_plate[A1]": 30.0, "sample_plate[B1]": 30.0} + assert star.__ivoryos_labware_state__()["labware"]["sample_plate"]["H1"]["liquids"] == {"water": 30.0} + assert star.tips_left("tips") == 96 + + +def test_star_refuses_what_pylabrobot_refuses(star): + pipettes = star.__ivoryos_instruments__()["pipettes"] + pipettes.pick_up_tips(tip_spots="tips[A1:H1]") + with pytest.raises(ValueError, match="one entry per container"): + pipettes.aspirate(containers="assay_plate[A1:H1]", volumes=[30]) + + +def test_the_star_96_head_takes_a_whole_rack(star): + head = star.__ivoryos_instruments__()["head96"] + head.pick_up_tips(tip_rack="tips_b") + assert star.tips_left("tips_b") == 0 + head.discard_tips() + assert not star._any_tips() + + +def test_a_star_frame_is_the_files_deck_type(data_folder): + robot = STAR(simulated=True, deck_type="STARDeck") + assert robot.__ivoryos_labware__()["deck"]["label"] == "Hamilton STAR" + assert len(robot.__ivoryos_labware__()["deck"]["rails"]) == 54 + with pytest.raises(ValueError, match="not something fitted to a STAR"): + star_module.check_equipment({"gripper": True}) + + +def test_a_star_worktable_edit_is_kept_in_the_file(star): + placed = star.__ivoryos_labware_edit__("place", definition="Cor_96_wellplate_360ul_Fb", site="plate_carrier-3") + star.__ivoryos_labware_edit__("liquid", labware=placed["name"], wells="A1", liquid="dye", volume_ul=50) + again = STAR(simulated=True, worktable=star._path) + assert again.read_volumes(f"{placed['name']}[A1]") == {f"{placed['name']}[A1]": 50.0} + assert again.__ivoryos_labware__()["deck"]["pylabrobot_error"] is None + + +# --- Hamilton Prep (PyLabRobot's simulator) ----------------------------------------------------------- + +def test_a_simulated_prep_runs_its_channels_and_head(): + prep = Prep(simulated=True) + try: + parts = prep.__ivoryos_instruments__() + assert set(parts) == {"pipettes", "head8", "core_grippers", "heater_shaker", "lights"} + prep.load_liquid("assay_plate[A1:B1]", "buffer", 100) + pipettes = parts["pipettes"] + pipettes.pick_up_tips(tip_spots="tips[A1:B1]") + pipettes.aspirate(containers="assay_plate[A1:B1]", volumes=[20, 20]) + pipettes.dispense(containers="sample_plate[A1:B1]", volumes=[20, 20]) + pipettes.discard_tips() + assert prep.read_volumes("sample_plate[A1]") == {"sample_plate[A1]": 20.0} + assert prep.__ivoryos_labware_state__()["labware"]["sample_plate"]["A1"]["liquids"] == {"buffer": 20.0} + assert sorted(s["label"] for s in prep.__ivoryos_labware__()["sites"]) == [str(n) for n in range(8)] + finally: + prep.stop() + assert "drop_tips" not in prep_module.SKIPPED["PrepPipettes"] + + +def test_a_real_prep_needs_a_host(): + with pytest.raises(ValueError, match="host"): + Prep() + with pytest.raises(ValueError, match="would be ignored"): + Prep(host="10.0.0.9", simulated=True) + + +# --- Opentrons OT-2 (this package's simulated robot-server) ------------------------------------------- + +def test_a_simulated_ot2_runs_both_mounts(): + ot2 = OT2(simulated=True) + try: + parts = ot2.__ivoryos_instruments__() + assert isinstance(parts["left"], OT2Pipette8) and isinstance(parts["right"], OT2Pipette1) + ot2.load_liquid("assay_plate[A1:H1]", "water", 100) + parts["left"].pick_up_tips(tip_spots="tips[A1:H1]") + parts["left"].aspirate(containers="assay_plate[A1:H1]", volume=40) + parts["left"].dispense(containers="sample_plate[A1:H1]", volume=40) + parts["left"].discard_tips() + parts["right"].pick_up_tip(tip_spot="tips[A2]") + parts["right"].discard_tip() + assert ot2.read_volumes("sample_plate[H1]") == {"sample_plate[H1]": 40.0} + assert ot2.__ivoryos_labware_state__()["labware"]["sample_plate"]["A1"]["liquids"] == {"water": 40.0} + assert ot2.tips_left("tips") == 87 + sent = {c["commandType"] for c in ot2._plr.io.log} + assert {"loadPipette", "pickUpTip", "aspirateInPlace", "dispenseInPlace"} <= sent + finally: + ot2.stop() + + +def test_ot2_equipment_is_checked(): + assert ot2_equipment({"left": "p20_single_gen2"}) == {"left": "p20_single_gen2"} + with pytest.raises(ValueError, match="not an OT-2 pipette"): + ot2_equipment({"left": "p1000_single_flex"}) + with pytest.raises(ValueError, match="needs a pipette"): + ot2_equipment({}) + with pytest.raises(ValueError, match="would be ignored"): + OT2(host="10.0.0.6", simulated=True) + + +# --- pylabrobot.legacy: Nimbus, Vantage, EVO ----------------------------------------------------------- + +@pytest.mark.parametrize("cls", [Nimbus, Vantage]) +def test_a_legacy_hamilton_moves_liquid_with_pylabrobots_own_steps(cls): + lh = cls(simulated=True) + try: + lh.load_liquid("assay_plate[A1:H1]", "water", 100) + lh.pick_up_tips(tip_spots="tips[A1:H1]") + lh.aspirate(resources="assay_plate[A1:H1]", vols=[30] * 8) + lh.dispense(resources="sample_plate[A1:H1]", vols=[30] * 8) + lh.drop_tips(tip_spots="tips[A1:H1]") + assert lh.read_volumes("sample_plate[A1]") == {"sample_plate[A1]": 30.0} + assert lh.__ivoryos_labware_state__()["labware"]["sample_plate"]["A1"]["liquids"] == {"water": 30.0} + assert lh.tips_left("tips") == 96 + finally: + lh.stop() + + +def test_a_legacy_robot_moves_a_plate_to_a_carrier_position(): + lh = Vantage(simulated=True) + try: + lh.move_plate(plate="sample_plate", to="plate_carrier-4") + assert lh._place_of(lh.deck.get_resource("sample_plate")) == "plate_carrier-4" + finally: + lh.stop() + + +def test_an_evo_worktable_has_rails_and_no_tips_yet(): + evo = EVO(simulated=True) + layout = evo.__ivoryos_labware__() + assert layout["deck"]["label"] == "Tecan Freedom EVO 150" and len(layout["deck"]["rails"]) == 45 + assert not any(v["category"] == "tip_rack" for v in layout["labware"].values()) + evo.load_liquid("assay_plate[A1]", "water", 100) + assert evo.read_volumes("assay_plate[A1]") == {"assay_plate[A1]": 100.0} + + +def test_a_legacy_robot_needs_a_backend_or_simulated(): + with pytest.raises(ValueError, match="legacy backend"): + LiquidHandler() + with pytest.raises(ValueError, match="host"): + Nimbus() + assert LiquidHandler.KINDS[0] == "STARLetDeck" and "FlexDeck" not in LiquidHandler.KINDS + + +def test_every_steps_defaults_are_data_ivoryos_can_keep(): + """IvoryOS stores a deck's steps, with their defaults, as JSON: a Coordinate or enum default is + shown as its fields or name, and made PyLabRobot's again when the step runs.""" + import json + + from plr_ivoryos.opentrons import flex, ot2 + classes = [STAR, *star_module.PART_CLASSES.values(), Prep, *prep_module.PART_CLASSES.values(), flex.Flex, + flex.FlexPipette1, flex.FlexPipette8, flex.FlexPipette96, flex.FlexGripperPart, OT2, ot2.OT2Pipette1, + ot2.OT2Pipette8, LiquidHandler] + for cls in classes: + for name in _steps(cls): + for param in inspect.signature(getattr(cls, name)).parameters.values(): + if param.default is not inspect.Parameter.empty: + json.dumps(param.default) # raises for a Coordinate or an enum member + + +def test_a_coordinate_or_enum_given_as_data_reaches_pylabrobot_as_its_own(): + lh = Vantage(simulated=True) + try: + lh.move_plate(plate="sample_plate", to="plate_carrier-4", pickup_direction="FRONT", + destination_offset={"x": 0, "y": 0, "z": 0}) + assert lh._place_of(lh.deck.get_resource("sample_plate")) == "plate_carrier-4" + finally: + lh.stop() diff --git a/tests/test_worktable.py b/tests/test_worktable.py index 49e2d58..f4751c3 100644 --- a/tests/test_worktable.py +++ b/tests/test_worktable.py @@ -58,8 +58,8 @@ def test_a_pylabrobot_deck_file_becomes_a_worktable_by_name(): def test_a_layout_that_is_not_one_says_what_it_is(): with pytest.raises(ValueError, match="not a JSON layout"): worktable.read_layout("{") - with pytest.raises(ValueError, match="'EVO150Deck' is not a worktable this knows"): - worktable.read_layout(json.dumps({"deck_type": "EVO150Deck", "resources": []})) + with pytest.raises(ValueError, match="'BiomekDeck' is not a worktable this knows"): + worktable.read_layout(json.dumps({"deck_type": "BiomekDeck", "resources": []})) with pytest.raises(ValueError, match="state file"): worktable.read_layout(json.dumps({"plate_well_A1": {"volume": 10}})) From 2d77bf85b29cb43fe84a5fbdfbc74bb20fa73f6b Mon Sep 17 00:00:00 2001 From: ivoryzhangwy Date: Mon, 23 Nov 2026 14:04:27 -0700 Subject: [PATCH 2/4] fix: an enum default is shown by its value, as IvoryOS lists the choices IvoryOS NextGen offers an enum's members by value (GripDirection: 1 to 4), so a default given by name ("FRONT") matched none of them. The name is still taken as input. Co-Authored-By: Claude Opus 5.5 --- README.md | 4 ++-- plr_ivoryos/bridge.py | 4 +++- tests/test_robots.py | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5df64b2..c8aba90 100644 --- a/README.md +++ b/README.md @@ -303,8 +303,8 @@ IvoryOS desktop app's decks do) uses the same plr-ivoryos and PyLabRobot. not offered as steps on a robot that is itself a resource. - The simulated robot-server remembers where each pipette was sent, so a position query answers it. - A default PyLabRobot gives as a `Coordinate` or an enum (`offset=Coordinate(0, 0, 0)`, - `direction=GripDirection.FRONT`) is shown to IvoryOS as data (`{"x": 0, "y": 0, "z": 0}`, - `"FRONT"`) and made PyLabRobot's again when the step runs: IvoryOS NextGen stores a deck's steps + `direction=GripDirection.FRONT`) is shown to IvoryOS as data (`{"x": 0, "y": 0, "z": 0}`, the + enum's value; its name is taken too) and made PyLabRobot's again when the step runs: IvoryOS NextGen stores a deck's steps as JSON, and could not record a deck that had one. ### What changed in 1.0.0b1 diff --git a/plr_ivoryos/bridge.py b/plr_ivoryos/bridge.py index 9368b08..c95e047 100644 --- a/plr_ivoryos/bridge.py +++ b/plr_ivoryos/bridge.py @@ -250,7 +250,9 @@ def translate_param(param: inspect.Parameter, hint: Any, marker: Any = None) -> return Param(param.name, param.kind, default, Optional[arm] if optional else arm, _dataclass_value(arm)) if inspect.isclass(arm) and issubclass(arm, enum.Enum): if isinstance(default, enum.Enum): - default = default.name # GripDirection.FRONT is shown as "FRONT", for the same reason + # GripDirection.FRONT is shown as its value (1), as IvoryOS lists an enum's choices; + # its name is taken too. + default = default.value if isinstance(default.value, (str, int, float, bool)) else default.name return Param(param.name, param.kind, default, hint, _enum_value(arm)) origin = typing.get_origin(arm) if arm in (dict, list) or origin in (dict, list, collections.abc.Mapping): diff --git a/tests/test_robots.py b/tests/test_robots.py index 4ca0ffc..9ddb589 100644 --- a/tests/test_robots.py +++ b/tests/test_robots.py @@ -256,7 +256,7 @@ def test_every_steps_defaults_are_data_ivoryos_can_keep(): def test_a_coordinate_or_enum_given_as_data_reaches_pylabrobot_as_its_own(): lh = Vantage(simulated=True) try: - lh.move_plate(plate="sample_plate", to="plate_carrier-4", pickup_direction="FRONT", + lh.move_plate(plate="sample_plate", to="plate_carrier-4", pickup_direction="FRONT", drop_direction=1, destination_offset={"x": 0, "y": 0, "z": 0}) assert lh._place_of(lh.deck.get_resource("sample_plate")) == "plate_carrier-4" finally: From eee1151abc5802c3d1fa73a0373e1da5904ca69e Mon Sep 17 00:00:00 2001 From: ivoryzhangwy Date: Mon, 23 Nov 2026 14:09:05 -0700 Subject: [PATCH 3/4] chore: the IvoryOS Hub entries for 1.0.0b2, made from what IvoryOS reads hub/deck.json loads every liquid handler, simulated, in IvoryOS NextGen; hub_entries.py turns IvoryOS's schema dump into the class schemas (schemas-1.0.0b2.json) and one SQL transaction that updates the Hub's modules, versions, parts and Labware plugin from them (update-1.0.0b2.sql). Co-Authored-By: Claude Opus 5.5 --- hub/README.md | 35 + hub/deck.json | 126 + hub/hub_entries.py | 226 + hub/schemas-1.0.0b2.json | 32637 +++++++++++++++++++++++++++++++++++++ hub/update-1.0.0b2.sql | 197 + 5 files changed, 33221 insertions(+) create mode 100644 hub/README.md create mode 100644 hub/deck.json create mode 100644 hub/hub_entries.py create mode 100644 hub/schemas-1.0.0b2.json create mode 100644 hub/update-1.0.0b2.sql diff --git a/hub/README.md b/hub/README.md new file mode 100644 index 0000000..4eccd6e --- /dev/null +++ b/hub/README.md @@ -0,0 +1,35 @@ +# The IvoryOS Hub entries for plr-ivoryos + +The Hub lists each liquid handler as a module (`modules`), version by version (`module_versions`), +with the instruments it yields beside its own (`module_parts`: `star_pipettes`, `flex_left`, ...) +and the Labware panel as a plugin (`plugins`). Each carries the steps IvoryOS shows, its schema. +This folder makes those entries for a release from what IvoryOS itself reads, so the Hub's steps +are exactly a deck's. + +| File | What it is | +| :--- | :--- | +| `deck.json` | an IvoryOS NextGen deck with every liquid handler, simulated, and the Labware plugin: a smoke test, and the source of the schemas | +| `hub_entries.py` | turns IvoryOS's schema dump into the two files below | +| `schemas-.json` | each class's schema, by class name | +| `update-.sql` | one transaction updating the Hub; it reads the schemas from a temporary table `_schemas` | + +## For a release + +The Hub's rows install by version, so publish the release to PyPI first. + +```bash +pip install -e . ivoryos-edge +python -m ivoryos_edge --deck hub/deck.json --data-dir /tmp/plr-hub # writes ivoryos_schema.json; stop it once up +python hub/hub_entries.py /tmp/plr-hub/ivoryos_schema.json +``` + +Commit both files, then in the Hub's database, with the commit's id: + +```sql +select net.http_get('https://raw.githubusercontent.com/ivoryos-ai/IvoryOS-PyLabRobot-Integration//hub/schemas-.json'); +-- a moment later, in one session: +create temp table _schemas as select content::jsonb as s from net._http_response where id = and status_code = 200; +-- then the contents of update-.sql +``` + +The SQL checks `_schemas` holds the schemas before changing anything, and is one transaction. diff --git a/hub/deck.json b/hub/deck.json new file mode 100644 index 0000000..c94f99a --- /dev/null +++ b/hub/deck.json @@ -0,0 +1,126 @@ +{ + "format": "ivoryos-deck/1", + "name": "plr-ivoryos: every liquid handler, simulated", + "packages": [ + "plr-ivoryos==1.0.0b2" + ], + "instruments": [ + { + "name": "star", + "import": "plr_ivoryos.hamilton", + "class": "STAR", + "args": { + "simulated": true, + "deck_type": "STARLetDeck", + "worktable": "star.json", + "step_delay_s": 0 + } + }, + { + "name": "prep", + "import": "plr_ivoryos.hamilton", + "class": "Prep", + "args": { + "simulated": true, + "worktable": "prep.json", + "step_delay_s": 0 + } + }, + { + "name": "ot2", + "import": "plr_ivoryos.opentrons", + "class": "OT2", + "args": { + "simulated": true, + "port": 31950, + "worktable": "ot2.json", + "step_delay_s": 0 + } + }, + { + "name": "flex", + "import": "plr_ivoryos.opentrons", + "class": "Flex", + "args": { + "simulated": true, + "port": 31950, + "worktable": "flex.json", + "step_delay_s": 0 + } + }, + { + "name": "nimbus", + "import": "plr_ivoryos.legacy", + "class": "Nimbus", + "args": { + "simulated": true, + "port": 2000, + "worktable": "nimbus.json", + "step_delay_s": 0 + } + }, + { + "name": "vantage", + "import": "plr_ivoryos.legacy", + "class": "Vantage", + "args": { + "simulated": true, + "worktable": "vantage.json", + "step_delay_s": 0 + } + }, + { + "name": "evo", + "import": "plr_ivoryos.legacy", + "class": "EVO", + "args": { + "simulated": true, + "deck_type": "EVO150Deck", + "worktable": "evo.json", + "diti_count": 0, + "step_delay_s": 0 + } + }, + { + "name": "lh", + "import": "plr_ivoryos.legacy", + "class": "LiquidHandler", + "args": { + "simulated": true, + "channels": 8, + "deck_type": "STARLetDeck", + "worktable": "lh.json", + "step_delay_s": 0 + } + }, + { + "name": "flex96", + "import": "plr_ivoryos.opentrons", + "class": "Flex", + "args": { + "simulated": true, + "worktable": "flex96.json", + "equipment": { + "head96": "p1000_96", + "gripper": true, + "trash": "A3" + } + } + }, + { + "name": "star384", + "import": "plr_ivoryos.hamilton", + "class": "STAR", + "args": { + "simulated": true, + "worktable": "star384.json", + "equipment": { + "head384": true + } + } + } + ], + "plugins": [ + "plr_ivoryos.labware_view:plugin" + ] +} \ No newline at end of file diff --git a/hub/hub_entries.py b/hub/hub_entries.py new file mode 100644 index 0000000..78046c7 --- /dev/null +++ b/hub/hub_entries.py @@ -0,0 +1,226 @@ +"""The IvoryOS Hub entries for this release of plr-ivoryos (README.md beside this file). + + python hub/hub_entries.py path/to/ivoryos_schema.json + +reads IvoryOS's own description of every step (the schema `python -m ivoryos_edge --deck +hub/deck.json` dumps) and writes, beside this file: + + schemas-.json each class's schema, by class name + update-.sql one transaction: the modules, their versions and parts, the Labware + plugin; it reads the schemas from a temporary table `_schemas` (one + jsonb row, the file above), so the SQL itself stays small +""" + +import json +import os +import sys +import warnings + +warnings.simplefilter("ignore") +from plr_ivoryos import __version__ # noqa: E402 +from plr_ivoryos.opentrons.simulator import OT2_PIPETTES # noqa: E402 + +HERE = os.path.dirname(os.path.abspath(__file__)) +dump = json.load(open(sys.argv[1], encoding="utf-8")) +# instrument name in hub/deck.json -> its class; and each class's schema +S = {name: meta["class"] for name, meta in dump["instrument_meta"].items()} +BUNDLE = {S[name]: schema for name, schema in dump["instruments"].items()} + +VERSION = __version__ +REQUIRES = {"pylabrobot": "==1.0.0b1"} +PIP = f"plr-ivoryos=={VERSION}" +PIP_USB = f"plr-ivoryos[usb]=={VERSION}" +NOTES = "PyLabRobot 1.0.0b1 (beta). Run in simulation and in IvoryOS NextGen; not yet on hardware." + + +def j(value): + text = json.dumps(value, ensure_ascii=False) + assert "$j$" not in text + return f"$j${text}$j$::jsonb" + + +def sch(cls): + """A class's schema, from the temporary table the SQL is run with.""" + assert cls in BUNDLE, cls + return f"(select s->{t(cls)} from _schemas)" + + +def t(text): + assert "$t$" not in text + return f"$t${text}$t$" + + +def arg(name, type_, default=None, **more): + out = {"name": name, "type": type_} + if default is not None: + out["default"] = default + return {**out, **more} + + +SIM = arg("simulated", "bool", True) +WORKTABLE = arg("worktable", "str", "worktable.json") +DELAY = arg("step_delay_s", "float", 0) +SHARED = ("Decks on one computer share one Python environment, so this replaces the PyLabRobot that any " + "older plr-ivoryos driver there needs. Add the Labware plugin after this driver to see and edit the " + "worktable.") + + +def bools(parts, labels, defaults): + return {p: {"type": "bool", "label": labels[p], "default": defaults.get(p, True)} for p in parts} + + +def pipette_choices(channels=None): + return [{"label": spec["label"], "value": name} for name, spec in OT2_PIPETTES.items() + if channels is None or spec["channels"] == channels] + + +MODULES = [ + {"id": 422, "name": "Flex", "pip": PIP, "path": "plr_ivoryos.opentrons", "cls": "Flex", "schema": S["flex"], + "init_args": [SIM, arg("host", "str"), arg("port", "int", 31950), arg("serial_port", "str"), WORKTABLE, DELAY], + "description": None, # kept + "equipment": "keep", + "parts": [("left", "left", ["p50_single_flex", "p1000_single_flex"], "FlexPipette1", "1-channel pipette on the left mount", 10, S["flex_right"]), + ("left", "left", ["p50_multi_flex", "p1000_multi_flex"], "FlexPipette8", "8-channel pipette on the left mount", 11, S["flex_left"]), + ("right", "right", ["p50_single_flex", "p1000_single_flex"], "FlexPipette1", "1-channel pipette on the right mount", 20, S["flex_right"]), + ("right", "right", ["p50_multi_flex", "p1000_multi_flex"], "FlexPipette8", "8-channel pipette on the right mount", 21, S["flex_left"]), + ("head96", "head96", ["p1000_96", "p200_96"], "FlexPipette96", "96-channel head", 30, S["flex96_head96"]), + ("gripper", "gripper", [], "FlexGripperPart", "Gripper", 40, S["flex_gripper"])]}, + {"id": 183, "name": "Opentrons OT-2", "pip": PIP, "path": "plr_ivoryos.opentrons", "cls": "OT2", "schema": S["ot2"], + "init_args": [SIM, arg("host", "str"), arg("port", "int", 31950), WORKTABLE, DELAY], + "description": "An Opentrons OT-2 through PyLabRobot 1.0. The robot is one instrument and each mounted pipette " + "another (ot2_left, ot2_right), each with PyLabRobot's own steps; wells are written as PyLabRobot " + "writes them (assay_plate[A1:H1]). What is mounted and what sits where is the worktable file. " + "Simulated (the default) runs PyLabRobot's OT-2 against a simulated robot-server, since " + "PyLabRobot has none for its 1.0 class: for a real robot, untick simulated and give host. Beta: " + "pinned to PyLabRobot 1.0.0b1, run in simulation only. " + SHARED, + "equipment": {"left": {"label": "Left mount", "choices": pipette_choices(), "default": "p300_multi_gen2"}, + "right": {"label": "Right mount", "choices": pipette_choices(), "default": "p300_single_gen2"}}, + "parts": [(m, m, [n for n, s in OT2_PIPETTES.items() if s["channels"] == c], cls, f"{c}-channel pipette on the {m} mount", o + i, + S["ot2_right"] if c == 1 else S["ot2_left"]) + for o, m in ((10, "left"), (20, "right")) for i, (c, cls) in enumerate(((1, "OT2Pipette1"), (8, "OT2Pipette8")))]}, + {"id": 178, "name": "Hamilton STAR", "pip": PIP_USB, "path": "plr_ivoryos.hamilton", "cls": "STAR", "schema": S["star"], + "init_args": [SIM, arg("deck_type", "str", "STARLetDeck"), WORKTABLE, arg("device_address", "int"), + arg("serial_number", "str"), DELAY], + "description": "A Hamilton STAR, STARlet or STARplus (deck_type STARDeck, STARLetDeck or STARPlusDeck) through " + "PyLabRobot 1.0. The robot is one instrument and each thing fitted to it another (star_pipettes, " + "star_head96 or star_head384, star_iswap, star_core_grippers, star_autoload), each with " + "PyLabRobot's own steps. Simulated (the default) is PyLabRobot's own STAR simulator, answering as " + "the firmware would; for the real one on USB, untick simulated. Beta: pinned to PyLabRobot " + "1.0.0b1, run in simulation only. " + SHARED, + "equipment": bools(("pipettes", "head96", "head384", "iswap", "core_grippers", "autoload"), + {"pipettes": "Independent channels", "head96": "96-head", "head384": "384-head (instead of the 96-head)", + "iswap": "iSWAP", "core_grippers": "CoRe grippers", "autoload": "Autoload"}, {"head384": False}), + "parts": [("pipettes", "pipettes", [], "STARPipettes", "Independent channels", 10, S["star_pipettes"]), + ("head96", "head96", [], "STARHead96", "96-head", 20, S["star_head96"]), + ("head384", "head384", [], "STARHead384", "384-head", 21, S["star384_head384"]), + ("iswap", "iswap", [], "STARiSWAP", "iSWAP", 30, S["star_iswap"]), + ("core_grippers", "core_grippers", [], "STARCoreGrippers", "CoRe grippers", 40, S["star_core_grippers"]), + ("autoload", "autoload", [], "STARAutoload", "Autoload", 50, S["star_autoload"])]}, + {"id": None, "name": "Hamilton Prep", "pip": PIP, "path": "plr_ivoryos.hamilton", "cls": "Prep", "schema": S["prep"], + "init_args": [SIM, arg("host", "str"), arg("port", "int", 2000), WORKTABLE, DELAY], + "description": "A Hamilton Prep through PyLabRobot 1.0. The robot is one instrument and each thing fitted to it " + "another (prep_pipettes, prep_head8, prep_core_grippers, prep_heater_shaker, prep_lights), each " + "with PyLabRobot's own steps; labware goes in its eight spots, 0 to 7. Simulated (the default) is " + "PyLabRobot's own Prep simulator; for a real Prep, untick simulated and give host. Beta: pinned to " + "PyLabRobot 1.0.0b1, run in simulation only. " + SHARED, + "equipment": bools(("pipettes", "head8", "core_grippers", "heater_shaker", "lights"), + {"pipettes": "Independent channels", "head8": "8-channel head", "core_grippers": "CoRe grippers", + "heater_shaker": "Heater shaker", "lights": "Lights"}, {}), + "parts": [("pipettes", "pipettes", [], "PrepPipettes", "Independent channels", 10, S["prep_pipettes"]), + ("head8", "head8", [], "PrepHead8", "8-channel head", 20, S["prep_head8"]), + ("core_grippers", "core_grippers", [], "PrepCoreGrippers", "CoRe grippers", 30, S["prep_core_grippers"]), + ("heater_shaker", "heater_shaker", [], "PrepHeaterShaker", "Heater shaker", 40, S["prep_heater_shaker"]), + ("lights", "lights", [], "PrepLights", "Lights", 50, S["prep_lights"])]}, +] + +LEGACY_NOTE = ("PyLabRobot 1.0 drives this robot only through pylabrobot.legacy, so it is one instrument with every " + "LiquidHandler operation (pick_up_tips, aspirate, dispense, move_plate, ...), PyLabRobot's names and " + "arguments; wells are written as PyLabRobot writes them (assay_plate[A1:H1]). Simulated (the default) is " + "PyLabRobot's legacy chatterbox: its tip and volume tracking, not the robot's firmware. Beta: pinned to " + "PyLabRobot 1.0.0b1, run in simulation only. ") +CHANNELS = arg("channels", "int", 8) +MODULES += [ + {"id": 184, "name": "Hamilton Nimbus", "pip": PIP, "path": "plr_ivoryos.legacy", "cls": "Nimbus", "schema": S["nimbus"], + "init_args": [SIM, arg("host", "str"), arg("port", "int", 2000), WORKTABLE, CHANNELS, DELAY], + "description": "A Hamilton Nimbus through PyLabRobot. " + LEGACY_NOTE + "For a real Nimbus, untick simulated and " + "give host. " + SHARED, "equipment": None, "parts": []}, + {"id": 185, "name": "Hamilton Vantage", "pip": PIP_USB, "path": "plr_ivoryos.legacy", "cls": "Vantage", "schema": S["vantage"], + "init_args": [SIM, WORKTABLE, arg("device_address", "int"), arg("serial_number", "str"), CHANNELS, DELAY], + "description": "A Hamilton Vantage (1.3 m deck) through PyLabRobot. " + LEGACY_NOTE + "For the real one on USB, " + "untick simulated. " + SHARED, "equipment": None, "parts": []}, + {"id": 186, "name": "Tecan EVO", "pip": PIP_USB, "path": "plr_ivoryos.legacy", "cls": "EVO", "schema": S["evo"], + "init_args": [SIM, arg("deck_type", "str", "EVO150Deck"), WORKTABLE, arg("diti_count", "int", 0), CHANNELS, DELAY], + "description": "A Tecan Freedom EVO 100, 150 or 200 (deck_type EVO100Deck, EVO150Deck or EVO200Deck) through " + "PyLabRobot. " + LEGACY_NOTE + "PyLabRobot 1.0.0b1 cannot make a Tecan tip rack yet, so the " + "worktable has no disposable tips. For the real one on USB, untick simulated. " + SHARED, + "equipment": None, "parts": []}, + {"id": 177, "name": "Simulated Liquid Handler", "pip": PIP, "path": "plr_ivoryos.legacy", "cls": "LiquidHandler", + "schema": S["lh"], + "init_args": [SIM, CHANNELS, arg("deck_type", "str", "STARLetDeck"), WORKTABLE, DELAY], + "description": "PyLabRobot's simulated liquid handler (the legacy chatterbox) on any worktable (deck_type: " + "STARLetDeck, STARDeck, OTDeck, NimbusDeck, EVO150Deck, ...): one instrument with every " + "LiquidHandler operation, PyLabRobot's names and arguments, wells written as assay_plate[A1:H1]. " + "For a specific robot, its own driver (Hamilton STAR, Opentrons OT-2, ...) simulates it better. " + "Beta: pinned to PyLabRobot 1.0.0b1. " + SHARED, "equipment": None, "parts": []}, +] + +OLD_PIP = {177: "plr-ivoryos>=0.2.0,<1", 178: "plr-ivoryos[usb]>=0.2.0,<1", 183: "plr-ivoryos[opentrons]>=0.2.0,<1", + 184: "plr-ivoryos>=0.2.0,<1", 185: "plr-ivoryos[usb]>=0.2.0,<1", 186: "plr-ivoryos[usb]>=0.2.0,<1"} + +# Who added these drivers: whoever added the Flex's (so no account id is written here). +CONTRIBUTOR = "(select contributor_id from modules where id = 422)" +sql = ["begin;", """do $$ begin + if (select count(*) from _schemas) <> 1 or (select s->'Flex' from _schemas) is null then + raise exception 'create temp table _schemas (s jsonb) holding schemas-.json first'; + end if; +end $$;"""] +sql.append(f"""insert into devices (name, vendor, category, official_url, contributor_id) +select 'Prep', 'Hamilton', 'Liquid Handler', 'https://www.hamiltoncompany.com', {CONTRIBUTOR} +where not exists (select 1 from devices where vendor = 'Hamilton' and name = 'Prep');""") +for m in MODULES: + ident = str(m["id"]) if m["id"] else "(select id from modules where module_path = 'plr_ivoryos.hamilton' and module_name = 'Prep')" + if m["id"] is None: + sql.append(f"""insert into modules (name, pip_name, module_name, module_path, contributor_id, os, device_id, + python_versions, is_tested_with_ivoryos, is_unlisted, init_args, is_original_developer, connection, description, + schema, schema_source) +select {t(m['name'])}, {t(m['pip'])}, {t(m['cls'])}, {t(m['path'])}, {CONTRIBUTOR}, + array['Windows','Linux','macOS']::text[], (select id from devices where vendor = 'Hamilton' and name = 'Prep'), + array['']::text[], false, false, {j(m['init_args'])}, false, '{{}}'::text[], {t(m['description'])}, {sch(m['schema'])}, + 'introspection' +where not exists (select 1 from modules where module_path = 'plr_ivoryos.hamilton' and module_name = 'Prep');""") + else: + sets = [f"pip_name = {t(m['pip'])}", f"module_name = {t(m['cls'])}", f"module_path = {t(m['path'])}", + f"init_args = {j(m['init_args'])}", f"schema = {sch(m['schema'])}", "schema_source = 'introspection'", + "updated_at = now()"] + if m["description"]: + sets.append(f"description = {t(m['description'])}") + sql.append(f"update modules set {', '.join(sets)} where id = {ident};") + if m["id"] in OLD_PIP: # what it was, for the record + sql.append(f"""insert into module_versions (module_id, version, pip_name, requires, channel, notes, is_current) +select {ident}, '0.2', {t(OLD_PIP[m['id']])}, '{{"pylabrobot": "<1"}}'::jsonb, 'stable', + 'plr-ivoryos 0.2 on PyLabRobot 0.x: LiquidHandler(backend=..., deck_json=...). Workflows made with it need redoing on 1.0.', false +where not exists (select 1 from module_versions where module_id = {ident} and version = '0.2');""") + sql.append(f"update module_versions set is_current = false where module_id = {ident};") + equipment = "(select equipment from module_versions where id = 1)" if m["equipment"] == "keep" else \ + ("null" if m["equipment"] is None else j(m["equipment"])) + sql.append(f"""insert into module_versions (module_id, version, pip_name, requires, channel, schema, equipment, notes, is_current) +values ({ident}, '{VERSION}', {t(m['pip'])}, {j(REQUIRES)}, 'beta', {sch(m['schema'])}, {equipment}, {t(NOTES)}, true);""") + for part, key, values, cls, label, order, schema in m["parts"]: + vals = "array[" + ", ".join(t(v) for v in values) + "]::text[]" if values else "'{}'::text[]" + sql.append(f"""insert into module_parts (module_version_id, part, equipment_key, equipment_values, class_name, label, schema, sort_order) +values ((select id from module_versions where module_id = {ident} and version = '{VERSION}'), {t(part)}, {t(key)}, {vals}, + {t(cls)}, {t(label)}, {sch(schema)}, {order});""") + +ids = ", ".join(str(m["id"]) for m in MODULES if m["id"]) +sql.append(f"""update plugins set pip_name = {t(PIP)}, + module_ids = array[{ids}, (select id from modules where module_path = 'plr_ivoryos.hamilton' and module_name = 'Prep')]::int[], + description = {t("Any plr-ivoryos liquid handler's worktable (Opentrons Flex and OT-2, Hamilton STAR, Prep, Nimbus and Vantage, Tecan EVO), drawn live beside every page: what each well holds, which tips are left, and the wells a step is working on. Edit layout to build it: drag labware from PyLabRobot's catalogue onto slots or carriers, fill wells with a liquid, or import a layout you already have; on a Flex, also choose what is mounted. Saved as plr-ivoryos's worktable.json. Add the liquid handler's driver to the deck first: this plugin installs with its PyLabRobot.")} +where id = 7;""") +sql.append("commit;") +with open(os.path.join(HERE, f"schemas-{VERSION}.json"), "w", encoding="utf-8") as f: + json.dump(BUNDLE, f, ensure_ascii=False, sort_keys=True, indent=1) + f.write("\n") +with open(os.path.join(HERE, f"update-{VERSION}.sql"), "w", encoding="utf-8") as f: + f.write(f"-- plr-ivoryos {VERSION} on the IvoryOS Hub. Generated by hub/hub_entries.py; see hub/README.md.\n\n") + f.write("\n\n".join(sql) + "\n") +print(f"schemas-{VERSION}.json: {len(BUNDLE)} classes; update-{VERSION}.sql: {sum(len(x) for x in sql)} chars") diff --git a/hub/schemas-1.0.0b2.json b/hub/schemas-1.0.0b2.json new file mode 100644 index 0000000..f28f8a7 --- /dev/null +++ b/hub/schemas-1.0.0b2.json @@ -0,0 +1,32637 @@ +{ + "EVO": { + "aspirate": { + "accepts_kwargs": true, + "description": "Aspirate liquid from the specified wells.\n\n(PyLabRobot: LiquidHandler.aspirate)", + "is_coroutine": false, + "parameters": { + "blow_out_air_volume": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "optional": true, + "type": "Optional[float]" + }, + "optional": true, + "required": false, + "type": "Optional[List[Optional[float]]]" + }, + "flow_rates": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "optional": true, + "type": "Optional[float]" + }, + "optional": true, + "required": false, + "type": "Optional[List[Optional[float]]]" + }, + "liquid_height": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "optional": true, + "type": "Optional[float]" + }, + "optional": true, + "required": false, + "type": "Optional[List[Optional[float]]]" + }, + "mix": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "auto_surface_following": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "flow_rate": { + "numeric": true, + "required": true, + "type": "float" + }, + "repetitions": { + "numeric": true, + "required": true, + "type": "int" + }, + "surface_following_distance": { + "default": 0.0, + "numeric": true, + "required": false, + "type": "float" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "is_object": true, + "type": "Mix" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.lib.liquid_handling.mix.Mix]]" + }, + "offsets": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "resources": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "spread": { + "choices": [ + { + "label": "wide", + "value": "wide" + }, + { + "label": "tight", + "value": "tight" + }, + { + "label": "custom", + "value": "custom" + } + ], + "default": "wide", + "options": [ + "wide", + "tight", + "custom" + ], + "required": false, + "type": "Literal" + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + }, + "vols": { + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "required": true, + "type": "List[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "aspirate96": { + "accepts_kwargs": true, + "description": "Aspirate from all wells in a plate or from a container of a sufficient size.\n\n(PyLabRobot: LiquidHandler.aspirate96)", + "is_coroutine": false, + "parameters": { + "blow_out_air_volume": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "liquid_height": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "mix": { + "default": null, + "fields": { + "auto_surface_following": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "flow_rate": { + "numeric": true, + "required": true, + "type": "float" + }, + "repetitions": { + "numeric": true, + "required": true, + "type": "int" + }, + "surface_following_distance": { + "default": 0.0, + "numeric": true, + "required": false, + "type": "float" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Mix" + }, + "offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "resource": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "consolidate_tip_inventory": { + "accepts_kwargs": false, + "description": "Consolidate partially filled tip racks by redistributing tips of the same model.\n\n(PyLabRobot: LiquidHandler.consolidate_tip_inventory)", + "is_coroutine": false, + "parameters": { + "tip_racks": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "tip_rack" + ] + } + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "discard_tips": { + "accepts_kwargs": true, + "description": "Permanently discard tips in the trash.\n\n(PyLabRobot: LiquidHandler.discard_tips)", + "is_coroutine": false, + "parameters": { + "allow_nonzero_volume": { + "default": true, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "offsets": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "discard_tips96": { + "accepts_kwargs": true, + "description": "Permanently discard tips from the 96 head in the trash. This method only works when this\nLiquidHandler is configured with a deck that implements the `get_trash_area96` method.\nOtherwise, an `ImplementationError` will be raised.\n\n(PyLabRobot: LiquidHandler.discard_tips96)", + "is_coroutine": false, + "parameters": { + "allow_nonzero_volume": { + "default": true, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "dispense": { + "accepts_kwargs": true, + "description": "Dispense liquid to the specified channels.\n\n(PyLabRobot: LiquidHandler.dispense)", + "is_coroutine": false, + "parameters": { + "blow_out_air_volume": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "optional": true, + "type": "Optional[float]" + }, + "optional": true, + "required": false, + "type": "Optional[List[Optional[float]]]" + }, + "flow_rates": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "optional": true, + "type": "Optional[float]" + }, + "optional": true, + "required": false, + "type": "Optional[List[Optional[float]]]" + }, + "liquid_height": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "optional": true, + "type": "Optional[float]" + }, + "optional": true, + "required": false, + "type": "Optional[List[Optional[float]]]" + }, + "mix": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "auto_surface_following": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "flow_rate": { + "numeric": true, + "required": true, + "type": "float" + }, + "repetitions": { + "numeric": true, + "required": true, + "type": "int" + }, + "surface_following_distance": { + "default": 0.0, + "numeric": true, + "required": false, + "type": "float" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "is_object": true, + "type": "Mix" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.lib.liquid_handling.mix.Mix]]" + }, + "offsets": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "resources": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "spread": { + "choices": [ + { + "label": "wide", + "value": "wide" + }, + { + "label": "tight", + "value": "tight" + }, + { + "label": "custom", + "value": "custom" + } + ], + "default": "wide", + "options": [ + "wide", + "tight", + "custom" + ], + "required": false, + "type": "Literal" + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + }, + "vols": { + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "required": true, + "type": "List[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "dispense96": { + "accepts_kwargs": true, + "description": "Dispense to all wells in a plate.\n\n(PyLabRobot: LiquidHandler.dispense96)", + "is_coroutine": false, + "parameters": { + "blow_out_air_volume": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "liquid_height": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "mix": { + "default": null, + "fields": { + "auto_surface_following": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "flow_rate": { + "numeric": true, + "required": true, + "type": "float" + }, + "repetitions": { + "numeric": true, + "required": true, + "type": "int" + }, + "surface_following_distance": { + "default": 0.0, + "numeric": true, + "required": false, + "type": "float" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Mix" + }, + "offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "resource": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "drop_resource": { + "accepts_kwargs": true, + "description": "PyLabRobot: LiquidHandler.drop_resource", + "is_coroutine": false, + "parameters": { + "destination": { + "labware_site": true, + "options": [ + "plate_carrier-0", + "plate_carrier-1", + "plate_carrier-2" + ], + "required": true, + "type": "str" + }, + "direction": { + "choices": [ + { + "label": "FRONT", + "value": 1 + }, + { + "label": "BACK", + "value": 2 + }, + { + "label": "LEFT", + "value": 3 + }, + { + "label": "RIGHT", + "value": 4 + } + ], + "default": "FRONT", + "options": [ + 1, + 2, + 3, + 4 + ], + "required": false, + "type": "GripDirection" + }, + "offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "drop_tips": { + "accepts_kwargs": true, + "description": "Drop tips to a resource.\n\n(PyLabRobot: LiquidHandler.drop_tips)", + "is_coroutine": false, + "parameters": { + "allow_nonzero_volume": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "offsets": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "tip_spots": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "tip_rack", + "trash" + ] + } + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "drop_tips96": { + "accepts_kwargs": true, + "description": "Drop tips using the 96 head. This will drop 96 tips.\n\n(PyLabRobot: LiquidHandler.drop_tips96)", + "is_coroutine": false, + "parameters": { + "allow_nonzero_volume": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "resource": { + "labware": [ + "tip_rack", + "trash" + ], + "options": [], + "required": true, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "get_mounted_tips": { + "accepts_kwargs": false, + "description": "Get the tips currently mounted on the head.\n\n(PyLabRobot: LiquidHandler.get_mounted_tips)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "get_picked_up_resource": { + "accepts_kwargs": false, + "description": "Get the resource that is currently picked up.\n\n(PyLabRobot: LiquidHandler.get_picked_up_resource)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "Any" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Any" + } + ], + "return_type": "Any" + }, + "load_liquid": { + "accepts_kwargs": false, + "description": "Record what a person put on the worktable: this liquid, this much (µL), in these wells.\nNothing moves. (Not a PyLabRobot step: there it is `well.tracker.set_volume`.)", + "is_coroutine": false, + "parameters": { + "liquid": { + "required": true, + "type": "str" + }, + "resources": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "vols": { + "numeric": true, + "per_well": "resources", + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_channel_x": { + "accepts_kwargs": false, + "description": "Move channel to absolute x position\n\n(PyLabRobot: LiquidHandler.move_channel_x)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + }, + "x": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_channel_y": { + "accepts_kwargs": false, + "description": "Move channel to absolute y position\n\n(PyLabRobot: LiquidHandler.move_channel_y)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + }, + "y": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_channel_z": { + "accepts_kwargs": false, + "description": "Move channel to absolute z position\n\n(PyLabRobot: LiquidHandler.move_channel_z)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + }, + "z": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_lid": { + "accepts_kwargs": true, + "description": "Move a lid to a new location.\n\n(PyLabRobot: LiquidHandler.move_lid)", + "is_coroutine": false, + "parameters": { + "destination_offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "drop_direction": { + "choices": [ + { + "label": "FRONT", + "value": 1 + }, + { + "label": "BACK", + "value": 2 + }, + { + "label": "LEFT", + "value": 3 + }, + { + "label": "RIGHT", + "value": 4 + } + ], + "default": "FRONT", + "options": [ + 1, + 2, + 3, + 4 + ], + "required": false, + "type": "GripDirection" + }, + "intermediate_locations": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "lid": { + "labware": [], + "options": [ + "reservoir", + "assay_plate", + "sample_plate" + ], + "required": true, + "type": "str" + }, + "pickup_direction": { + "choices": [ + { + "label": "FRONT", + "value": 1 + }, + { + "label": "BACK", + "value": 2 + }, + { + "label": "LEFT", + "value": 3 + }, + { + "label": "RIGHT", + "value": 4 + } + ], + "default": "FRONT", + "options": [ + 1, + 2, + 3, + 4 + ], + "required": false, + "type": "GripDirection" + }, + "pickup_distance_from_top": { + "default": 2.37, + "numeric": true, + "required": false, + "type": "float" + }, + "pickup_offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "to": { + "labware_site": true, + "options": [ + "plate_carrier-0", + "plate_carrier-1", + "plate_carrier-2" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_picked_up_resource": { + "accepts_kwargs": true, + "description": "Move a resource that has been picked up to a new location.\n\n(PyLabRobot: LiquidHandler.move_picked_up_resource)", + "is_coroutine": false, + "parameters": { + "direction": { + "choices": [ + { + "label": "FRONT", + "value": 1 + }, + { + "label": "BACK", + "value": 2 + }, + { + "label": "LEFT", + "value": 3 + }, + { + "label": "RIGHT", + "value": 4 + } + ], + "default": null, + "optional": true, + "options": [ + 1, + 2, + 3, + 4 + ], + "required": false, + "type": "GripDirection" + }, + "offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "to": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": true, + "type": "Coordinate" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_plate": { + "accepts_kwargs": true, + "description": "Move a plate to a new location.\n\n(PyLabRobot: LiquidHandler.move_plate)", + "is_coroutine": false, + "parameters": { + "destination_offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "drop_direction": { + "choices": [ + { + "label": "FRONT", + "value": 1 + }, + { + "label": "BACK", + "value": 2 + }, + { + "label": "LEFT", + "value": 3 + }, + { + "label": "RIGHT", + "value": 4 + } + ], + "default": "FRONT", + "options": [ + 1, + 2, + 3, + 4 + ], + "required": false, + "type": "GripDirection" + }, + "intermediate_locations": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "pickup_direction": { + "choices": [ + { + "label": "FRONT", + "value": 1 + }, + { + "label": "BACK", + "value": 2 + }, + { + "label": "LEFT", + "value": 3 + }, + { + "label": "RIGHT", + "value": 4 + } + ], + "default": "FRONT", + "options": [ + 1, + 2, + 3, + 4 + ], + "required": false, + "type": "GripDirection" + }, + "pickup_distance_from_top": { + "default": 9.87, + "numeric": true, + "required": false, + "type": "float" + }, + "pickup_offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "plate": { + "labware": [ + "plate", + "reservoir", + "tip_rack", + "tube_rack" + ], + "options": [ + "reservoir", + "assay_plate", + "sample_plate" + ], + "required": true, + "type": "str" + }, + "to": { + "labware_site": true, + "options": [ + "plate_carrier-0", + "plate_carrier-1", + "plate_carrier-2" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_resource": { + "accepts_kwargs": true, + "description": "Move a resource to a new location.\n\n(PyLabRobot: LiquidHandler.move_resource)", + "is_coroutine": false, + "parameters": { + "destination_offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "drop_direction": { + "choices": [ + { + "label": "FRONT", + "value": 1 + }, + { + "label": "BACK", + "value": 2 + }, + { + "label": "LEFT", + "value": 3 + }, + { + "label": "RIGHT", + "value": 4 + } + ], + "default": "FRONT", + "options": [ + 1, + 2, + 3, + 4 + ], + "required": false, + "type": "GripDirection" + }, + "intermediate_locations": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "pickup_direction": { + "choices": [ + { + "label": "FRONT", + "value": 1 + }, + { + "label": "BACK", + "value": 2 + }, + { + "label": "LEFT", + "value": 3 + }, + { + "label": "RIGHT", + "value": 4 + } + ], + "default": "FRONT", + "options": [ + 1, + 2, + 3, + 4 + ], + "required": false, + "type": "GripDirection" + }, + "pickup_distance_from_top": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "pickup_offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "resource": { + "labware": [ + "plate", + "reservoir", + "tip_rack", + "tube_rack" + ], + "options": [ + "reservoir", + "assay_plate", + "sample_plate" + ], + "required": true, + "type": "str" + }, + "to": { + "labware_site": true, + "options": [ + "plate_carrier-0", + "plate_carrier-1", + "plate_carrier-2" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_tips": { + "accepts_kwargs": false, + "description": "Move tips from one tip rack to another.\n\n(PyLabRobot: LiquidHandler.move_tips)", + "is_coroutine": false, + "parameters": { + "dest_tip_spots": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "tip_rack" + ] + } + }, + "source_tip_spots": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "tip_rack" + ] + } + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "pick_up_resource": { + "accepts_kwargs": true, + "description": "PyLabRobot: LiquidHandler.pick_up_resource", + "is_coroutine": false, + "parameters": { + "direction": { + "choices": [ + { + "label": "FRONT", + "value": 1 + }, + { + "label": "BACK", + "value": 2 + }, + { + "label": "LEFT", + "value": 3 + }, + { + "label": "RIGHT", + "value": 4 + } + ], + "default": "FRONT", + "options": [ + 1, + 2, + 3, + 4 + ], + "required": false, + "type": "GripDirection" + }, + "offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "pickup_distance_from_top": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "resource": { + "labware": [ + "plate", + "reservoir", + "tip_rack", + "tube_rack" + ], + "options": [ + "reservoir", + "assay_plate", + "sample_plate" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "pick_up_tips": { + "accepts_kwargs": true, + "description": "Pick up tips from a resource.\n\n(PyLabRobot: LiquidHandler.pick_up_tips)", + "is_coroutine": false, + "parameters": { + "offsets": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "tip_spots": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "tip_rack" + ] + } + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "pick_up_tips96": { + "accepts_kwargs": true, + "description": "Pick up tips using the 96 head. This will pick up 96 tips.\n\n(PyLabRobot: LiquidHandler.pick_up_tips96)", + "is_coroutine": false, + "parameters": { + "offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "tip_rack": { + "labware": [ + "tip_rack" + ], + "options": [], + "required": true, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "prepare_for_manual_channel_operation": { + "accepts_kwargs": false, + "description": "PyLabRobot: LiquidHandler.prepare_for_manual_channel_operation", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "probe_tip_inventory": { + "accepts_kwargs": false, + "description": "Probe the presence of tips in multiple tip spots.\n\n(PyLabRobot: LiquidHandler.probe_tip_inventory)", + "is_coroutine": false, + "parameters": { + "tip_spots": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "tip_rack" + ] + } + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + } + }, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, Any]", + "value_type": { + "type": "Any" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, Any]" + } + ], + "return_type": "Dict[str, Any]" + }, + "probe_tip_presence_via_pickup": { + "accepts_kwargs": false, + "description": "Probe tip presence by attempting pickup on each TipSpot.\n\n(PyLabRobot: LiquidHandler.probe_tip_presence_via_pickup)", + "is_coroutine": false, + "parameters": { + "tip_spots": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "tip_rack" + ] + } + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + } + }, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, Any]", + "value_type": { + "type": "Any" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, Any]" + } + ], + "return_type": "Dict[str, Any]" + }, + "read_volumes": { + "accepts_kwargs": false, + "description": "The volume tracked in each well (µL), by `plate[well]`. (PyLabRobot:\n`well.tracker.get_used_volume()`.)", + "is_coroutine": false, + "parameters": { + "resources": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + } + }, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, float]", + "value_type": { + "numeric": true, + "type": "float" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, float]" + } + ], + "return_type": "Dict[str, float]" + }, + "return_tips": { + "accepts_kwargs": true, + "description": "Return all tips that are currently picked up to their original place.\n\n(PyLabRobot: LiquidHandler.return_tips)", + "is_coroutine": false, + "parameters": { + "allow_nonzero_volume": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "offsets": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "return_tips96": { + "accepts_kwargs": true, + "description": "Return the tips on the 96 head to the tip rack where they were picked up.\n\n(PyLabRobot: LiquidHandler.return_tips96)", + "is_coroutine": false, + "parameters": { + "allow_nonzero_volume": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "setup": { + "accepts_kwargs": false, + "description": "Connect and set up the robot. Any other step does this itself the first time.\n(PyLabRobot: LiquidHandler.setup)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "stamp": { + "accepts_kwargs": false, + "description": "Stamp (aspiration and dispense) one plate onto another.\n\n(PyLabRobot: LiquidHandler.stamp)", + "is_coroutine": false, + "parameters": { + "aspiration_flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "dispense_flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "source": { + "labware": [ + "plate", + "reservoir" + ], + "options": [ + "reservoir", + "assay_plate", + "sample_plate" + ], + "required": true, + "type": "str" + }, + "target": { + "labware": [ + "plate", + "reservoir" + ], + "options": [ + "reservoir", + "assay_plate", + "sample_plate" + ], + "required": true, + "type": "str" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "stop": { + "accepts_kwargs": false, + "description": "Put the robot down. The next step sets it up again. (PyLabRobot: LiquidHandler.stop)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "summary": { + "accepts_kwargs": false, + "description": "Prints a string summary of the deck layout.\n\n(PyLabRobot: LiquidHandler.summary)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "tips_left": { + "accepts_kwargs": false, + "description": "How many unused tips the rack still has.", + "is_coroutine": false, + "parameters": { + "tip_rack": { + "labware": [ + "tip_rack" + ], + "options": [], + "required": true, + "type": "str" + } + }, + "return_info": { + "numeric": true, + "required": true, + "type": "int" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "int" + } + ], + "return_type": "int" + }, + "transfer": { + "accepts_kwargs": true, + "description": "Transfer liquid from one well to another.\n\n(PyLabRobot: LiquidHandler.transfer)", + "is_coroutine": false, + "parameters": { + "aspiration_flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "dispense_flow_rates": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "optional": true, + "type": "Optional[float]" + }, + "optional": true, + "required": false, + "type": "Optional[List[Optional[float]]]" + }, + "ratios": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "source": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir" + ] + } + }, + "source_vol": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "target_vols": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "targets": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir" + ] + } + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + } + }, + "Flex": { + "add_comment": { + "accepts_kwargs": false, + "description": "Record ``message`` in the run's command log; the robot does nothing else with it.\n\n(PyLabRobot: Flex.add_comment)", + "is_coroutine": false, + "parameters": { + "message": { + "required": true, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "equipment": { + "description": "", + "has_setter": false, + "is_coroutine": false, + "is_property": true, + "parameters": {}, + "property_access": "get", + "property_name": "equipment", + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, Any]", + "value_type": { + "type": "Any" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, Any]" + } + ], + "return_type": "Dict[str, Any]" + }, + "get_health": { + "accepts_kwargs": false, + "description": "Read fresh robot health without creating a run.\n\n(PyLabRobot: Flex.get_health)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, Any]", + "value_type": { + "type": "Any" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, Any]" + } + ], + "return_type": "Dict[str, Any]" + }, + "get_instruments": { + "accepts_kwargs": false, + "description": "Read physical instruments before setup, without loading them into a run.\n\n(PyLabRobot: Flex.get_instruments)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "home": { + "accepts_kwargs": false, + "description": "Home all axes. The gantry moves to the rear-left-top.\n\n(PyLabRobot: Flex.home)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, Any]", + "value_type": { + "type": "Any" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, Any]" + } + ], + "return_type": "Dict[str, Any]" + }, + "labware_moved_off_deck": { + "accepts_kwargs": false, + "description": "Tell the robot an EXTERNAL agent (human or lab transporter) removed labware.\n\n(PyLabRobot: Flex.labware_moved_off_deck)", + "is_coroutine": false, + "parameters": { + "resource": { + "labware": [ + "plate", + "reservoir", + "tip_rack", + "tube_rack" + ], + "options": [ + "assay_plate", + "sample_plate", + "tips", + "reservoir", + "tips_b" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "list_connected_modules": { + "accepts_kwargs": false, + "description": "Read module identities without loading them into a run.\n\n(PyLabRobot: Flex.list_connected_modules)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "load_liquid": { + "accepts_kwargs": false, + "description": "Record what a person put on the worktable: this liquid, this much (µL), in these wells.\nNothing moves. (Not a PyLabRobot step: there it is `well.tracker.set_volume`.)", + "is_coroutine": false, + "parameters": { + "liquid": { + "required": true, + "type": "str" + }, + "resources": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "vols": { + "numeric": true, + "per_well": "resources", + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_axes_relative": { + "accepts_kwargs": false, + "description": "Jog the named axes by distances (mm) from where they are, returning where they land.\n\n(PyLabRobot: Flex.move_axes_relative)", + "is_coroutine": false, + "parameters": { + "axis_map": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, float]", + "value_type": { + "numeric": true, + "type": "float" + } + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, Any]", + "value_type": { + "type": "Any" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, Any]" + } + ], + "return_type": "Dict[str, Any]" + }, + "move_axes_to": { + "accepts_kwargs": false, + "description": "Move the named axes to absolute deck-frame positions (mm), returning where they land.\n\n(PyLabRobot: Flex.move_axes_to)", + "is_coroutine": false, + "parameters": { + "axis_map": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, float]", + "value_type": { + "numeric": true, + "type": "float" + } + }, + "critical_point": { + "default": null, + "is_mapping": true, + "key_type": { + "type": "str" + }, + "optional": true, + "required": false, + "type": "Optional[Dict[str, float]]", + "value_type": { + "numeric": true, + "type": "float" + } + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, Any]", + "value_type": { + "type": "Any" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, Any]" + } + ], + "return_type": "Dict[str, Any]" + }, + "read_volumes": { + "accepts_kwargs": false, + "description": "The volume tracked in each well (µL), by `plate[well]`. (PyLabRobot:\n`well.tracker.get_used_volume()`.)", + "is_coroutine": false, + "parameters": { + "resources": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + } + }, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, float]", + "value_type": { + "numeric": true, + "type": "float" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, float]" + } + ], + "return_type": "Dict[str, float]" + }, + "reload_labware": { + "accepts_kwargs": false, + "description": "Re-read the labware's position after a human moved it in its own slot.\n\n(PyLabRobot: Flex.reload_labware)", + "is_coroutine": false, + "parameters": { + "resource": { + "labware": [ + "plate", + "reservoir", + "tip_rack", + "tube_rack" + ], + "options": [ + "assay_plate", + "sample_plate", + "tips", + "reservoir", + "tips_b" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "retract_axis": { + "accepts_kwargs": false, + "description": "Retract ``axis`` to its home position, clearing the deck below it.\n\n(PyLabRobot: Flex.retract_axis)", + "is_coroutine": false, + "parameters": { + "axis": { + "required": true, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "send_command": { + "accepts_kwargs": false, + "description": "Send any robot command by name, for the parts of the robot this class does not wrap.\n\n(PyLabRobot: Flex.send_command)", + "is_coroutine": false, + "parameters": { + "command_type": { + "required": true, + "type": "str" + }, + "params": { + "default": null, + "is_mapping": true, + "key_type": { + "type": "str" + }, + "optional": true, + "required": false, + "type": "Optional[Dict[str, Any]]", + "value_type": { + "type": "Any" + } + }, + "timeout": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "wait": { + "default": true, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + } + }, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, Any]", + "value_type": { + "type": "Any" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, Any]" + } + ], + "return_type": "Dict[str, Any]" + }, + "set_rail_lights": { + "accepts_kwargs": false, + "description": "Turn the deck rail lights on or off.\n\n(PyLabRobot: Flex.set_rail_lights)", + "is_coroutine": false, + "parameters": { + "on": { + "options": [ + "True", + "False" + ], + "required": true, + "type": "bool" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "set_status_bar": { + "accepts_kwargs": false, + "description": "Play a built-in light-bar animation: \"idle\", \"confirm\", \"updating\", \"disco\" or \"off\".\n\n(PyLabRobot: Flex.set_status_bar)", + "is_coroutine": false, + "parameters": { + "animation": { + "required": true, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "setup": { + "accepts_kwargs": false, + "description": "Connect, start a session, home (unless skip_home) and find what is mounted, checking it\nagainst the worktable file. Any other step does this itself the first time. (PyLabRobot:\nFlex.setup)", + "is_coroutine": false, + "parameters": { + "skip_home": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "stop": { + "accepts_kwargs": false, + "description": "Discard any mounted tips, park the gantry and hand the robot back to its touchscreen.\nThe next step sets it up again. (PyLabRobot: Flex.stop)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "summary": { + "accepts_kwargs": false, + "description": "PyLabRobot's text summary of the worktable.", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "str" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "str" + } + ], + "return_type": "str" + }, + "sync_tips_to_robot": { + "accepts_kwargs": false, + "description": "Make the robot's tip-rack model agree with PyLabRobot's.\n\n(PyLabRobot: Flex.sync_tips_to_robot)", + "is_coroutine": false, + "parameters": { + "tip_rack": { + "labware": [ + "tip_rack" + ], + "options": [ + "tips", + "tips_b" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "tips_left": { + "accepts_kwargs": false, + "description": "How many unused tips the rack still has.", + "is_coroutine": false, + "parameters": { + "tip_rack": { + "labware": [ + "tip_rack" + ], + "options": [ + "tips", + "tips_b" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "numeric": true, + "required": true, + "type": "int" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "int" + } + ], + "return_type": "int" + }, + "wait_for_duration": { + "accepts_kwargs": false, + "description": "Hold the run for ``seconds`` before the next command runs.\n\n(PyLabRobot: Flex.wait_for_duration)", + "is_coroutine": false, + "parameters": { + "seconds": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + } + }, + "FlexGripperPart": { + "grip": { + "accepts_kwargs": false, + "description": "Close the gripper jaw around whatever sits between its paddles.\n\n(PyLabRobot: FlexGripper.grip)", + "is_coroutine": false, + "parameters": { + "force": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_labware": { + "accepts_kwargs": false, + "description": "Move ``resource`` from its current deck slot to ``to_slot`` with the gripper.\n\n(PyLabRobot: FlexGripper.move_labware)", + "is_coroutine": false, + "parameters": { + "grip_distance_from_top": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "resource": { + "labware": [ + "plate", + "reservoir", + "tip_rack", + "tube_rack" + ], + "options": [ + "assay_plate", + "sample_plate", + "tips", + "reservoir", + "tips_b" + ], + "required": true, + "type": "str" + }, + "to_slot": { + "labware_site": true, + "options": [ + "D1", + "D2", + "D3", + "C1", + "C2", + "C3", + "B1", + "B2", + "B3", + "A1", + "A2", + "D4", + "C4", + "B4", + "A4" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_to_position": { + "accepts_kwargs": false, + "description": "Move the gripper to an absolute deck-frame position, in mm.\n\n(PyLabRobot: FlexGripper.move_to_position)", + "is_coroutine": false, + "parameters": { + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "x": { + "numeric": true, + "required": true, + "type": "float" + }, + "y": { + "numeric": true, + "required": true, + "type": "float" + }, + "z": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "open_jaw": { + "accepts_kwargs": false, + "description": "Open the gripper jaw -- the robot opens by HOMING the jaw to fully open.\n\n(PyLabRobot: FlexGripper.open_jaw)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "ungrip": { + "accepts_kwargs": false, + "description": "Open the gripper jaw (homing it) to release any held labware.\n\n(PyLabRobot: FlexGripper.ungrip)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + } + }, + "FlexPipette1": { + "air_gap_in_place": { + "accepts_kwargs": false, + "description": "Draw a ``volume`` uL air gap where the head already is -- one ``airGapInPlace`` command.\n\n(PyLabRobot: FlexHead1.air_gap_in_place)", + "is_coroutine": false, + "parameters": { + "flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "aspirate": { + "accepts_kwargs": false, + "description": "Aspirate from a well or single-cavity container using PLR coordinates and in-place aspiration.\n\n(PyLabRobot: FlexHead1.aspirate)", + "is_coroutine": false, + "parameters": { + "flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "liquid_height": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "offset": { + "default": null, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + }, + "target": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "aspirate_in_place": { + "accepts_kwargs": false, + "description": "Aspirate ``volume`` uL where the head already is -- one ``aspirateInPlace`` command.\n\n(PyLabRobot: FlexHead1.aspirate_in_place)", + "is_coroutine": false, + "parameters": { + "flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "blow_out": { + "accepts_kwargs": false, + "description": "Blow out at the current position -- one ``blowOutInPlace`` command.\n\n(PyLabRobot: FlexHead1.blow_out)", + "is_coroutine": false, + "parameters": { + "flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "configure_for_volume": { + "accepts_kwargs": false, + "description": "Put the pipette in the volume mode that suits ``volume`` uL.\n\n(PyLabRobot: FlexHead1.configure_for_volume)", + "is_coroutine": false, + "parameters": { + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "default_flow_rates": { + "accepts_kwargs": false, + "description": "The robot's own defaults for this pipette and the tip currently on it.\n\n(PyLabRobot: FlexHead1.default_flow_rates)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, Any]", + "value_type": { + "type": "Any" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, Any]" + } + ], + "return_type": "Dict[str, Any]" + }, + "discard_tips": { + "accepts_kwargs": false, + "description": "Discard the mounted tip into the trash.\n\n(PyLabRobot: FlexHead1.discard_tips)", + "is_coroutine": false, + "parameters": { + "trash": { + "default": "trash", + "labware": [ + "trash" + ], + "options": [ + "trash" + ], + "required": false, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "dispense": { + "accepts_kwargs": false, + "description": "Dispense to a well or single-cavity container using PLR coordinates and in-place dispensing.\n\n(PyLabRobot: FlexHead1.dispense)", + "is_coroutine": false, + "parameters": { + "flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "liquid_height": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "offset": { + "default": null, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + }, + "target": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "dispense_in_place": { + "accepts_kwargs": false, + "description": "Dispense ``volume`` uL where the head already is -- one ``dispenseInPlace`` command.\n\n(PyLabRobot: FlexHead1.dispense_in_place)", + "is_coroutine": false, + "parameters": { + "flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "push_out": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "drop_tips": { + "accepts_kwargs": false, + "description": "Drop the mounted tip -- one wire command naming ``target``.\n\n(PyLabRobot: FlexHead1.drop_tips)", + "is_coroutine": false, + "parameters": { + "target": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "tip_rack", + "trash" + ] + } + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "get_mounted_tips": { + "accepts_kwargs": false, + "description": "Per-channel tip state (Case-2: no private-attribute peeking by consumers).\n\n(PyLabRobot: FlexHead1.get_mounted_tips)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "has_tip_on_hardware": { + "accepts_kwargs": false, + "description": "Query the Flex's hardware tip-presence sensor for THIS head's pipette.\n\n(PyLabRobot: FlexHead1.has_tip_on_hardware)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "optional": true, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "bool" + } + ], + "return_type": "Optional[bool]" + }, + "move_relative": { + "accepts_kwargs": false, + "description": "Jog one axis by ``distance`` mm from wherever the head is now.\n\n(PyLabRobot: FlexHead1.move_relative)", + "is_coroutine": false, + "parameters": { + "axis": { + "required": true, + "type": "str" + }, + "distance": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_to_addressable_area": { + "accepts_kwargs": false, + "description": "Move to a named fixture on the deck rather than to labware.\n\n(PyLabRobot: FlexHead1.move_to_addressable_area)", + "is_coroutine": false, + "parameters": { + "addressable_area_name": { + "required": true, + "type": "str" + }, + "minimum_z_height": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "offset": { + "default": null, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "stay_at_max_height": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_to_position": { + "accepts_kwargs": false, + "description": "Move the head to an absolute deck-frame position, holding any axis left\nunspecified -- ONE ``moveToCoordinates`` command.\n\n(PyLabRobot: FlexHead1.move_to_position)", + "is_coroutine": false, + "parameters": { + "minimum_z_height": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "x": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "y": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "z": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_to_safe_z": { + "accepts_kwargs": false, + "description": "Raise the tip or nozzle to traversal height; never lower or move laterally.\n\n(PyLabRobot: FlexHead1.move_to_safe_z)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_to_well": { + "accepts_kwargs": false, + "description": "Move to a well, named rather than measured -- ONE ``moveToWell`` command.\n\n(PyLabRobot: FlexHead1.move_to_well)", + "is_coroutine": false, + "parameters": { + "minimum_z_height": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "offset": { + "default": null, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + }, + "origin": { + "default": "top", + "required": false, + "type": "str" + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "target": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tip_rack", + "tube_rack" + ] + } + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "pick_up_tips": { + "accepts_kwargs": false, + "description": "Pick up one tip -- one ``pickUpTip`` command naming ``tip_spot``.\n\n(PyLabRobot: FlexHead1.pick_up_tips)", + "is_coroutine": false, + "parameters": { + "offset": { + "default": null, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + }, + "tip_spot": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "tip_rack" + ] + } + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "prepare_to_aspirate": { + "accepts_kwargs": false, + "description": "Move the plunger to where an aspirate starts from (\"priming\"). Tip OUT of the liquid.\n\n(PyLabRobot: FlexHead1.prepare_to_aspirate)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "probe_liquid_heights": { + "accepts_kwargs": false, + "description": "Probe downward in ``well`` until the pressure sensor detects liquid; return its z (mm).\n\n(PyLabRobot: FlexHead1.probe_liquid_heights)", + "is_coroutine": false, + "parameters": { + "well": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir" + ] + } + } + }, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "request_position": { + "accepts_kwargs": false, + "description": "The head's current deck-frame position -- one ``savePosition`` query.\n\n(PyLabRobot: FlexHead1.request_position)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": true, + "type": "Coordinate" + }, + "return_paths": [ + { + "numeric": true, + "path": "x", + "type": "float" + }, + { + "numeric": true, + "path": "y", + "type": "float" + }, + { + "numeric": true, + "path": "z", + "type": "float" + } + ], + "return_type": "Coordinate" + }, + "request_tip_presence": { + "accepts_kwargs": false, + "description": "Read this head's tip sensor: \"present\", \"absent\" or \"unknown\".\n\n(PyLabRobot: FlexHead1.request_tip_presence)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "optional": true, + "required": false, + "type": "Optional[str]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Optional[str]" + } + ], + "return_type": "Optional[str]" + }, + "touch_tip": { + "accepts_kwargs": false, + "description": "Touch the mounted tip to the sides of ``well`` -- one ``touchTip`` command.\n\n(PyLabRobot: FlexHead1.touch_tip)", + "is_coroutine": false, + "parameters": { + "offset": { + "default": null, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + }, + "radius": { + "default": 1.0, + "numeric": true, + "required": false, + "type": "float" + }, + "well": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir" + ] + } + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "try_probe_liquid_heights": { + "accepts_kwargs": false, + "description": "Like ``probe_liquid_heights`` but return ``None`` instead of raising when no liquid is found.\n\n(PyLabRobot: FlexHead1.try_probe_liquid_heights)", + "is_coroutine": false, + "parameters": { + "well": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir" + ] + } + } + }, + "return_info": { + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "Optional[float]" + } + ], + "return_type": "Optional[float]" + }, + "unsafe_blow_out_in_place": { + "accepts_kwargs": false, + "description": "Blow out where the head is, skipping the engine's own checks.\n\n(PyLabRobot: FlexHead1.unsafe_blow_out_in_place)", + "is_coroutine": false, + "parameters": { + "flow_rate": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "unsafe_drop_tip_in_place": { + "accepts_kwargs": false, + "description": "Drop the mounted tip where the head is, skipping the engine's own checks.\n\n(PyLabRobot: FlexHead1.unsafe_drop_tip_in_place)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "verify_tip_presence": { + "accepts_kwargs": false, + "description": "Have the robot fail the command unless its tip sensor reads ``expected_state``.\n\n(PyLabRobot: FlexHead1.verify_tip_presence)", + "is_coroutine": false, + "parameters": { + "expected_state": { + "options": [ + "True", + "False" + ], + "required": true, + "type": "bool" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + } + }, + "FlexPipette8": { + "air_gap_in_place": { + "accepts_kwargs": false, + "description": "Draw a ``volume`` uL air gap where the head already is -- one ``airGapInPlace`` command.\n\n(PyLabRobot: FlexHead8.air_gap_in_place)", + "is_coroutine": false, + "parameters": { + "flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "aspirate": { + "accepts_kwargs": false, + "description": "Aspirate ``volume`` uL from ``target`` using PLR coordinates and in-place aspiration.\n\n(PyLabRobot: FlexHead8.aspirate)", + "is_coroutine": false, + "parameters": { + "column": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "liquid_height": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "offset": { + "default": null, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + }, + "pre_mix": { + "default": null, + "fields": { + "auto_surface_following": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "flow_rate": { + "numeric": true, + "required": true, + "type": "float" + }, + "repetitions": { + "numeric": true, + "required": true, + "type": "int" + }, + "surface_following_distance": { + "default": 0.0, + "numeric": true, + "required": false, + "type": "float" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Mix" + }, + "target": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "aspirate_container": { + "accepts_kwargs": false, + "description": "Aspirate ``volume`` uL per channel from one single-cavity container.\n\n(PyLabRobot: FlexHead8.aspirate_container)", + "is_coroutine": false, + "parameters": { + "container": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "liquid_height": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "offset": { + "default": null, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + }, + "pre_mix": { + "default": null, + "fields": { + "auto_surface_following": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "flow_rate": { + "numeric": true, + "required": true, + "type": "float" + }, + "repetitions": { + "numeric": true, + "required": true, + "type": "int" + }, + "surface_following_distance": { + "default": 0.0, + "numeric": true, + "required": false, + "type": "float" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Mix" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "aspirate_in_place": { + "accepts_kwargs": false, + "description": "Aspirate ``volume`` uL where the head already is -- one ``aspirateInPlace`` command.\n\n(PyLabRobot: FlexHead8.aspirate_in_place)", + "is_coroutine": false, + "parameters": { + "flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "aspirate_single": { + "accepts_kwargs": false, + "description": "Aspirate a single well with the currently mounted single tip.\n\n(PyLabRobot: FlexHead8.aspirate_single)", + "is_coroutine": false, + "parameters": { + "flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "plate": { + "labware": [ + "plate", + "reservoir" + ], + "options": [ + "assay_plate", + "sample_plate", + "reservoir" + ], + "required": true, + "type": "str" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + }, + "well": { + "required": true, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "blow_out": { + "accepts_kwargs": false, + "description": "Blow out at the current position -- one ``blowOutInPlace`` command.\n\n(PyLabRobot: FlexHead8.blow_out)", + "is_coroutine": false, + "parameters": { + "flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "configure_for_volume": { + "accepts_kwargs": false, + "description": "Put the pipette in the volume mode that suits ``volume`` uL.\n\n(PyLabRobot: FlexHead8.configure_for_volume)", + "is_coroutine": false, + "parameters": { + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "default_flow_rates": { + "accepts_kwargs": false, + "description": "The robot's own defaults for this pipette and the tip currently on it.\n\n(PyLabRobot: FlexHead8.default_flow_rates)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, Any]", + "value_type": { + "type": "Any" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, Any]" + } + ], + "return_type": "Dict[str, Any]" + }, + "discard_tips": { + "accepts_kwargs": false, + "description": "Discard the mounted column of tips into the trash.\n\n(PyLabRobot: FlexHead8.discard_tips)", + "is_coroutine": false, + "parameters": { + "trash": { + "default": "trash", + "labware": [ + "trash" + ], + "options": [ + "trash" + ], + "required": false, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "dispense": { + "accepts_kwargs": false, + "description": "Dispense ``volume`` uL into ``target`` using PLR coordinates and in-place dispensing.\n\n(PyLabRobot: FlexHead8.dispense)", + "is_coroutine": false, + "parameters": { + "column": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "liquid_height": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "offset": { + "default": null, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + }, + "post_mix": { + "default": null, + "fields": { + "auto_surface_following": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "flow_rate": { + "numeric": true, + "required": true, + "type": "float" + }, + "repetitions": { + "numeric": true, + "required": true, + "type": "int" + }, + "surface_following_distance": { + "default": 0.0, + "numeric": true, + "required": false, + "type": "float" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Mix" + }, + "target": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "dispense_container": { + "accepts_kwargs": false, + "description": "Dispense ``volume`` uL per channel into one single-cavity container.\n\n(PyLabRobot: FlexHead8.dispense_container)", + "is_coroutine": false, + "parameters": { + "container": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "liquid_height": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "offset": { + "default": null, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + }, + "post_mix": { + "default": null, + "fields": { + "auto_surface_following": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "flow_rate": { + "numeric": true, + "required": true, + "type": "float" + }, + "repetitions": { + "numeric": true, + "required": true, + "type": "int" + }, + "surface_following_distance": { + "default": 0.0, + "numeric": true, + "required": false, + "type": "float" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Mix" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "dispense_in_place": { + "accepts_kwargs": false, + "description": "Dispense ``volume`` uL where the head already is -- one ``dispenseInPlace`` command.\n\n(PyLabRobot: FlexHead8.dispense_in_place)", + "is_coroutine": false, + "parameters": { + "flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "push_out": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "dispense_single": { + "accepts_kwargs": false, + "description": "Dispense to a single well with the currently mounted single tip.\n\n(PyLabRobot: FlexHead8.dispense_single)", + "is_coroutine": false, + "parameters": { + "flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "plate": { + "labware": [ + "plate", + "reservoir" + ], + "options": [ + "assay_plate", + "sample_plate", + "reservoir" + ], + "required": true, + "type": "str" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + }, + "well": { + "required": true, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "drop_single_tip": { + "accepts_kwargs": false, + "description": "Drop the single mounted tip to trash and restore ALL nozzle mode.\n\n(PyLabRobot: FlexHead8.drop_single_tip)", + "is_coroutine": false, + "parameters": { + "trash": { + "default": "trash", + "labware": [ + "trash" + ], + "options": [ + "trash" + ], + "required": false, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "drop_tips": { + "accepts_kwargs": false, + "description": "Drop a full column of tips -- one wire command, fanned to 8 channels.\n\n(PyLabRobot: FlexHead8.drop_tips)", + "is_coroutine": false, + "parameters": { + "column": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "target": { + "labware": [ + "tip_rack", + "trash" + ], + "options": [ + "tips", + "tips_b", + "trash" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "get_mounted_tips": { + "accepts_kwargs": false, + "description": "Per-channel tip state (Case-2: no private-attribute peeking by consumers).\n\n(PyLabRobot: FlexHead8.get_mounted_tips)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "has_tip_on_hardware": { + "accepts_kwargs": false, + "description": "Query the Flex's hardware tip-presence sensor for THIS head's pipette.\n\n(PyLabRobot: FlexHead8.has_tip_on_hardware)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "optional": true, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "bool" + } + ], + "return_type": "Optional[bool]" + }, + "mix": { + "accepts_kwargs": false, + "description": "Mix a plate column in place, positioning and retracting only once.\n\n(PyLabRobot: FlexHead8.mix)", + "is_coroutine": false, + "parameters": { + "aspirate_flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "column": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "dispense_flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "final_push_out": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "liquid_height": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "offset": { + "default": null, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + }, + "repetitions": { + "default": 1, + "numeric": true, + "required": false, + "type": "int" + }, + "target": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir" + ] + } + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_relative": { + "accepts_kwargs": false, + "description": "Jog one axis by ``distance`` mm from wherever the head is now.\n\n(PyLabRobot: FlexHead8.move_relative)", + "is_coroutine": false, + "parameters": { + "axis": { + "required": true, + "type": "str" + }, + "distance": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_to_addressable_area": { + "accepts_kwargs": false, + "description": "Move to a named fixture on the deck rather than to labware.\n\n(PyLabRobot: FlexHead8.move_to_addressable_area)", + "is_coroutine": false, + "parameters": { + "addressable_area_name": { + "required": true, + "type": "str" + }, + "minimum_z_height": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "offset": { + "default": null, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "stay_at_max_height": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_to_position": { + "accepts_kwargs": false, + "description": "Move the head to an absolute deck-frame position, holding any axis left\nunspecified -- ONE ``moveToCoordinates`` command.\n\n(PyLabRobot: FlexHead8.move_to_position)", + "is_coroutine": false, + "parameters": { + "minimum_z_height": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "x": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "y": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "z": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_to_safe_z": { + "accepts_kwargs": false, + "description": "Raise the tip or nozzle to traversal height; never lower or move laterally.\n\n(PyLabRobot: FlexHead8.move_to_safe_z)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_to_well": { + "accepts_kwargs": false, + "description": "Move to a well, named rather than measured -- ONE ``moveToWell`` command.\n\n(PyLabRobot: FlexHead8.move_to_well)", + "is_coroutine": false, + "parameters": { + "minimum_z_height": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "offset": { + "default": null, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + }, + "origin": { + "default": "top", + "required": false, + "type": "str" + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "target": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tip_rack", + "tube_rack" + ] + } + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "pick_up_single_tip": { + "accepts_kwargs": false, + "description": "Pick up one tip in SINGLE nozzle mode, anchored on ``primary_nozzle``.\n\n(PyLabRobot: FlexHead8.pick_up_single_tip)", + "is_coroutine": false, + "parameters": { + "offset": { + "default": null, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + }, + "primary_nozzle": { + "default": "H1", + "required": false, + "type": "str" + }, + "tip_rack": { + "labware": [ + "tip_rack" + ], + "options": [ + "tips", + "tips_b" + ], + "required": true, + "type": "str" + }, + "well": { + "default": null, + "optional": true, + "required": false, + "type": "Optional[str]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "pick_up_tips": { + "accepts_kwargs": false, + "description": "Pick up tip(s), choosing the nozzle layout for this call.\n\n(PyLabRobot: FlexHead8.pick_up_tips)", + "is_coroutine": false, + "parameters": { + "column": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "offset": { + "default": null, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + }, + "primary_nozzle": { + "default": null, + "optional": true, + "required": false, + "type": "Optional[str]" + }, + "target": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "tip_rack" + ] + } + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "prepare_to_aspirate": { + "accepts_kwargs": false, + "description": "Move the plunger to where an aspirate starts from (\"priming\"). Tip OUT of the liquid.\n\n(PyLabRobot: FlexHead8.prepare_to_aspirate)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "probe_liquid_heights": { + "accepts_kwargs": false, + "description": "Probe for liquid in a column -- one ``liquidProbe`` command anchored at\nits rearmost well; return the found liquid z (mm).\n\n(PyLabRobot: FlexHead8.probe_liquid_heights)", + "is_coroutine": false, + "parameters": { + "column": { + "numeric": true, + "required": true, + "type": "int" + }, + "plate": { + "labware": [ + "plate", + "reservoir" + ], + "options": [ + "assay_plate", + "sample_plate", + "reservoir" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "reachable_single_nozzles": { + "accepts_kwargs": false, + "description": "The anchor nozzles that can address ``well`` where the labware currently sits.\n\n(PyLabRobot: FlexHead8.reachable_single_nozzles)", + "is_coroutine": false, + "parameters": { + "labware": { + "labware": [ + "plate", + "reservoir", + "tip_rack", + "tube_rack" + ], + "options": [ + "assay_plate", + "sample_plate", + "tips", + "reservoir", + "tips_b" + ], + "required": true, + "type": "str" + }, + "well": { + "required": true, + "type": "str" + } + }, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "request_position": { + "accepts_kwargs": false, + "description": "The head's current deck-frame position -- one ``savePosition`` query.\n\n(PyLabRobot: FlexHead8.request_position)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": true, + "type": "Coordinate" + }, + "return_paths": [ + { + "numeric": true, + "path": "x", + "type": "float" + }, + { + "numeric": true, + "path": "y", + "type": "float" + }, + { + "numeric": true, + "path": "z", + "type": "float" + } + ], + "return_type": "Coordinate" + }, + "request_tip_presence": { + "accepts_kwargs": false, + "description": "Read this head's tip sensor: \"present\", \"absent\" or \"unknown\".\n\n(PyLabRobot: FlexHead8.request_tip_presence)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "optional": true, + "required": false, + "type": "Optional[str]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Optional[str]" + } + ], + "return_type": "Optional[str]" + }, + "touch_tip": { + "accepts_kwargs": false, + "description": "Touch the mounted tips to their well walls -- one ``touchTip`` command\nanchored at the column's rearmost well.\n\n(PyLabRobot: FlexHead8.touch_tip)", + "is_coroutine": false, + "parameters": { + "column": { + "numeric": true, + "required": true, + "type": "int" + }, + "offset": { + "default": null, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + }, + "plate": { + "labware": [ + "plate", + "reservoir" + ], + "options": [ + "assay_plate", + "sample_plate", + "reservoir" + ], + "required": true, + "type": "str" + }, + "radius": { + "default": 1.0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "try_probe_liquid_heights": { + "accepts_kwargs": false, + "description": "Like ``probe_liquid_heights`` but return ``None`` instead of raising when no liquid is found.\n\n(PyLabRobot: FlexHead8.try_probe_liquid_heights)", + "is_coroutine": false, + "parameters": { + "column": { + "numeric": true, + "required": true, + "type": "int" + }, + "plate": { + "labware": [ + "plate", + "reservoir" + ], + "options": [ + "assay_plate", + "sample_plate", + "reservoir" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "Optional[float]" + } + ], + "return_type": "Optional[float]" + }, + "unsafe_blow_out_in_place": { + "accepts_kwargs": false, + "description": "Blow out where the head is, skipping the engine's own checks.\n\n(PyLabRobot: FlexHead8.unsafe_blow_out_in_place)", + "is_coroutine": false, + "parameters": { + "flow_rate": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "unsafe_drop_tip_in_place": { + "accepts_kwargs": false, + "description": "Drop the mounted tip where the head is, skipping the engine's own checks.\n\n(PyLabRobot: FlexHead8.unsafe_drop_tip_in_place)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "verify_tip_presence": { + "accepts_kwargs": false, + "description": "Have the robot fail the command unless its tip sensor reads ``expected_state``.\n\n(PyLabRobot: FlexHead8.verify_tip_presence)", + "is_coroutine": false, + "parameters": { + "expected_state": { + "options": [ + "True", + "False" + ], + "required": true, + "type": "bool" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + } + }, + "FlexPipette96": { + "air_gap_in_place": { + "accepts_kwargs": false, + "description": "Draw a ``volume`` uL air gap where the head already is -- one ``airGapInPlace`` command.\n\n(PyLabRobot: FlexHead96.air_gap_in_place)", + "is_coroutine": false, + "parameters": { + "flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "aspirate": { + "accepts_kwargs": false, + "description": "Aspirate a whole plate or one single-cavity container using PLR coordinates and in-place aspiration.\n\n(PyLabRobot: FlexHead96.aspirate)", + "is_coroutine": false, + "parameters": { + "flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "liquid_height": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "offset": { + "default": null, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + }, + "target": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "aspirate_in_place": { + "accepts_kwargs": false, + "description": "Aspirate ``volume`` uL where the head already is -- one ``aspirateInPlace`` command.\n\n(PyLabRobot: FlexHead96.aspirate_in_place)", + "is_coroutine": false, + "parameters": { + "flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "blow_out": { + "accepts_kwargs": false, + "description": "Blow out at the current position -- one ``blowOutInPlace`` command.\n\n(PyLabRobot: FlexHead96.blow_out)", + "is_coroutine": false, + "parameters": { + "flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "configure_for_volume": { + "accepts_kwargs": false, + "description": "Put the pipette in the volume mode that suits ``volume`` uL.\n\n(PyLabRobot: FlexHead96.configure_for_volume)", + "is_coroutine": false, + "parameters": { + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "default_flow_rates": { + "accepts_kwargs": false, + "description": "The robot's own defaults for this pipette and the tip currently on it.\n\n(PyLabRobot: FlexHead96.default_flow_rates)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, Any]", + "value_type": { + "type": "Any" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, Any]" + } + ], + "return_type": "Dict[str, Any]" + }, + "discard_tips": { + "accepts_kwargs": false, + "description": "Discard the mounted 96 tips into the trash.\n\n(PyLabRobot: FlexHead96.discard_tips)", + "is_coroutine": false, + "parameters": { + "trash": { + "default": "trash", + "labware": [ + "trash" + ], + "options": [ + "trash" + ], + "required": false, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "dispense": { + "accepts_kwargs": false, + "description": "Dispense to a whole plate or one single-cavity container using PLR coordinates and in-place dispensing.\n\n(PyLabRobot: FlexHead96.dispense)", + "is_coroutine": false, + "parameters": { + "flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "liquid_height": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "offset": { + "default": null, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + }, + "target": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "dispense_in_place": { + "accepts_kwargs": false, + "description": "Dispense ``volume`` uL where the head already is -- one ``dispenseInPlace`` command.\n\n(PyLabRobot: FlexHead96.dispense_in_place)", + "is_coroutine": false, + "parameters": { + "flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "push_out": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "drop_tips": { + "accepts_kwargs": false, + "description": "Drop all 96 tips -- one wire command, fanned to 96 channels.\n\n(PyLabRobot: FlexHead96.drop_tips)", + "is_coroutine": false, + "parameters": { + "target": { + "labware": [ + "tip_rack", + "trash" + ], + "options": [ + "tips", + "tips_b", + "trash" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "get_mounted_tips": { + "accepts_kwargs": false, + "description": "Per-channel tip state (Case-2: no private-attribute peeking by consumers).\n\n(PyLabRobot: FlexHead96.get_mounted_tips)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "has_tip_on_hardware": { + "accepts_kwargs": false, + "description": "Query the Flex's hardware tip-presence sensor for THIS head's pipette.\n\n(PyLabRobot: FlexHead96.has_tip_on_hardware)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "optional": true, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "bool" + } + ], + "return_type": "Optional[bool]" + }, + "move_relative": { + "accepts_kwargs": false, + "description": "Jog one axis by ``distance`` mm from wherever the head is now.\n\n(PyLabRobot: FlexHead96.move_relative)", + "is_coroutine": false, + "parameters": { + "axis": { + "required": true, + "type": "str" + }, + "distance": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_to_addressable_area": { + "accepts_kwargs": false, + "description": "Move to a named fixture on the deck rather than to labware.\n\n(PyLabRobot: FlexHead96.move_to_addressable_area)", + "is_coroutine": false, + "parameters": { + "addressable_area_name": { + "required": true, + "type": "str" + }, + "minimum_z_height": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "offset": { + "default": null, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "stay_at_max_height": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_to_position": { + "accepts_kwargs": false, + "description": "Move the head to an absolute deck-frame position, holding any axis left\nunspecified -- ONE ``moveToCoordinates`` command.\n\n(PyLabRobot: FlexHead96.move_to_position)", + "is_coroutine": false, + "parameters": { + "minimum_z_height": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "x": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "y": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "z": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_to_safe_z": { + "accepts_kwargs": false, + "description": "Raise the tip or nozzle to traversal height; never lower or move laterally.\n\n(PyLabRobot: FlexHead96.move_to_safe_z)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_to_well": { + "accepts_kwargs": false, + "description": "Move to a well, named rather than measured -- ONE ``moveToWell`` command.\n\n(PyLabRobot: FlexHead96.move_to_well)", + "is_coroutine": false, + "parameters": { + "minimum_z_height": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "offset": { + "default": null, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + }, + "origin": { + "default": "top", + "required": false, + "type": "str" + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "target": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tip_rack", + "tube_rack" + ] + } + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "pick_up_tips": { + "accepts_kwargs": false, + "description": "Pick up all 96 tips: ``configureNozzleLayout`` (ALL) then ONE ``pickUpTip``.\n\n(PyLabRobot: FlexHead96.pick_up_tips)", + "is_coroutine": false, + "parameters": { + "offset": { + "default": null, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + }, + "tip_rack": { + "labware": [ + "tip_rack" + ], + "options": [ + "tips", + "tips_b" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "prepare_to_aspirate": { + "accepts_kwargs": false, + "description": "Move the plunger to where an aspirate starts from (\"priming\"). Tip OUT of the liquid.\n\n(PyLabRobot: FlexHead96.prepare_to_aspirate)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "request_position": { + "accepts_kwargs": false, + "description": "The head's current deck-frame position -- one ``savePosition`` query.\n\n(PyLabRobot: FlexHead96.request_position)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": true, + "type": "Coordinate" + }, + "return_paths": [ + { + "numeric": true, + "path": "x", + "type": "float" + }, + { + "numeric": true, + "path": "y", + "type": "float" + }, + { + "numeric": true, + "path": "z", + "type": "float" + } + ], + "return_type": "Coordinate" + }, + "request_tip_presence": { + "accepts_kwargs": false, + "description": "Read this head's tip sensor: \"present\", \"absent\" or \"unknown\".\n\n(PyLabRobot: FlexHead96.request_tip_presence)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "optional": true, + "required": false, + "type": "Optional[str]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Optional[str]" + } + ], + "return_type": "Optional[str]" + }, + "touch_tip": { + "accepts_kwargs": false, + "description": "Touch the mounted tips to their well walls -- one ``touchTip`` command\nanchored at \"A1\", fanned to all 96 channels.\n\n(PyLabRobot: FlexHead96.touch_tip)", + "is_coroutine": false, + "parameters": { + "offset": { + "default": null, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + }, + "plate": { + "labware": [ + "plate", + "reservoir" + ], + "options": [ + "assay_plate", + "sample_plate", + "reservoir" + ], + "required": true, + "type": "str" + }, + "radius": { + "default": 1.0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "unsafe_blow_out_in_place": { + "accepts_kwargs": false, + "description": "Blow out where the head is, skipping the engine's own checks.\n\n(PyLabRobot: FlexHead96.unsafe_blow_out_in_place)", + "is_coroutine": false, + "parameters": { + "flow_rate": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "unsafe_drop_tip_in_place": { + "accepts_kwargs": false, + "description": "Drop the mounted tip where the head is, skipping the engine's own checks.\n\n(PyLabRobot: FlexHead96.unsafe_drop_tip_in_place)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "verify_tip_presence": { + "accepts_kwargs": false, + "description": "Have the robot fail the command unless its tip sensor reads ``expected_state``.\n\n(PyLabRobot: FlexHead96.verify_tip_presence)", + "is_coroutine": false, + "parameters": { + "expected_state": { + "options": [ + "True", + "False" + ], + "required": true, + "type": "bool" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + } + }, + "LiquidHandler": { + "aspirate": { + "accepts_kwargs": true, + "description": "Aspirate liquid from the specified wells.\n\n(PyLabRobot: LiquidHandler.aspirate)", + "is_coroutine": false, + "parameters": { + "blow_out_air_volume": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "optional": true, + "type": "Optional[float]" + }, + "optional": true, + "required": false, + "type": "Optional[List[Optional[float]]]" + }, + "flow_rates": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "optional": true, + "type": "Optional[float]" + }, + "optional": true, + "required": false, + "type": "Optional[List[Optional[float]]]" + }, + "liquid_height": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "optional": true, + "type": "Optional[float]" + }, + "optional": true, + "required": false, + "type": "Optional[List[Optional[float]]]" + }, + "mix": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "auto_surface_following": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "flow_rate": { + "numeric": true, + "required": true, + "type": "float" + }, + "repetitions": { + "numeric": true, + "required": true, + "type": "int" + }, + "surface_following_distance": { + "default": 0.0, + "numeric": true, + "required": false, + "type": "float" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "is_object": true, + "type": "Mix" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.lib.liquid_handling.mix.Mix]]" + }, + "offsets": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "resources": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "spread": { + "choices": [ + { + "label": "wide", + "value": "wide" + }, + { + "label": "tight", + "value": "tight" + }, + { + "label": "custom", + "value": "custom" + } + ], + "default": "wide", + "options": [ + "wide", + "tight", + "custom" + ], + "required": false, + "type": "Literal" + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + }, + "vols": { + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "required": true, + "type": "List[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "aspirate96": { + "accepts_kwargs": true, + "description": "Aspirate from all wells in a plate or from a container of a sufficient size.\n\n(PyLabRobot: LiquidHandler.aspirate96)", + "is_coroutine": false, + "parameters": { + "blow_out_air_volume": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "liquid_height": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "mix": { + "default": null, + "fields": { + "auto_surface_following": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "flow_rate": { + "numeric": true, + "required": true, + "type": "float" + }, + "repetitions": { + "numeric": true, + "required": true, + "type": "int" + }, + "surface_following_distance": { + "default": 0.0, + "numeric": true, + "required": false, + "type": "float" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Mix" + }, + "offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "resource": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "consolidate_tip_inventory": { + "accepts_kwargs": false, + "description": "Consolidate partially filled tip racks by redistributing tips of the same model.\n\n(PyLabRobot: LiquidHandler.consolidate_tip_inventory)", + "is_coroutine": false, + "parameters": { + "tip_racks": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "tip_rack" + ] + } + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "discard_tips": { + "accepts_kwargs": true, + "description": "Permanently discard tips in the trash.\n\n(PyLabRobot: LiquidHandler.discard_tips)", + "is_coroutine": false, + "parameters": { + "allow_nonzero_volume": { + "default": true, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "offsets": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "discard_tips96": { + "accepts_kwargs": true, + "description": "Permanently discard tips from the 96 head in the trash. This method only works when this\nLiquidHandler is configured with a deck that implements the `get_trash_area96` method.\nOtherwise, an `ImplementationError` will be raised.\n\n(PyLabRobot: LiquidHandler.discard_tips96)", + "is_coroutine": false, + "parameters": { + "allow_nonzero_volume": { + "default": true, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "dispense": { + "accepts_kwargs": true, + "description": "Dispense liquid to the specified channels.\n\n(PyLabRobot: LiquidHandler.dispense)", + "is_coroutine": false, + "parameters": { + "blow_out_air_volume": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "optional": true, + "type": "Optional[float]" + }, + "optional": true, + "required": false, + "type": "Optional[List[Optional[float]]]" + }, + "flow_rates": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "optional": true, + "type": "Optional[float]" + }, + "optional": true, + "required": false, + "type": "Optional[List[Optional[float]]]" + }, + "liquid_height": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "optional": true, + "type": "Optional[float]" + }, + "optional": true, + "required": false, + "type": "Optional[List[Optional[float]]]" + }, + "mix": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "auto_surface_following": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "flow_rate": { + "numeric": true, + "required": true, + "type": "float" + }, + "repetitions": { + "numeric": true, + "required": true, + "type": "int" + }, + "surface_following_distance": { + "default": 0.0, + "numeric": true, + "required": false, + "type": "float" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "is_object": true, + "type": "Mix" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.lib.liquid_handling.mix.Mix]]" + }, + "offsets": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "resources": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "spread": { + "choices": [ + { + "label": "wide", + "value": "wide" + }, + { + "label": "tight", + "value": "tight" + }, + { + "label": "custom", + "value": "custom" + } + ], + "default": "wide", + "options": [ + "wide", + "tight", + "custom" + ], + "required": false, + "type": "Literal" + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + }, + "vols": { + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "required": true, + "type": "List[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "dispense96": { + "accepts_kwargs": true, + "description": "Dispense to all wells in a plate.\n\n(PyLabRobot: LiquidHandler.dispense96)", + "is_coroutine": false, + "parameters": { + "blow_out_air_volume": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "liquid_height": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "mix": { + "default": null, + "fields": { + "auto_surface_following": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "flow_rate": { + "numeric": true, + "required": true, + "type": "float" + }, + "repetitions": { + "numeric": true, + "required": true, + "type": "int" + }, + "surface_following_distance": { + "default": 0.0, + "numeric": true, + "required": false, + "type": "float" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Mix" + }, + "offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "resource": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "drop_resource": { + "accepts_kwargs": true, + "description": "PyLabRobot: LiquidHandler.drop_resource", + "is_coroutine": false, + "parameters": { + "destination": { + "labware_site": true, + "options": [ + "tip_carrier-0", + "tip_carrier-1", + "tip_carrier-2", + "tip_carrier-3", + "tip_carrier-4", + "plate_carrier-0", + "plate_carrier-1", + "plate_carrier-2", + "plate_carrier-3", + "plate_carrier-4" + ], + "required": true, + "type": "str" + }, + "direction": { + "choices": [ + { + "label": "FRONT", + "value": 1 + }, + { + "label": "BACK", + "value": 2 + }, + { + "label": "LEFT", + "value": 3 + }, + { + "label": "RIGHT", + "value": 4 + } + ], + "default": "FRONT", + "options": [ + 1, + 2, + 3, + 4 + ], + "required": false, + "type": "GripDirection" + }, + "offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "drop_tips": { + "accepts_kwargs": true, + "description": "Drop tips to a resource.\n\n(PyLabRobot: LiquidHandler.drop_tips)", + "is_coroutine": false, + "parameters": { + "allow_nonzero_volume": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "offsets": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "tip_spots": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "tip_rack", + "trash" + ] + } + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "drop_tips96": { + "accepts_kwargs": true, + "description": "Drop tips using the 96 head. This will drop 96 tips.\n\n(PyLabRobot: LiquidHandler.drop_tips96)", + "is_coroutine": false, + "parameters": { + "allow_nonzero_volume": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "resource": { + "labware": [ + "tip_rack", + "trash" + ], + "options": [ + "teaching_tip_rack", + "tips", + "tips_b" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "get_mounted_tips": { + "accepts_kwargs": false, + "description": "Get the tips currently mounted on the head.\n\n(PyLabRobot: LiquidHandler.get_mounted_tips)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "get_picked_up_resource": { + "accepts_kwargs": false, + "description": "Get the resource that is currently picked up.\n\n(PyLabRobot: LiquidHandler.get_picked_up_resource)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "Any" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Any" + } + ], + "return_type": "Any" + }, + "load_liquid": { + "accepts_kwargs": false, + "description": "Record what a person put on the worktable: this liquid, this much (µL), in these wells.\nNothing moves. (Not a PyLabRobot step: there it is `well.tracker.set_volume`.)", + "is_coroutine": false, + "parameters": { + "liquid": { + "required": true, + "type": "str" + }, + "resources": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "vols": { + "numeric": true, + "per_well": "resources", + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_channel_x": { + "accepts_kwargs": false, + "description": "Move channel to absolute x position\n\n(PyLabRobot: LiquidHandler.move_channel_x)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + }, + "x": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_channel_y": { + "accepts_kwargs": false, + "description": "Move channel to absolute y position\n\n(PyLabRobot: LiquidHandler.move_channel_y)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + }, + "y": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_channel_z": { + "accepts_kwargs": false, + "description": "Move channel to absolute z position\n\n(PyLabRobot: LiquidHandler.move_channel_z)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + }, + "z": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_lid": { + "accepts_kwargs": true, + "description": "Move a lid to a new location.\n\n(PyLabRobot: LiquidHandler.move_lid)", + "is_coroutine": false, + "parameters": { + "destination_offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "drop_direction": { + "choices": [ + { + "label": "FRONT", + "value": 1 + }, + { + "label": "BACK", + "value": 2 + }, + { + "label": "LEFT", + "value": 3 + }, + { + "label": "RIGHT", + "value": 4 + } + ], + "default": "FRONT", + "options": [ + 1, + 2, + 3, + 4 + ], + "required": false, + "type": "GripDirection" + }, + "intermediate_locations": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "lid": { + "labware": [], + "options": [ + "teaching_tip_rack", + "tips", + "tips_b", + "reservoir", + "assay_plate", + "sample_plate" + ], + "required": true, + "type": "str" + }, + "pickup_direction": { + "choices": [ + { + "label": "FRONT", + "value": 1 + }, + { + "label": "BACK", + "value": 2 + }, + { + "label": "LEFT", + "value": 3 + }, + { + "label": "RIGHT", + "value": 4 + } + ], + "default": "FRONT", + "options": [ + 1, + 2, + 3, + 4 + ], + "required": false, + "type": "GripDirection" + }, + "pickup_distance_from_top": { + "default": 2.37, + "numeric": true, + "required": false, + "type": "float" + }, + "pickup_offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "to": { + "labware_site": true, + "options": [ + "tip_carrier-0", + "tip_carrier-1", + "tip_carrier-2", + "tip_carrier-3", + "tip_carrier-4", + "plate_carrier-0", + "plate_carrier-1", + "plate_carrier-2", + "plate_carrier-3", + "plate_carrier-4" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_picked_up_resource": { + "accepts_kwargs": true, + "description": "Move a resource that has been picked up to a new location.\n\n(PyLabRobot: LiquidHandler.move_picked_up_resource)", + "is_coroutine": false, + "parameters": { + "direction": { + "choices": [ + { + "label": "FRONT", + "value": 1 + }, + { + "label": "BACK", + "value": 2 + }, + { + "label": "LEFT", + "value": 3 + }, + { + "label": "RIGHT", + "value": 4 + } + ], + "default": null, + "optional": true, + "options": [ + 1, + 2, + 3, + 4 + ], + "required": false, + "type": "GripDirection" + }, + "offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "to": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": true, + "type": "Coordinate" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_plate": { + "accepts_kwargs": true, + "description": "Move a plate to a new location.\n\n(PyLabRobot: LiquidHandler.move_plate)", + "is_coroutine": false, + "parameters": { + "destination_offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "drop_direction": { + "choices": [ + { + "label": "FRONT", + "value": 1 + }, + { + "label": "BACK", + "value": 2 + }, + { + "label": "LEFT", + "value": 3 + }, + { + "label": "RIGHT", + "value": 4 + } + ], + "default": "FRONT", + "options": [ + 1, + 2, + 3, + 4 + ], + "required": false, + "type": "GripDirection" + }, + "intermediate_locations": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "pickup_direction": { + "choices": [ + { + "label": "FRONT", + "value": 1 + }, + { + "label": "BACK", + "value": 2 + }, + { + "label": "LEFT", + "value": 3 + }, + { + "label": "RIGHT", + "value": 4 + } + ], + "default": "FRONT", + "options": [ + 1, + 2, + 3, + 4 + ], + "required": false, + "type": "GripDirection" + }, + "pickup_distance_from_top": { + "default": 9.87, + "numeric": true, + "required": false, + "type": "float" + }, + "pickup_offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "plate": { + "labware": [ + "plate", + "reservoir", + "tip_rack", + "tube_rack" + ], + "options": [ + "teaching_tip_rack", + "tips", + "tips_b", + "reservoir", + "assay_plate", + "sample_plate" + ], + "required": true, + "type": "str" + }, + "to": { + "labware_site": true, + "options": [ + "tip_carrier-0", + "tip_carrier-1", + "tip_carrier-2", + "tip_carrier-3", + "tip_carrier-4", + "plate_carrier-0", + "plate_carrier-1", + "plate_carrier-2", + "plate_carrier-3", + "plate_carrier-4" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_resource": { + "accepts_kwargs": true, + "description": "Move a resource to a new location.\n\n(PyLabRobot: LiquidHandler.move_resource)", + "is_coroutine": false, + "parameters": { + "destination_offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "drop_direction": { + "choices": [ + { + "label": "FRONT", + "value": 1 + }, + { + "label": "BACK", + "value": 2 + }, + { + "label": "LEFT", + "value": 3 + }, + { + "label": "RIGHT", + "value": 4 + } + ], + "default": "FRONT", + "options": [ + 1, + 2, + 3, + 4 + ], + "required": false, + "type": "GripDirection" + }, + "intermediate_locations": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "pickup_direction": { + "choices": [ + { + "label": "FRONT", + "value": 1 + }, + { + "label": "BACK", + "value": 2 + }, + { + "label": "LEFT", + "value": 3 + }, + { + "label": "RIGHT", + "value": 4 + } + ], + "default": "FRONT", + "options": [ + 1, + 2, + 3, + 4 + ], + "required": false, + "type": "GripDirection" + }, + "pickup_distance_from_top": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "pickup_offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "resource": { + "labware": [ + "plate", + "reservoir", + "tip_rack", + "tube_rack" + ], + "options": [ + "teaching_tip_rack", + "tips", + "tips_b", + "reservoir", + "assay_plate", + "sample_plate" + ], + "required": true, + "type": "str" + }, + "to": { + "labware_site": true, + "options": [ + "tip_carrier-0", + "tip_carrier-1", + "tip_carrier-2", + "tip_carrier-3", + "tip_carrier-4", + "plate_carrier-0", + "plate_carrier-1", + "plate_carrier-2", + "plate_carrier-3", + "plate_carrier-4" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_tips": { + "accepts_kwargs": false, + "description": "Move tips from one tip rack to another.\n\n(PyLabRobot: LiquidHandler.move_tips)", + "is_coroutine": false, + "parameters": { + "dest_tip_spots": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "tip_rack" + ] + } + }, + "source_tip_spots": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "tip_rack" + ] + } + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "pick_up_resource": { + "accepts_kwargs": true, + "description": "PyLabRobot: LiquidHandler.pick_up_resource", + "is_coroutine": false, + "parameters": { + "direction": { + "choices": [ + { + "label": "FRONT", + "value": 1 + }, + { + "label": "BACK", + "value": 2 + }, + { + "label": "LEFT", + "value": 3 + }, + { + "label": "RIGHT", + "value": 4 + } + ], + "default": "FRONT", + "options": [ + 1, + 2, + 3, + 4 + ], + "required": false, + "type": "GripDirection" + }, + "offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "pickup_distance_from_top": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "resource": { + "labware": [ + "plate", + "reservoir", + "tip_rack", + "tube_rack" + ], + "options": [ + "teaching_tip_rack", + "tips", + "tips_b", + "reservoir", + "assay_plate", + "sample_plate" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "pick_up_tips": { + "accepts_kwargs": true, + "description": "Pick up tips from a resource.\n\n(PyLabRobot: LiquidHandler.pick_up_tips)", + "is_coroutine": false, + "parameters": { + "offsets": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "tip_spots": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "tip_rack" + ] + } + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "pick_up_tips96": { + "accepts_kwargs": true, + "description": "Pick up tips using the 96 head. This will pick up 96 tips.\n\n(PyLabRobot: LiquidHandler.pick_up_tips96)", + "is_coroutine": false, + "parameters": { + "offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "tip_rack": { + "labware": [ + "tip_rack" + ], + "options": [ + "teaching_tip_rack", + "tips", + "tips_b" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "prepare_for_manual_channel_operation": { + "accepts_kwargs": false, + "description": "PyLabRobot: LiquidHandler.prepare_for_manual_channel_operation", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "probe_tip_inventory": { + "accepts_kwargs": false, + "description": "Probe the presence of tips in multiple tip spots.\n\n(PyLabRobot: LiquidHandler.probe_tip_inventory)", + "is_coroutine": false, + "parameters": { + "tip_spots": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "tip_rack" + ] + } + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + } + }, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, Any]", + "value_type": { + "type": "Any" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, Any]" + } + ], + "return_type": "Dict[str, Any]" + }, + "probe_tip_presence_via_pickup": { + "accepts_kwargs": false, + "description": "Probe tip presence by attempting pickup on each TipSpot.\n\n(PyLabRobot: LiquidHandler.probe_tip_presence_via_pickup)", + "is_coroutine": false, + "parameters": { + "tip_spots": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "tip_rack" + ] + } + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + } + }, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, Any]", + "value_type": { + "type": "Any" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, Any]" + } + ], + "return_type": "Dict[str, Any]" + }, + "read_volumes": { + "accepts_kwargs": false, + "description": "The volume tracked in each well (µL), by `plate[well]`. (PyLabRobot:\n`well.tracker.get_used_volume()`.)", + "is_coroutine": false, + "parameters": { + "resources": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + } + }, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, float]", + "value_type": { + "numeric": true, + "type": "float" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, float]" + } + ], + "return_type": "Dict[str, float]" + }, + "return_tips": { + "accepts_kwargs": true, + "description": "Return all tips that are currently picked up to their original place.\n\n(PyLabRobot: LiquidHandler.return_tips)", + "is_coroutine": false, + "parameters": { + "allow_nonzero_volume": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "offsets": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "return_tips96": { + "accepts_kwargs": true, + "description": "Return the tips on the 96 head to the tip rack where they were picked up.\n\n(PyLabRobot: LiquidHandler.return_tips96)", + "is_coroutine": false, + "parameters": { + "allow_nonzero_volume": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "setup": { + "accepts_kwargs": false, + "description": "Connect and set up the robot. Any other step does this itself the first time.\n(PyLabRobot: LiquidHandler.setup)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "stamp": { + "accepts_kwargs": false, + "description": "Stamp (aspiration and dispense) one plate onto another.\n\n(PyLabRobot: LiquidHandler.stamp)", + "is_coroutine": false, + "parameters": { + "aspiration_flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "dispense_flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "source": { + "labware": [ + "plate", + "reservoir" + ], + "options": [ + "reservoir", + "assay_plate", + "sample_plate" + ], + "required": true, + "type": "str" + }, + "target": { + "labware": [ + "plate", + "reservoir" + ], + "options": [ + "reservoir", + "assay_plate", + "sample_plate" + ], + "required": true, + "type": "str" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "stop": { + "accepts_kwargs": false, + "description": "Put the robot down. The next step sets it up again. (PyLabRobot: LiquidHandler.stop)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "summary": { + "accepts_kwargs": false, + "description": "Prints a string summary of the deck layout.\n\n(PyLabRobot: LiquidHandler.summary)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "tips_left": { + "accepts_kwargs": false, + "description": "How many unused tips the rack still has.", + "is_coroutine": false, + "parameters": { + "tip_rack": { + "labware": [ + "tip_rack" + ], + "options": [ + "teaching_tip_rack", + "tips", + "tips_b" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "numeric": true, + "required": true, + "type": "int" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "int" + } + ], + "return_type": "int" + }, + "transfer": { + "accepts_kwargs": true, + "description": "Transfer liquid from one well to another.\n\n(PyLabRobot: LiquidHandler.transfer)", + "is_coroutine": false, + "parameters": { + "aspiration_flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "dispense_flow_rates": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "optional": true, + "type": "Optional[float]" + }, + "optional": true, + "required": false, + "type": "Optional[List[Optional[float]]]" + }, + "ratios": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "source": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir" + ] + } + }, + "source_vol": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "target_vols": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "targets": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir" + ] + } + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + } + }, + "Nimbus": { + "aspirate": { + "accepts_kwargs": true, + "description": "Aspirate liquid from the specified wells.\n\n(PyLabRobot: LiquidHandler.aspirate)", + "is_coroutine": false, + "parameters": { + "blow_out_air_volume": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "optional": true, + "type": "Optional[float]" + }, + "optional": true, + "required": false, + "type": "Optional[List[Optional[float]]]" + }, + "flow_rates": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "optional": true, + "type": "Optional[float]" + }, + "optional": true, + "required": false, + "type": "Optional[List[Optional[float]]]" + }, + "liquid_height": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "optional": true, + "type": "Optional[float]" + }, + "optional": true, + "required": false, + "type": "Optional[List[Optional[float]]]" + }, + "mix": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "auto_surface_following": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "flow_rate": { + "numeric": true, + "required": true, + "type": "float" + }, + "repetitions": { + "numeric": true, + "required": true, + "type": "int" + }, + "surface_following_distance": { + "default": 0.0, + "numeric": true, + "required": false, + "type": "float" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "is_object": true, + "type": "Mix" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.lib.liquid_handling.mix.Mix]]" + }, + "offsets": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "resources": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "spread": { + "choices": [ + { + "label": "wide", + "value": "wide" + }, + { + "label": "tight", + "value": "tight" + }, + { + "label": "custom", + "value": "custom" + } + ], + "default": "wide", + "options": [ + "wide", + "tight", + "custom" + ], + "required": false, + "type": "Literal" + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + }, + "vols": { + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "required": true, + "type": "List[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "aspirate96": { + "accepts_kwargs": true, + "description": "Aspirate from all wells in a plate or from a container of a sufficient size.\n\n(PyLabRobot: LiquidHandler.aspirate96)", + "is_coroutine": false, + "parameters": { + "blow_out_air_volume": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "liquid_height": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "mix": { + "default": null, + "fields": { + "auto_surface_following": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "flow_rate": { + "numeric": true, + "required": true, + "type": "float" + }, + "repetitions": { + "numeric": true, + "required": true, + "type": "int" + }, + "surface_following_distance": { + "default": 0.0, + "numeric": true, + "required": false, + "type": "float" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Mix" + }, + "offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "resource": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "consolidate_tip_inventory": { + "accepts_kwargs": false, + "description": "Consolidate partially filled tip racks by redistributing tips of the same model.\n\n(PyLabRobot: LiquidHandler.consolidate_tip_inventory)", + "is_coroutine": false, + "parameters": { + "tip_racks": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "tip_rack" + ] + } + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "discard_tips": { + "accepts_kwargs": true, + "description": "Permanently discard tips in the trash.\n\n(PyLabRobot: LiquidHandler.discard_tips)", + "is_coroutine": false, + "parameters": { + "allow_nonzero_volume": { + "default": true, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "offsets": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "discard_tips96": { + "accepts_kwargs": true, + "description": "Permanently discard tips from the 96 head in the trash. This method only works when this\nLiquidHandler is configured with a deck that implements the `get_trash_area96` method.\nOtherwise, an `ImplementationError` will be raised.\n\n(PyLabRobot: LiquidHandler.discard_tips96)", + "is_coroutine": false, + "parameters": { + "allow_nonzero_volume": { + "default": true, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "dispense": { + "accepts_kwargs": true, + "description": "Dispense liquid to the specified channels.\n\n(PyLabRobot: LiquidHandler.dispense)", + "is_coroutine": false, + "parameters": { + "blow_out_air_volume": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "optional": true, + "type": "Optional[float]" + }, + "optional": true, + "required": false, + "type": "Optional[List[Optional[float]]]" + }, + "flow_rates": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "optional": true, + "type": "Optional[float]" + }, + "optional": true, + "required": false, + "type": "Optional[List[Optional[float]]]" + }, + "liquid_height": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "optional": true, + "type": "Optional[float]" + }, + "optional": true, + "required": false, + "type": "Optional[List[Optional[float]]]" + }, + "mix": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "auto_surface_following": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "flow_rate": { + "numeric": true, + "required": true, + "type": "float" + }, + "repetitions": { + "numeric": true, + "required": true, + "type": "int" + }, + "surface_following_distance": { + "default": 0.0, + "numeric": true, + "required": false, + "type": "float" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "is_object": true, + "type": "Mix" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.lib.liquid_handling.mix.Mix]]" + }, + "offsets": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "resources": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "spread": { + "choices": [ + { + "label": "wide", + "value": "wide" + }, + { + "label": "tight", + "value": "tight" + }, + { + "label": "custom", + "value": "custom" + } + ], + "default": "wide", + "options": [ + "wide", + "tight", + "custom" + ], + "required": false, + "type": "Literal" + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + }, + "vols": { + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "required": true, + "type": "List[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "dispense96": { + "accepts_kwargs": true, + "description": "Dispense to all wells in a plate.\n\n(PyLabRobot: LiquidHandler.dispense96)", + "is_coroutine": false, + "parameters": { + "blow_out_air_volume": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "liquid_height": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "mix": { + "default": null, + "fields": { + "auto_surface_following": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "flow_rate": { + "numeric": true, + "required": true, + "type": "float" + }, + "repetitions": { + "numeric": true, + "required": true, + "type": "int" + }, + "surface_following_distance": { + "default": 0.0, + "numeric": true, + "required": false, + "type": "float" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Mix" + }, + "offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "resource": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "drop_resource": { + "accepts_kwargs": true, + "description": "PyLabRobot: LiquidHandler.drop_resource", + "is_coroutine": false, + "parameters": { + "destination": { + "labware_site": true, + "options": [ + "tip_carrier-0", + "tip_carrier-1", + "tip_carrier-2", + "tip_carrier-3", + "tip_carrier-4", + "plate_carrier-0", + "plate_carrier-1", + "plate_carrier-2", + "plate_carrier-3", + "plate_carrier-4" + ], + "required": true, + "type": "str" + }, + "direction": { + "choices": [ + { + "label": "FRONT", + "value": 1 + }, + { + "label": "BACK", + "value": 2 + }, + { + "label": "LEFT", + "value": 3 + }, + { + "label": "RIGHT", + "value": 4 + } + ], + "default": "FRONT", + "options": [ + 1, + 2, + 3, + 4 + ], + "required": false, + "type": "GripDirection" + }, + "offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "drop_tips": { + "accepts_kwargs": true, + "description": "Drop tips to a resource.\n\n(PyLabRobot: LiquidHandler.drop_tips)", + "is_coroutine": false, + "parameters": { + "allow_nonzero_volume": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "offsets": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "tip_spots": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "tip_rack", + "trash" + ] + } + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "drop_tips96": { + "accepts_kwargs": true, + "description": "Drop tips using the 96 head. This will drop 96 tips.\n\n(PyLabRobot: LiquidHandler.drop_tips96)", + "is_coroutine": false, + "parameters": { + "allow_nonzero_volume": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "resource": { + "labware": [ + "tip_rack", + "trash" + ], + "options": [ + "tips", + "tips_b" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "get_mounted_tips": { + "accepts_kwargs": false, + "description": "Get the tips currently mounted on the head.\n\n(PyLabRobot: LiquidHandler.get_mounted_tips)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "get_picked_up_resource": { + "accepts_kwargs": false, + "description": "Get the resource that is currently picked up.\n\n(PyLabRobot: LiquidHandler.get_picked_up_resource)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "Any" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Any" + } + ], + "return_type": "Any" + }, + "load_liquid": { + "accepts_kwargs": false, + "description": "Record what a person put on the worktable: this liquid, this much (µL), in these wells.\nNothing moves. (Not a PyLabRobot step: there it is `well.tracker.set_volume`.)", + "is_coroutine": false, + "parameters": { + "liquid": { + "required": true, + "type": "str" + }, + "resources": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "vols": { + "numeric": true, + "per_well": "resources", + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_channel_x": { + "accepts_kwargs": false, + "description": "Move channel to absolute x position\n\n(PyLabRobot: LiquidHandler.move_channel_x)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + }, + "x": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_channel_y": { + "accepts_kwargs": false, + "description": "Move channel to absolute y position\n\n(PyLabRobot: LiquidHandler.move_channel_y)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + }, + "y": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_channel_z": { + "accepts_kwargs": false, + "description": "Move channel to absolute z position\n\n(PyLabRobot: LiquidHandler.move_channel_z)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + }, + "z": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_lid": { + "accepts_kwargs": true, + "description": "Move a lid to a new location.\n\n(PyLabRobot: LiquidHandler.move_lid)", + "is_coroutine": false, + "parameters": { + "destination_offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "drop_direction": { + "choices": [ + { + "label": "FRONT", + "value": 1 + }, + { + "label": "BACK", + "value": 2 + }, + { + "label": "LEFT", + "value": 3 + }, + { + "label": "RIGHT", + "value": 4 + } + ], + "default": "FRONT", + "options": [ + 1, + 2, + 3, + 4 + ], + "required": false, + "type": "GripDirection" + }, + "intermediate_locations": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "lid": { + "labware": [], + "options": [ + "tips", + "tips_b", + "reservoir", + "assay_plate", + "sample_plate" + ], + "required": true, + "type": "str" + }, + "pickup_direction": { + "choices": [ + { + "label": "FRONT", + "value": 1 + }, + { + "label": "BACK", + "value": 2 + }, + { + "label": "LEFT", + "value": 3 + }, + { + "label": "RIGHT", + "value": 4 + } + ], + "default": "FRONT", + "options": [ + 1, + 2, + 3, + 4 + ], + "required": false, + "type": "GripDirection" + }, + "pickup_distance_from_top": { + "default": 2.37, + "numeric": true, + "required": false, + "type": "float" + }, + "pickup_offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "to": { + "labware_site": true, + "options": [ + "tip_carrier-0", + "tip_carrier-1", + "tip_carrier-2", + "tip_carrier-3", + "tip_carrier-4", + "plate_carrier-0", + "plate_carrier-1", + "plate_carrier-2", + "plate_carrier-3", + "plate_carrier-4" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_picked_up_resource": { + "accepts_kwargs": true, + "description": "Move a resource that has been picked up to a new location.\n\n(PyLabRobot: LiquidHandler.move_picked_up_resource)", + "is_coroutine": false, + "parameters": { + "direction": { + "choices": [ + { + "label": "FRONT", + "value": 1 + }, + { + "label": "BACK", + "value": 2 + }, + { + "label": "LEFT", + "value": 3 + }, + { + "label": "RIGHT", + "value": 4 + } + ], + "default": null, + "optional": true, + "options": [ + 1, + 2, + 3, + 4 + ], + "required": false, + "type": "GripDirection" + }, + "offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "to": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": true, + "type": "Coordinate" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_plate": { + "accepts_kwargs": true, + "description": "Move a plate to a new location.\n\n(PyLabRobot: LiquidHandler.move_plate)", + "is_coroutine": false, + "parameters": { + "destination_offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "drop_direction": { + "choices": [ + { + "label": "FRONT", + "value": 1 + }, + { + "label": "BACK", + "value": 2 + }, + { + "label": "LEFT", + "value": 3 + }, + { + "label": "RIGHT", + "value": 4 + } + ], + "default": "FRONT", + "options": [ + 1, + 2, + 3, + 4 + ], + "required": false, + "type": "GripDirection" + }, + "intermediate_locations": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "pickup_direction": { + "choices": [ + { + "label": "FRONT", + "value": 1 + }, + { + "label": "BACK", + "value": 2 + }, + { + "label": "LEFT", + "value": 3 + }, + { + "label": "RIGHT", + "value": 4 + } + ], + "default": "FRONT", + "options": [ + 1, + 2, + 3, + 4 + ], + "required": false, + "type": "GripDirection" + }, + "pickup_distance_from_top": { + "default": 9.87, + "numeric": true, + "required": false, + "type": "float" + }, + "pickup_offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "plate": { + "labware": [ + "plate", + "reservoir", + "tip_rack", + "tube_rack" + ], + "options": [ + "tips", + "tips_b", + "reservoir", + "assay_plate", + "sample_plate" + ], + "required": true, + "type": "str" + }, + "to": { + "labware_site": true, + "options": [ + "tip_carrier-0", + "tip_carrier-1", + "tip_carrier-2", + "tip_carrier-3", + "tip_carrier-4", + "plate_carrier-0", + "plate_carrier-1", + "plate_carrier-2", + "plate_carrier-3", + "plate_carrier-4" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_resource": { + "accepts_kwargs": true, + "description": "Move a resource to a new location.\n\n(PyLabRobot: LiquidHandler.move_resource)", + "is_coroutine": false, + "parameters": { + "destination_offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "drop_direction": { + "choices": [ + { + "label": "FRONT", + "value": 1 + }, + { + "label": "BACK", + "value": 2 + }, + { + "label": "LEFT", + "value": 3 + }, + { + "label": "RIGHT", + "value": 4 + } + ], + "default": "FRONT", + "options": [ + 1, + 2, + 3, + 4 + ], + "required": false, + "type": "GripDirection" + }, + "intermediate_locations": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "pickup_direction": { + "choices": [ + { + "label": "FRONT", + "value": 1 + }, + { + "label": "BACK", + "value": 2 + }, + { + "label": "LEFT", + "value": 3 + }, + { + "label": "RIGHT", + "value": 4 + } + ], + "default": "FRONT", + "options": [ + 1, + 2, + 3, + 4 + ], + "required": false, + "type": "GripDirection" + }, + "pickup_distance_from_top": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "pickup_offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "resource": { + "labware": [ + "plate", + "reservoir", + "tip_rack", + "tube_rack" + ], + "options": [ + "tips", + "tips_b", + "reservoir", + "assay_plate", + "sample_plate" + ], + "required": true, + "type": "str" + }, + "to": { + "labware_site": true, + "options": [ + "tip_carrier-0", + "tip_carrier-1", + "tip_carrier-2", + "tip_carrier-3", + "tip_carrier-4", + "plate_carrier-0", + "plate_carrier-1", + "plate_carrier-2", + "plate_carrier-3", + "plate_carrier-4" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_tips": { + "accepts_kwargs": false, + "description": "Move tips from one tip rack to another.\n\n(PyLabRobot: LiquidHandler.move_tips)", + "is_coroutine": false, + "parameters": { + "dest_tip_spots": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "tip_rack" + ] + } + }, + "source_tip_spots": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "tip_rack" + ] + } + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "pick_up_resource": { + "accepts_kwargs": true, + "description": "PyLabRobot: LiquidHandler.pick_up_resource", + "is_coroutine": false, + "parameters": { + "direction": { + "choices": [ + { + "label": "FRONT", + "value": 1 + }, + { + "label": "BACK", + "value": 2 + }, + { + "label": "LEFT", + "value": 3 + }, + { + "label": "RIGHT", + "value": 4 + } + ], + "default": "FRONT", + "options": [ + 1, + 2, + 3, + 4 + ], + "required": false, + "type": "GripDirection" + }, + "offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "pickup_distance_from_top": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "resource": { + "labware": [ + "plate", + "reservoir", + "tip_rack", + "tube_rack" + ], + "options": [ + "tips", + "tips_b", + "reservoir", + "assay_plate", + "sample_plate" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "pick_up_tips": { + "accepts_kwargs": true, + "description": "Pick up tips from a resource.\n\n(PyLabRobot: LiquidHandler.pick_up_tips)", + "is_coroutine": false, + "parameters": { + "offsets": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "tip_spots": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "tip_rack" + ] + } + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "pick_up_tips96": { + "accepts_kwargs": true, + "description": "Pick up tips using the 96 head. This will pick up 96 tips.\n\n(PyLabRobot: LiquidHandler.pick_up_tips96)", + "is_coroutine": false, + "parameters": { + "offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "tip_rack": { + "labware": [ + "tip_rack" + ], + "options": [ + "tips", + "tips_b" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "prepare_for_manual_channel_operation": { + "accepts_kwargs": false, + "description": "PyLabRobot: LiquidHandler.prepare_for_manual_channel_operation", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "probe_tip_inventory": { + "accepts_kwargs": false, + "description": "Probe the presence of tips in multiple tip spots.\n\n(PyLabRobot: LiquidHandler.probe_tip_inventory)", + "is_coroutine": false, + "parameters": { + "tip_spots": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "tip_rack" + ] + } + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + } + }, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, Any]", + "value_type": { + "type": "Any" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, Any]" + } + ], + "return_type": "Dict[str, Any]" + }, + "probe_tip_presence_via_pickup": { + "accepts_kwargs": false, + "description": "Probe tip presence by attempting pickup on each TipSpot.\n\n(PyLabRobot: LiquidHandler.probe_tip_presence_via_pickup)", + "is_coroutine": false, + "parameters": { + "tip_spots": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "tip_rack" + ] + } + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + } + }, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, Any]", + "value_type": { + "type": "Any" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, Any]" + } + ], + "return_type": "Dict[str, Any]" + }, + "read_volumes": { + "accepts_kwargs": false, + "description": "The volume tracked in each well (µL), by `plate[well]`. (PyLabRobot:\n`well.tracker.get_used_volume()`.)", + "is_coroutine": false, + "parameters": { + "resources": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + } + }, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, float]", + "value_type": { + "numeric": true, + "type": "float" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, float]" + } + ], + "return_type": "Dict[str, float]" + }, + "return_tips": { + "accepts_kwargs": true, + "description": "Return all tips that are currently picked up to their original place.\n\n(PyLabRobot: LiquidHandler.return_tips)", + "is_coroutine": false, + "parameters": { + "allow_nonzero_volume": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "offsets": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "return_tips96": { + "accepts_kwargs": true, + "description": "Return the tips on the 96 head to the tip rack where they were picked up.\n\n(PyLabRobot: LiquidHandler.return_tips96)", + "is_coroutine": false, + "parameters": { + "allow_nonzero_volume": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "setup": { + "accepts_kwargs": false, + "description": "Connect and set up the robot. Any other step does this itself the first time.\n(PyLabRobot: LiquidHandler.setup)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "stamp": { + "accepts_kwargs": false, + "description": "Stamp (aspiration and dispense) one plate onto another.\n\n(PyLabRobot: LiquidHandler.stamp)", + "is_coroutine": false, + "parameters": { + "aspiration_flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "dispense_flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "source": { + "labware": [ + "plate", + "reservoir" + ], + "options": [ + "reservoir", + "assay_plate", + "sample_plate" + ], + "required": true, + "type": "str" + }, + "target": { + "labware": [ + "plate", + "reservoir" + ], + "options": [ + "reservoir", + "assay_plate", + "sample_plate" + ], + "required": true, + "type": "str" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "stop": { + "accepts_kwargs": false, + "description": "Put the robot down. The next step sets it up again. (PyLabRobot: LiquidHandler.stop)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "summary": { + "accepts_kwargs": false, + "description": "Prints a string summary of the deck layout.\n\n(PyLabRobot: LiquidHandler.summary)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "tips_left": { + "accepts_kwargs": false, + "description": "How many unused tips the rack still has.", + "is_coroutine": false, + "parameters": { + "tip_rack": { + "labware": [ + "tip_rack" + ], + "options": [ + "tips", + "tips_b" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "numeric": true, + "required": true, + "type": "int" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "int" + } + ], + "return_type": "int" + }, + "transfer": { + "accepts_kwargs": true, + "description": "Transfer liquid from one well to another.\n\n(PyLabRobot: LiquidHandler.transfer)", + "is_coroutine": false, + "parameters": { + "aspiration_flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "dispense_flow_rates": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "optional": true, + "type": "Optional[float]" + }, + "optional": true, + "required": false, + "type": "Optional[List[Optional[float]]]" + }, + "ratios": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "source": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir" + ] + } + }, + "source_vol": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "target_vols": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "targets": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir" + ] + } + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + } + }, + "OT2": { + "equipment": { + "description": "", + "has_setter": false, + "is_coroutine": false, + "is_property": true, + "parameters": {}, + "property_access": "get", + "property_name": "equipment", + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, Any]", + "value_type": { + "type": "Any" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, Any]" + } + ], + "return_type": "Dict[str, Any]" + }, + "get_health": { + "accepts_kwargs": false, + "description": "Return a fresh health reading without changing device or run state.\n\n(PyLabRobot: OT2.get_health)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, Any]", + "value_type": { + "type": "Any" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, Any]" + } + ], + "return_type": "Dict[str, Any]" + }, + "get_mounted_pipettes": { + "accepts_kwargs": false, + "description": "Read physical pipette identities without loading or replacing pipette objects.\n\n(PyLabRobot: OT2.get_mounted_pipettes)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "get_runs": { + "accepts_kwargs": false, + "description": "Read server runs without selecting, stopping, or replacing the active run.\n\n(PyLabRobot: OT2.get_runs)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "home": { + "accepts_kwargs": false, + "description": "Home the gantry and pipette axes.\n\n(PyLabRobot: OT2.home)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "list_connected_modules": { + "accepts_kwargs": false, + "description": "Read connected module identities without loading modules into the run.\n\n(PyLabRobot: OT2.list_connected_modules)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "load_liquid": { + "accepts_kwargs": false, + "description": "Record what a person put on the worktable: this liquid, this much (µL), in these wells.\nNothing moves. (Not a PyLabRobot step: there it is `well.tracker.set_volume`.)", + "is_coroutine": false, + "parameters": { + "liquid": { + "required": true, + "type": "str" + }, + "resources": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "vols": { + "numeric": true, + "per_well": "resources", + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "read_volumes": { + "accepts_kwargs": false, + "description": "The volume tracked in each well (µL), by `plate[well]`. (PyLabRobot:\n`well.tracker.get_used_volume()`.)", + "is_coroutine": false, + "parameters": { + "resources": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + } + }, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, float]", + "value_type": { + "numeric": true, + "type": "float" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, float]" + } + ], + "return_type": "Dict[str, float]" + }, + "setup": { + "accepts_kwargs": false, + "description": "Connect, start a run, find what is mounted (checking it against the worktable file) and\nhome, unless skip_home. Any other step does this itself the first time. (PyLabRobot: OT2.setup)", + "is_coroutine": false, + "parameters": { + "skip_home": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "stop": { + "accepts_kwargs": false, + "description": "End the run and disconnect. The next step sets the OT-2 up again. (PyLabRobot: OT2.stop)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "summary": { + "accepts_kwargs": false, + "description": "PyLabRobot's text summary of the worktable.", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "str" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "str" + } + ], + "return_type": "str" + }, + "tips_left": { + "accepts_kwargs": false, + "description": "How many unused tips the rack still has.", + "is_coroutine": false, + "parameters": { + "tip_rack": { + "labware": [ + "tip_rack" + ], + "options": [ + "tips", + "tips_b" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "numeric": true, + "required": true, + "type": "int" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "int" + } + ], + "return_type": "int" + } + }, + "OT2Pipette1": { + "aspirate": { + "accepts_kwargs": false, + "description": "Aspirate ``volume`` from a container, then retract.\n\n(PyLabRobot: OT2SingleChannelPipette.aspirate)", + "is_coroutine": false, + "parameters": { + "container": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "liquid_height": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "offset": { + "default": null, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "can_use_tip": { + "accepts_kwargs": false, + "description": "Whether the tip capacity is supported by this pipette.\n\n(PyLabRobot: OT2SingleChannelPipette.can_use_tip)", + "is_coroutine": false, + "parameters": { + "tip": { + "labware": [], + "options": [ + "tips", + "reservoir", + "assay_plate", + "tips_b", + "sample_plate", + "trash_container" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "options": [ + "True", + "False" + ], + "required": true, + "type": "bool" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "bool" + } + ], + "return_type": "bool" + }, + "discard_tip": { + "accepts_kwargs": false, + "description": "Discard a single tip into fixed trash and retract to traversal height.\n\n(PyLabRobot: OT2SingleChannelPipette.discard_tip)", + "is_coroutine": false, + "parameters": { + "allow_nonzero_volume": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "offset": { + "default": null, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "dispense": { + "accepts_kwargs": false, + "description": "Dispense ``volume`` into a container, then retract.\n\n(PyLabRobot: OT2SingleChannelPipette.dispense)", + "is_coroutine": false, + "parameters": { + "container": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "liquid_height": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "offset": { + "default": null, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "drop_tip": { + "accepts_kwargs": false, + "description": "Drop into a tip-rack position and retract vertically to at least traversal height.\n\n(PyLabRobot: OT2SingleChannelPipette.drop_tip)", + "is_coroutine": false, + "parameters": { + "allow_nonzero_volume": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "offset": { + "default": null, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + }, + "tip_spot": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "tip_rack" + ] + } + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "mix": { + "accepts_kwargs": false, + "description": "Mix ``volume`` in a container, then retract.\n\n(PyLabRobot: OT2SingleChannelPipette.mix)", + "is_coroutine": false, + "parameters": { + "aspiration_flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "container": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "dispense_flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "liquid_height": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "offset": { + "default": null, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + }, + "repetitions": { + "numeric": true, + "required": true, + "type": "int" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_to": { + "accepts_kwargs": false, + "description": "Move to an absolute robot-frame coordinate, then retract to at least traversal height.\n\n(PyLabRobot: OT2SingleChannelPipette.move_to)", + "is_coroutine": false, + "parameters": { + "force_direct": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "location": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": true, + "type": "Coordinate" + }, + "minimum_z_height": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "pick_up_tip": { + "accepts_kwargs": false, + "description": "Pick up one tip from a tip rack and retract to at least traversal height.\n\n(PyLabRobot: OT2SingleChannelPipette.pick_up_tip)", + "is_coroutine": false, + "parameters": { + "offset": { + "default": null, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + }, + "tip_spot": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "tip_rack" + ] + } + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "return_tip": { + "accepts_kwargs": false, + "description": "Return the mounted single tip to its pickup position, then retract.\n\n(PyLabRobot: OT2SingleChannelPipette.return_tip)", + "is_coroutine": false, + "parameters": { + "allow_nonzero_volume": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "offset": { + "default": null, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + } + }, + "OT2Pipette8": { + "aspirate": { + "accepts_kwargs": false, + "description": "Aspirate ``volume`` per mounted tip from containers in nozzle order, then retract.\n\n(PyLabRobot: OT2_8ChannelPipette.aspirate)", + "is_coroutine": false, + "parameters": { + "containers": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "liquid_height": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "offset": { + "default": null, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "can_use_tip": { + "accepts_kwargs": false, + "description": "Whether the tip capacity is supported by this pipette.\n\n(PyLabRobot: OT2_8ChannelPipette.can_use_tip)", + "is_coroutine": false, + "parameters": { + "tip": { + "labware": [], + "options": [ + "tips", + "reservoir", + "assay_plate", + "tips_b", + "sample_plate", + "trash_container" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "options": [ + "True", + "False" + ], + "required": true, + "type": "bool" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "bool" + } + ], + "return_type": "bool" + }, + "discard_tips": { + "accepts_kwargs": false, + "description": "Discard all mounted tips into fixed trash and retract to traversal height.\n\n(PyLabRobot: OT2_8ChannelPipette.discard_tips)", + "is_coroutine": false, + "parameters": { + "allow_nonzero_volume": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "offset": { + "default": null, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "dispense": { + "accepts_kwargs": false, + "description": "Dispense ``volume`` per mounted tip into containers in nozzle order, then retract.\n\n(PyLabRobot: OT2_8ChannelPipette.dispense)", + "is_coroutine": false, + "parameters": { + "containers": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "liquid_height": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "offset": { + "default": null, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "drop_tips": { + "accepts_kwargs": false, + "description": "Drop all mounted tips into a rack with one command, then retract.\n\n(PyLabRobot: OT2_8ChannelPipette.drop_tips)", + "is_coroutine": false, + "parameters": { + "allow_nonzero_volume": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "offset": { + "default": null, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + }, + "tip_spots": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "tip_rack" + ] + } + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "mix": { + "accepts_kwargs": false, + "description": "Mix ``volume`` per mounted tip in containers in nozzle order, then retract.\n\n(PyLabRobot: OT2_8ChannelPipette.mix)", + "is_coroutine": false, + "parameters": { + "aspiration_flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "containers": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "dispense_flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "liquid_height": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "offset": { + "default": null, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + }, + "repetitions": { + "numeric": true, + "required": true, + "type": "int" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_to": { + "accepts_kwargs": false, + "description": "Move to an absolute robot-frame coordinate, then retract to at least traversal height.\n\n(PyLabRobot: OT2_8ChannelPipette.move_to)", + "is_coroutine": false, + "parameters": { + "force_direct": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "location": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": true, + "type": "Coordinate" + }, + "minimum_z_height": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "pick_up_tips": { + "accepts_kwargs": false, + "description": "Pick up consecutive tips using nozzles starting at 0, then retract.\n\n(PyLabRobot: OT2_8ChannelPipette.pick_up_tips)", + "is_coroutine": false, + "parameters": { + "offset": { + "default": null, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + }, + "tip_spots": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "tip_rack" + ] + } + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "return_tips": { + "accepts_kwargs": false, + "description": "Return all mounted tips to their pickup positions, then retract.\n\n(PyLabRobot: OT2_8ChannelPipette.return_tips)", + "is_coroutine": false, + "parameters": { + "allow_nonzero_volume": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "offset": { + "default": null, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + } + }, + "Prep": { + "equipment": { + "description": "", + "has_setter": false, + "is_coroutine": false, + "is_property": true, + "parameters": {}, + "property_access": "get", + "property_name": "equipment", + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, Any]", + "value_type": { + "type": "Any" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, Any]" + } + ], + "return_type": "Dict[str, Any]" + }, + "error_lighting": { + "accepts_kwargs": false, + "description": "Pulse the deck red when something inside raises, and let it raise on.\n\n(PyLabRobot: PrepDevice.error_lighting)", + "is_coroutine": false, + "parameters": { + "duration": { + "default": 8.0, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "wait": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + } + }, + "return_info": { + "required": true, + "type": "Any" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Any" + } + ], + "return_type": "Any" + }, + "load_liquid": { + "accepts_kwargs": false, + "description": "Record what a person put on the worktable: this liquid, this much (µL), in these wells.\nNothing moves. (Not a PyLabRobot step: there it is `well.tracker.set_volume`.)", + "is_coroutine": false, + "parameters": { + "liquid": { + "required": true, + "type": "str" + }, + "resources": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "vols": { + "numeric": true, + "per_well": "resources", + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "read_volumes": { + "accepts_kwargs": false, + "description": "The volume tracked in each well (µL), by `plate[well]`. (PyLabRobot:\n`well.tracker.get_used_volume()`.)", + "is_coroutine": false, + "parameters": { + "resources": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + } + }, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, float]", + "value_type": { + "numeric": true, + "type": "float" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, float]" + } + ], + "return_type": "Dict[str, float]" + }, + "setup": { + "accepts_kwargs": false, + "description": "Connect and initialize the Prep, checking what is fitted against the worktable file. Any\nother step does this itself the first time. (PyLabRobot: Prep.setup)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "signal_error": { + "accepts_kwargs": false, + "description": "Pulse the deck red, if this device has a light to say it with. Never raises.\n\n(PyLabRobot: PrepDevice.signal_error)", + "is_coroutine": false, + "parameters": { + "duration": { + "default": 8.0, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "wait": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "stop": { + "accepts_kwargs": false, + "description": "Put the Prep down. The next step sets it up again. (PyLabRobot: Prep.stop)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "summary": { + "accepts_kwargs": false, + "description": "PyLabRobot's text summary of the worktable.", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "str" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "str" + } + ], + "return_type": "str" + }, + "tips_left": { + "accepts_kwargs": false, + "description": "How many unused tips the rack still has.", + "is_coroutine": false, + "parameters": { + "tip_rack": { + "labware": [ + "tip_rack" + ], + "options": [ + "tips", + "tips_b" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "numeric": true, + "required": true, + "type": "int" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "int" + } + ], + "return_type": "int" + }, + "update_deck_components": { + "accepts_kwargs": false, + "description": "Shift every labware spot by `offset`, in software only: nothing is written to the device.\n\n(PyLabRobot: PrepDevice.update_deck_components)", + "is_coroutine": false, + "parameters": { + "offset": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": true, + "type": "Coordinate" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + } + }, + "PrepCoreGrippers": { + "drop_resource": { + "accepts_kwargs": false, + "description": "Put the held resource down; the tree follows once it is down.\n\n(PyLabRobot: CoreGrippers.drop_resource)", + "is_coroutine": false, + "parameters": { + "acceleration_scale_x": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "minimum_traverse_height_end": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_start": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "to": { + "labware_site": true, + "options": [ + "0", + "1", + "2", + "3", + "4", + "5", + "6", + "7" + ], + "required": true, + "type": "str" + }, + "x_acceleration_scale": { + "default": 1, + "numeric": true, + "required": false, + "type": "int" + }, + "y_clearance": { + "default": 2.5, + "numeric": true, + "required": false, + "type": "float" + }, + "z_acceleration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "z_speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "drop_tools": { + "accepts_kwargs": false, + "description": "Put the tools back where they were taken from (PrepDropTool, cmd=16).\n\n(PyLabRobot: CoreGrippers.drop_tools)", + "is_coroutine": false, + "parameters": { + "move_to_safe_z_first": { + "default": true, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "mounted": { + "accepts_kwargs": false, + "description": "The tools on for as long as the block runs, and returned on the way out.\n\n(PyLabRobot: CoreGrippers.mounted)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "Any" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Any" + } + ], + "return_type": "Any" + }, + "move_resource": { + "accepts_kwargs": false, + "description": "Move a resource with the CoRe grippers, mounting them first if needed.\n\n(PyLabRobot: CoreGrippers.move_resource)", + "is_coroutine": false, + "parameters": { + "acceleration_scale_x": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "drop_offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "drop_y_clearance": { + "default": 2.5, + "numeric": true, + "required": false, + "type": "float" + }, + "drop_z_acceleration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "drop_z_speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "grip_speed_y": { + "default": 5.0, + "numeric": true, + "required": false, + "type": "float" + }, + "minimum_traverse_height_during": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_end": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_start": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "pickup_distance_from_top": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "pickup_offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "pickup_y_clearance": { + "default": 2.5, + "numeric": true, + "required": false, + "type": "float" + }, + "pickup_z_acceleration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "pickup_z_speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "resource": { + "labware": [], + "options": [ + "tips", + "tips_b", + "reservoir", + "assay_plate", + "sample_plate", + "waste_block", + "waste_rear", + "waste_front", + "waste_mph" + ], + "required": true, + "type": "str" + }, + "resource_size_x": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "resource_size_y": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "resource_size_z": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "return_grippers": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "squeeze_mm": { + "default": 2.0, + "numeric": true, + "required": false, + "type": "float" + }, + "to": { + "labware": [], + "options": [ + "tips", + "tips_b", + "reservoir", + "assay_plate", + "sample_plate", + "waste_block", + "waste_rear", + "waste_front", + "waste_mph" + ], + "required": true, + "type": "str" + }, + "x_acceleration_scale": { + "default": 1, + "numeric": true, + "required": false, + "type": "int" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_resource_to_xy_position": { + "accepts_kwargs": false, + "description": "Carry the held resource across the deck, at the height it is already at (PrepMovePlate).\n\n(PyLabRobot: CoreGrippers.move_resource_to_xy_position)", + "is_coroutine": false, + "parameters": { + "acceleration_scale_x": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "x": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "x_acceleration_scale": { + "default": 1, + "numeric": true, + "required": false, + "type": "int" + }, + "y": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_to_safe_z": { + "accepts_kwargs": false, + "description": "Raise the tools to Z safety. See :meth:`Pipettes.move_to_safe_z`.\n\n(PyLabRobot: CoreGrippers.move_to_safe_z)", + "is_coroutine": false, + "parameters": { + "channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_to_x_position": { + "accepts_kwargs": false, + "description": "Move the tools along X. See :meth:`XArm.move_to_x_position`.\n\n(PyLabRobot: CoreGrippers.move_to_x_position)", + "is_coroutine": false, + "parameters": { + "acceleration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_start": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "x": { + "numeric": true, + "required": true, + "type": "float" + }, + "z_acceleration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "z_speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_to_xy_positions": { + "accepts_kwargs": false, + "description": "Move the tools across the deck. See :meth:`Pipettes.move_to_xy_positions`.\n\n(PyLabRobot: CoreGrippers.move_to_xy_positions)", + "is_coroutine": false, + "parameters": { + "make_space": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "minimum_traverse_height_start": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "via_lane": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "x": { + "numeric": true, + "required": true, + "type": "float" + }, + "x_speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "x_speed_scale": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "ys": { + "is_mapping": true, + "key_type": { + "numeric": true, + "type": "int" + }, + "required": true, + "type": "Dict[int, float]", + "value_type": { + "numeric": true, + "type": "float" + } + }, + "z_acceleration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "z_speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_to_y_positions": { + "accepts_kwargs": false, + "description": "Move the tools along Y together. See :meth:`Pipettes.move_to_y_positions`.\n\n(PyLabRobot: CoreGrippers.move_to_y_positions)", + "is_coroutine": false, + "parameters": { + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "ys": { + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "required": true, + "type": "List[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "pick_up_resource": { + "accepts_kwargs": false, + "description": "Grip a resource where the tree has it, and hold it on the front tool in the model.\n\n(PyLabRobot: CoreGrippers.pick_up_resource)", + "is_coroutine": false, + "parameters": { + "grip_speed_y": { + "default": 5.0, + "numeric": true, + "required": false, + "type": "float" + }, + "minimum_traverse_height_end": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_start": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "pickup_distance_from_top": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "resource": { + "labware": [ + "plate", + "reservoir", + "tip_rack", + "tube_rack" + ], + "options": [ + "tips", + "tips_b", + "reservoir", + "assay_plate", + "sample_plate" + ], + "required": true, + "type": "str" + }, + "resource_size_x": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "resource_size_y": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "resource_size_z": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "squeeze_mm": { + "default": 2.0, + "numeric": true, + "required": false, + "type": "float" + }, + "y_clearance": { + "default": 2.5, + "numeric": true, + "required": false, + "type": "float" + }, + "z_acceleration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "z_speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "pick_up_tools": { + "accepts_kwargs": false, + "description": "Take the tools out of the holder the deck carries and onto the channels.\n\n(PyLabRobot: CoreGrippers.pick_up_tools)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "pick_up_tools_at_location": { + "accepts_kwargs": false, + "description": "Pick up the tools (PrepPickUpTool, cmd=15), over them first so the pick-up is straight down.\n\n(PyLabRobot: CoreGrippers.pick_up_tools_at_location)", + "is_coroutine": false, + "parameters": { + "front_channel_position_y": { + "numeric": true, + "required": true, + "type": "float" + }, + "rear_channel_position_y": { + "numeric": true, + "required": true, + "type": "float" + }, + "tip_definition": { + "default": null, + "fields": { + "default_values": { + "options": [ + "True", + "False" + ], + "required": true, + "type": "bool" + }, + "has_filter": { + "options": [ + "True", + "False" + ], + "required": true, + "type": "bool" + }, + "is_needle": { + "options": [ + "True", + "False" + ], + "required": true, + "type": "bool" + }, + "is_tool": { + "options": [ + "True", + "False" + ], + "required": true, + "type": "bool" + }, + "length": { + "numeric": true, + "required": true, + "type": "float" + }, + "tip_type": { + "numeric": true, + "required": true, + "type": "int" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "TipPickupParameters" + }, + "tool_position_x": { + "numeric": true, + "required": true, + "type": "float" + }, + "tool_position_z": { + "numeric": true, + "required": true, + "type": "float" + }, + "tool_seek": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "tool_x_radius": { + "default": 2.0, + "numeric": true, + "required": false, + "type": "float" + }, + "tool_y_radius": { + "default": 2.0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "probe_resource_exists_using_ztouch": { + "accepts_kwargs": false, + "description": "Z-touch the front tool down onto `resource`'s centre: meeting it is finding it.\n\n(PyLabRobot: CoreGrippers.probe_resource_exists_using_ztouch)", + "is_coroutine": false, + "parameters": { + "minimum_traverse_height_end": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_start": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "push_force_pwm": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "resource": { + "labware": [], + "options": [ + "tips", + "tips_b", + "reservoir", + "assay_plate", + "sample_plate", + "waste_block", + "waste_rear", + "waste_front", + "waste_mph" + ], + "required": true, + "type": "str" + }, + "search_distance": { + "default": 20.0, + "numeric": true, + "required": false, + "type": "float" + }, + "search_speed": { + "default": 10.0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "return_info": { + "options": [ + "True", + "False" + ], + "required": true, + "type": "bool" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "bool" + } + ], + "return_type": "bool" + }, + "release_plate": { + "accepts_kwargs": false, + "description": "Open the CoRe gripper and release whatever is held (PrepReleasePlate, cmd=21).\n\n(PyLabRobot: CoreGrippers.release_plate)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "request_plate_held": { + "accepts_kwargs": false, + "description": "Whether the firmware records a plate held (PrepGetPlateHeld, cmd=22).\n\n(PyLabRobot: CoreGrippers.request_plate_held)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "options": [ + "True", + "False" + ], + "required": true, + "type": "bool" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "bool" + } + ], + "return_type": "bool" + }, + "request_tool_attached": { + "accepts_kwargs": false, + "description": "Whether the device says a tool is on `channel`.\n\n(PyLabRobot: CoreGrippers.request_tool_attached)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "options": [ + "True", + "False" + ], + "required": true, + "type": "bool" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "bool" + } + ], + "return_type": "bool" + }, + "return_resource": { + "accepts_kwargs": false, + "description": "Put the held resource back where :meth:`pick_up_resource` took it from.\n\n(PyLabRobot: CoreGrippers.return_resource)", + "is_coroutine": false, + "parameters": { + "acceleration_scale_x": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "minimum_traverse_height_end": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_start": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "x_acceleration_scale": { + "default": 1, + "numeric": true, + "required": false, + "type": "int" + }, + "y_clearance": { + "default": 2.5, + "numeric": true, + "required": false, + "type": "float" + }, + "z_acceleration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "z_speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "return_tools": { + "accepts_kwargs": false, + "description": "Put the tools back in their holder, if the device lets go of them.\n\n(PyLabRobot: CoreGrippers.return_tools)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + } + }, + "PrepHead8": { + "aspirate": { + "accepts_kwargs": false, + "description": "Aspirate the same volume on every channel from one trough or eight wells.\n\n(PyLabRobot: Head8.aspirate)", + "is_coroutine": false, + "parameters": { + "blow_out": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "blow_out_air_volume": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "c_lld": { + "default": null, + "fields": { + "clot_check_enable": { + "options": [ + "True", + "False" + ], + "required": true, + "type": "bool" + }, + "default_values": { + "options": [ + "True", + "False" + ], + "required": true, + "type": "bool" + }, + "detect_mode": { + "numeric": true, + "required": true, + "type": "int" + }, + "sensitivity": { + "numeric": true, + "required": true, + "type": "int" + }, + "z_clot_check": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "CLldParameters" + }, + "command_version": { + "choices": [ + { + "label": "v1", + "value": "v1" + }, + { + "label": "v2", + "value": "v2" + } + ], + "default": null, + "optional": true, + "options": [ + "v1", + "v2" + ], + "required": false, + "type": "Literal" + }, + "container_segments": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "area_bottom": { + "numeric": true, + "required": true, + "type": "float" + }, + "area_top": { + "numeric": true, + "required": true, + "type": "float" + }, + "height": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "is_object": true, + "type": "SegmentDescriptor" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.hamilton.prep.driver.prep_commands.SegmentDescriptor]]" + }, + "containers": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "disable_volume_correction": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "jet": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "liquid_height": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "lld": { + "default": null, + "fields": { + "channel_speed": { + "numeric": true, + "required": true, + "type": "float" + }, + "default_values": { + "options": [ + "True", + "False" + ], + "required": true, + "type": "bool" + }, + "search_start_position": { + "numeric": true, + "required": true, + "type": "float" + }, + "z_out_of_liquid": { + "numeric": true, + "required": true, + "type": "float" + }, + "z_submerge": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "LldParameters" + }, + "lld_mode": { + "choices": [ + { + "label": "OFF", + "value": 0 + }, + { + "label": "CAPACITIVE", + "value": 1 + }, + { + "label": "PRESSURE", + "value": 2 + }, + { + "label": "DUAL", + "value": 3 + }, + { + "label": "ZTOUCH", + "value": 4 + } + ], + "default": null, + "optional": true, + "options": [ + 0, + 1, + 2, + 3, + 4 + ], + "required": false, + "type": "LLDMode" + }, + "mix_position_from_liquid_surface": { + "default": 0.0, + "numeric": true, + "required": false, + "type": "float" + }, + "offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "p_lld": { + "default": null, + "fields": { + "default_values": { + "options": [ + "True", + "False" + ], + "required": true, + "type": "bool" + }, + "detect_mode": { + "numeric": true, + "required": true, + "type": "int" + }, + "dispenser_seek_speed": { + "numeric": true, + "required": true, + "type": "float" + }, + "lld_height_difference": { + "numeric": true, + "required": true, + "type": "float" + }, + "sensitivity": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "PLldParameters" + }, + "pre_mix": { + "default": null, + "fields": { + "auto_surface_following": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "flow_rate": { + "numeric": true, + "required": true, + "type": "float" + }, + "repetitions": { + "numeric": true, + "required": true, + "type": "int" + }, + "surface_following_distance": { + "default": 0.0, + "numeric": true, + "required": false, + "type": "float" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Mix" + }, + "prewet_volume": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "read_timeout": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "settling_time": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "surface_following_distance": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "tadm": { + "default": null, + "fields": { + "default_values": { + "options": [ + "True", + "False" + ], + "required": true, + "type": "bool" + }, + "limit_curve_index": { + "numeric": true, + "required": true, + "type": "int" + }, + "recording_mode": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "TadmParameters" + }, + "transport_air_volume": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + }, + "z_air": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "z_bottom_search_offset": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "z_final": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "z_fluid": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "z_liquid_exit_speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "z_minimum": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "discard_tips": { + "accepts_kwargs": true, + "description": "Discard all eight tips into the deck's waste at its MPH position.\n\n(PyLabRobot: Head8.discard_tips)", + "is_coroutine": false, + "parameters": { + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "discover": { + "accepts_kwargs": false, + "description": "Find the 8MPH channels in the firmware tree (``MPH Channel Root``) and build `channels`.\n\n(PyLabRobot: Head8.discover)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "dispense": { + "accepts_kwargs": false, + "description": "Dispense the same volume on every channel into one trough or eight wells.\n\n(PyLabRobot: Head8.dispense)", + "is_coroutine": false, + "parameters": { + "blow_out": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "blow_out_air_volume": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "c_lld": { + "default": null, + "fields": { + "clot_check_enable": { + "options": [ + "True", + "False" + ], + "required": true, + "type": "bool" + }, + "default_values": { + "options": [ + "True", + "False" + ], + "required": true, + "type": "bool" + }, + "detect_mode": { + "numeric": true, + "required": true, + "type": "int" + }, + "sensitivity": { + "numeric": true, + "required": true, + "type": "int" + }, + "z_clot_check": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "CLldParameters" + }, + "command_version": { + "choices": [ + { + "label": "v1", + "value": "v1" + }, + { + "label": "v2", + "value": "v2" + } + ], + "default": null, + "optional": true, + "options": [ + "v1", + "v2" + ], + "required": false, + "type": "Literal" + }, + "container_segments": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "area_bottom": { + "numeric": true, + "required": true, + "type": "float" + }, + "area_top": { + "numeric": true, + "required": true, + "type": "float" + }, + "height": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "is_object": true, + "type": "SegmentDescriptor" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.hamilton.prep.driver.prep_commands.SegmentDescriptor]]" + }, + "containers": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "cutoff_speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "disable_volume_correction": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "jet": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "liquid_height": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "lld": { + "default": null, + "fields": { + "channel_speed": { + "numeric": true, + "required": true, + "type": "float" + }, + "default_values": { + "options": [ + "True", + "False" + ], + "required": true, + "type": "bool" + }, + "search_start_position": { + "numeric": true, + "required": true, + "type": "float" + }, + "z_out_of_liquid": { + "numeric": true, + "required": true, + "type": "float" + }, + "z_submerge": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "LldParameters" + }, + "lld_mode": { + "choices": [ + { + "label": "OFF", + "value": 0 + }, + { + "label": "CAPACITIVE", + "value": 1 + }, + { + "label": "PRESSURE", + "value": 2 + }, + { + "label": "DUAL", + "value": 3 + }, + { + "label": "ZTOUCH", + "value": 4 + } + ], + "default": null, + "optional": true, + "options": [ + 0, + 1, + 2, + 3, + 4 + ], + "required": false, + "type": "LLDMode" + }, + "offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "read_timeout": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "settling_time": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "stop_back_volume": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "surface_following_distance": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "transport_air_volume": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + }, + "z_air": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "z_bottom_search_offset": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "z_final": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "z_fluid": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "z_liquid_exit_speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "z_minimum": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "drop_tips": { + "accepts_kwargs": false, + "description": "Drop the head's tips into tip spots, or into the waste.\n\n(PyLabRobot: Head8.drop_tips)", + "is_coroutine": false, + "parameters": { + "destinations": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "tip_rack", + "trash" + ] + } + }, + "minimum_traverse_height_end": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "seek_speed": { + "default": 15.0, + "numeric": true, + "required": false, + "type": "float" + }, + "tip_roll_off_distance": { + "default": 0.0, + "numeric": true, + "required": false, + "type": "float" + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + }, + "z_seek_offset": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "get_mounted_tip": { + "accepts_kwargs": false, + "description": "The tip on one channel's shaft, or ``None`` if that shaft is empty.\n\n(PyLabRobot: Head8.get_mounted_tip)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "required": true, + "type": "Any" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Any" + } + ], + "return_type": "Any" + }, + "get_mounted_tips": { + "accepts_kwargs": false, + "description": "Tips currently mounted on the 8MPH (``None`` if empty): what each channel's shaft carries.\n\n(PyLabRobot: Head8.get_mounted_tips)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "get_reference_point_location": { + "accepts_kwargs": false, + "description": "Where the model has probe 0, in mm on the deck: Z at the bottom of what it carries.\n\n(PyLabRobot: Head8.get_reference_point_location)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + }, + "return_paths": [ + { + "numeric": true, + "path": "x", + "type": "float" + }, + { + "numeric": true, + "path": "y", + "type": "float" + }, + { + "numeric": true, + "path": "z", + "type": "float" + } + ], + "return_type": "Optional[Coordinate]" + }, + "mix": { + "accepts_kwargs": false, + "description": "Mix in place on all eight probes at a fixed height, with empty tips.\n\n(PyLabRobot: Head8.mix)", + "is_coroutine": false, + "parameters": { + "command_version": { + "choices": [ + { + "label": "v1", + "value": "v1" + }, + { + "label": "v2", + "value": "v2" + } + ], + "default": null, + "optional": true, + "options": [ + "v1", + "v2" + ], + "required": false, + "type": "Literal" + }, + "containers": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "liquid_height": { + "default": 1.0, + "numeric": true, + "required": false, + "type": "float" + }, + "mix": { + "fields": { + "auto_surface_following": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "flow_rate": { + "numeric": true, + "required": true, + "type": "float" + }, + "repetitions": { + "numeric": true, + "required": true, + "type": "int" + }, + "surface_following_distance": { + "default": 0.0, + "numeric": true, + "required": false, + "type": "float" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "is_object": true, + "required": true, + "type": "Mix" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_to_position": { + "accepts_kwargs": false, + "description": "Move the ganged 8-channel head to absolute deck ``(x, y, z)`` (mm).\n\n(PyLabRobot: Head8.move_to_position)", + "is_coroutine": false, + "parameters": { + "via_lane": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "x": { + "numeric": true, + "required": true, + "type": "float" + }, + "y": { + "numeric": true, + "required": true, + "type": "float" + }, + "z": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_to_safe_z": { + "accepts_kwargs": false, + "description": "Raise the head straight up to its traverse height, where it stands in X and Y.\n\n(PyLabRobot: Head8.move_to_safe_z)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "pick_up_tips": { + "accepts_kwargs": false, + "description": "Pick up a whole column of tips on the head's shafts.\n\n(PyLabRobot: Head8.pick_up_tips)", + "is_coroutine": false, + "parameters": { + "dispenser_speed": { + "default": 250.0, + "numeric": true, + "required": false, + "type": "float" + }, + "dispenser_volume": { + "default": 0.0, + "numeric": true, + "required": false, + "type": "float" + }, + "enable_tadm": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "minimum_traverse_height_end": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_start": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "seek_speed": { + "default": 15.0, + "numeric": true, + "required": false, + "type": "float" + }, + "tip_spots": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "tip_rack" + ] + } + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + }, + "z_seek_offset": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "return_tips": { + "accepts_kwargs": true, + "description": "Return all eight tips to the spots they were picked up from.\n\n(PyLabRobot: Head8.return_tips)", + "is_coroutine": false, + "parameters": { + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "sense_tip_presence": { + "accepts_kwargs": false, + "description": "Sense whether tips are present on the 8MPH head via the sleeve sensor (GetTipPresent).\n\n(PyLabRobot: Head8.sense_tip_presence)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "shaft": { + "accepts_kwargs": false, + "description": "The mounting shaft for one channel.\n\n(PyLabRobot: Head8.shaft)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "required": true, + "type": "Any" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Any" + } + ], + "return_type": "Any" + }, + "update_location_by_reference_point": { + "accepts_kwargs": false, + "description": "Record where the head is on the resource that models it, a child of the arm's.\n\n(PyLabRobot: Head8.update_location_by_reference_point)", + "is_coroutine": false, + "parameters": { + "x": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "y": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "z": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + } + }, + "PrepHeaterShaker": { + "discover": { + "accepts_kwargs": false, + "description": "Read the firmware version and the accepted ranges into `configuration`. Read-only.\n\n(PyLabRobot: PrepHamiltonHeaterShaker.discover)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "initialize": { + "accepts_kwargs": false, + "description": "Initialize the plate lock and the shaker drive.\n\n(PyLabRobot: PrepHamiltonHeaterShaker.initialize)", + "is_coroutine": false, + "parameters": { + "smart": { + "default": true, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "lock_plate": { + "accepts_kwargs": false, + "description": "Close the plate lock.\n\n(PyLabRobot: PrepHamiltonHeaterShaker.lock_plate)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "measure_temperature": { + "accepts_kwargs": false, + "description": "The measured temperature, in °C, rounded to two decimal places.\n\n(PyLabRobot: PrepHamiltonHeaterShaker.measure_temperature)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "request_heater_status": { + "accepts_kwargs": false, + "description": "Whether it is heating, and its current and target temperature, in °C.\n\n(PyLabRobot: PrepHamiltonHeaterShaker.request_heater_status)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, Any]", + "value_type": { + "type": "Any" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, Any]" + } + ], + "return_type": "Dict[str, Any]" + }, + "request_is_initialized": { + "accepts_kwargs": false, + "description": "Whether the shaker has been initialized since power-up.\n\n(PyLabRobot: PrepHamiltonHeaterShaker.request_is_initialized)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "options": [ + "True", + "False" + ], + "required": true, + "type": "bool" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "bool" + } + ], + "return_type": "bool" + }, + "request_is_shaking": { + "accepts_kwargs": false, + "description": "Whether the shaker is running, continuously or periodically.\n\n(PyLabRobot: PrepHamiltonHeaterShaker.request_is_shaking)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "options": [ + "True", + "False" + ], + "required": true, + "type": "bool" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "bool" + } + ], + "return_type": "bool" + }, + "request_plate_locked": { + "accepts_kwargs": false, + "description": "Whether the plate lock is closed.\n\n(PyLabRobot: PrepHamiltonHeaterShaker.request_plate_locked)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "options": [ + "True", + "False" + ], + "required": true, + "type": "bool" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "bool" + } + ], + "return_type": "bool" + }, + "request_shaking_status": { + "accepts_kwargs": false, + "description": "Mode, current and target speed, and remaining time, as the shaker answers them.\n\n(PyLabRobot: PrepHamiltonHeaterShaker.request_shaking_status)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, Any]", + "value_type": { + "type": "Any" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, Any]" + } + ], + "return_type": "Dict[str, Any]" + }, + "shake": { + "accepts_kwargs": false, + "description": "Shake for `duration` seconds, timed here, then stop.\n\n(PyLabRobot: PrepHamiltonHeaterShaker.shake)", + "is_coroutine": false, + "parameters": { + "acceleration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "direction": { + "choices": [ + { + "label": "clockwise", + "value": "clockwise" + }, + { + "label": "counter_clockwise", + "value": "counter_clockwise" + } + ], + "default": null, + "optional": true, + "options": [ + "clockwise", + "counter_clockwise" + ], + "required": false, + "type": "Literal" + }, + "duration": { + "numeric": true, + "required": true, + "type": "float" + }, + "speed": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "start_periodic_shaking": { + "accepts_kwargs": false, + "description": "Stop shaking, lock the plate, and shake for `on_time` of every `period`.\n\n(PyLabRobot: PrepHamiltonHeaterShaker.start_periodic_shaking)", + "is_coroutine": false, + "parameters": { + "acceleration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "direction": { + "choices": [ + { + "label": "clockwise", + "value": "clockwise" + }, + { + "label": "counter_clockwise", + "value": "counter_clockwise" + } + ], + "default": null, + "optional": true, + "options": [ + "clockwise", + "counter_clockwise" + ], + "required": false, + "type": "Literal" + }, + "duration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "leave_locked": { + "default": null, + "optional": true, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "on_time": { + "numeric": true, + "required": true, + "type": "int" + }, + "period": { + "numeric": true, + "required": true, + "type": "int" + }, + "speed": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "start_shaking": { + "accepts_kwargs": false, + "description": "Stop shaking, lock the plate, and start continuously; return once it reports running.\n\n(PyLabRobot: PrepHamiltonHeaterShaker.start_shaking)", + "is_coroutine": false, + "parameters": { + "acceleration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "direction": { + "choices": [ + { + "label": "clockwise", + "value": "clockwise" + }, + { + "label": "counter_clockwise", + "value": "counter_clockwise" + } + ], + "default": null, + "optional": true, + "options": [ + "clockwise", + "counter_clockwise" + ], + "required": false, + "type": "Literal" + }, + "duration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "leave_locked": { + "default": null, + "optional": true, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "speed": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "start_temperature_control": { + "accepts_kwargs": false, + "description": "Start heating to `temperature`, in °C, and hold it.\n\n(PyLabRobot: PrepHamiltonHeaterShaker.start_temperature_control)", + "is_coroutine": false, + "parameters": { + "supervision_timeout": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "supervision_tolerance": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "temperature": { + "numeric": true, + "required": true, + "type": "float" + }, + "wait_until_reached": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "stop_shaking": { + "accepts_kwargs": false, + "description": "Stop shaking. TODO(device): whether the command waits for the drive, or this must poll.\n\n(PyLabRobot: PrepHamiltonHeaterShaker.stop_shaking)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "stop_temperature_control": { + "accepts_kwargs": false, + "description": "Stop heating.\n\n(PyLabRobot: PrepHamiltonHeaterShaker.stop_temperature_control)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "unlock_plate": { + "accepts_kwargs": false, + "description": "Open the plate lock.\n\n(PyLabRobot: PrepHamiltonHeaterShaker.unlock_plate)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "wait_for_temperature": { + "accepts_kwargs": false, + "description": "Wait until the temperature is within `tolerance` of the target; return it.\n\n(PyLabRobot: PrepHamiltonHeaterShaker.wait_for_temperature)", + "is_coroutine": false, + "parameters": { + "timeout": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "tolerance": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + } + }, + "PrepLights": { + "animate_error_pulse": { + "accepts_kwargs": false, + "description": "Pulse the deck red, swelling into a deep orange, to be seen across a room.\n\n(PyLabRobot: Lights.animate_error_pulse)", + "is_coroutine": false, + "parameters": { + "duration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "high": { + "default": 100.0, + "numeric": true, + "required": false, + "type": "float" + }, + "low": { + "default": 30.0, + "numeric": true, + "required": false, + "type": "float" + }, + "period": { + "default": 2.0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "disco": { + "accepts_kwargs": false, + "description": "Easter egg: random colours, and then the deck goes dark.\n\n(PyLabRobot: Lights.disco)", + "is_coroutine": false, + "parameters": { + "duration": { + "default": 15, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "step": { + "default": 0.1, + "numeric": true, + "required": false, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "request_color": { + "accepts_kwargs": false, + "description": "The colour the light stands at, as (white, red, green, blue), each 0 to 255.\n\n(PyLabRobot: Lights.request_color)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "stop_animation": { + "accepts_kwargs": false, + "description": "Stop an animation, if one is running, for a colour to be set in its place.\n\n(PyLabRobot: Lights.stop_animation)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "turn_off": { + "accepts_kwargs": false, + "description": "Darken every LED, ending any animation.\n\n(PyLabRobot: Lights.turn_off)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "turn_on": { + "accepts_kwargs": false, + "description": "Light the deck white.\n\n(PyLabRobot: Lights.turn_on)", + "is_coroutine": false, + "parameters": { + "brightness": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "wait_for_animation": { + "accepts_kwargs": false, + "description": "Hold until the animation running has ended, if one is. A stopped animation is not waited on.\n\n(PyLabRobot: Lights.wait_for_animation)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + } + }, + "PrepPipettes": { + "add_tip_mounting_shaft": { + "accepts_kwargs": false, + "description": "Hang a tip mounting shaft off the lower end of a channel, and measure the channel from it.\n\n(PyLabRobot: Pipettes.add_tip_mounting_shaft)", + "is_coroutine": false, + "parameters": { + "channel": { + "labware": [], + "options": [ + "tips", + "tips_b", + "reservoir", + "assay_plate", + "sample_plate", + "waste_block", + "waste_rear", + "waste_front", + "waste_mph" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "aspirate": { + "accepts_kwargs": false, + "description": "Draw liquid from each container with a channel's tip, one command per batch.\n\n(PyLabRobot: Pipettes.aspirate)", + "is_coroutine": false, + "parameters": { + "approach_speed": { + "default": 125.0, + "numeric": true, + "required": false, + "type": "float" + }, + "clld_sensitivity": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "clot_detection_heights": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "command_version": { + "choices": [ + { + "label": "v1", + "value": "v1" + }, + { + "label": "v2", + "value": "v2" + } + ], + "default": null, + "optional": true, + "options": [ + "v1", + "v2" + ], + "required": false, + "type": "Literal" + }, + "container_segments": { + "default": null, + "is_list": true, + "item_type": { + "is_list": true, + "item_type": { + "fields": { + "area_bottom": { + "numeric": true, + "required": true, + "type": "float" + }, + "area_top": { + "numeric": true, + "required": true, + "type": "float" + }, + "height": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "is_object": true, + "type": "SegmentDescriptor" + }, + "type": "List[pylabrobot.hamilton.prep.driver.prep_commands.SegmentDescriptor]" + }, + "optional": true, + "required": false, + "type": "Optional[List[List[pylabrobot.hamilton.prep.driver.prep_commands.SegmentDescriptor]]]" + }, + "containers": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "immersion_depths": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "limit_curve_indices": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + }, + "minimum_allowed_z_positions_during": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "minimum_traverse_height_during": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_end": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_start": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "mix_positions_from_liquid_surface": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "piston_volumes": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "pre_wetting_volumes": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "pull_out_distances_transport_air": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "resource_offsets": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "search_speed": { + "default": 10.0, + "numeric": true, + "required": false, + "type": "float" + }, + "settling_times": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "surface_following_distances": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "swap_speeds": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "tadm": { + "default": null, + "fields": { + "default_values": { + "options": [ + "True", + "False" + ], + "required": true, + "type": "bool" + }, + "limit_curve_index": { + "numeric": true, + "required": true, + "type": "int" + }, + "recording_mode": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "TadmParameters" + }, + "tadm_storage_level": { + "choices": [ + { + "label": "errors_only", + "value": "errors_only" + }, + { + "label": "all", + "value": "all" + } + ], + "default": null, + "optional": true, + "options": [ + "errors_only", + "all" + ], + "required": false, + "type": "Literal" + }, + "transport_air_volumes": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + }, + "volumes": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "x_grouping_tolerance": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "z_air": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "can_pick_up_tip": { + "accepts_kwargs": false, + "description": "Check if the tip can be picked up by the specified channel.\n\n(PyLabRobot: Pipettes.can_pick_up_tip)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + }, + "tip": { + "labware": [], + "options": [ + "tips", + "tips_b", + "reservoir", + "assay_plate", + "sample_plate", + "waste_block", + "waste_rear", + "waste_front", + "waste_mph" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "options": [ + "True", + "False" + ], + "required": true, + "type": "bool" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "bool" + } + ], + "return_type": "bool" + }, + "channel_enum": { + "accepts_kwargs": false, + "description": "The firmware's ChannelIndex for a channel.\n\n(PyLabRobot: Pipettes.channel_enum)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "numeric": true, + "required": true, + "type": "int" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "int" + } + ], + "return_type": "int" + }, + "channel_of": { + "accepts_kwargs": false, + "description": "The channel, 0-indexed from the back, that a firmware ChannelIndex names, or None for no pipetting channel.\n\n(PyLabRobot: Pipettes.channel_of)", + "is_coroutine": false, + "parameters": { + "channel_enum": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "Optional[int]" + } + ], + "return_type": "Optional[int]" + }, + "consolidate_tip_inventory": { + "accepts_kwargs": false, + "description": "Move tips between partly filled racks of one tip model until they fill the fewest racks.\n\n(PyLabRobot: Pipettes.consolidate_tip_inventory)", + "is_coroutine": false, + "parameters": { + "tip_racks": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "tip_rack" + ] + } + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "discard_tips": { + "accepts_kwargs": true, + "description": "Discard each channel's tip into the deck's waste, each at its own waste position.\n\n(PyLabRobot: Pipettes.discard_tips)", + "is_coroutine": false, + "parameters": { + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "discover": { + "accepts_kwargs": false, + "description": "Find each channel in the firmware tree, and read what it reports about itself.\n\n(PyLabRobot: Pipettes.discover)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "dispense": { + "accepts_kwargs": false, + "description": "Push liquid into each container from a channel's tip, one command per batch.\n\n(PyLabRobot: Pipettes.dispense)", + "is_coroutine": false, + "parameters": { + "approach_speed": { + "default": 125.0, + "numeric": true, + "required": false, + "type": "float" + }, + "clld_sensitivity": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "command_version": { + "choices": [ + { + "label": "v1", + "value": "v1" + }, + { + "label": "v2", + "value": "v2" + } + ], + "default": null, + "optional": true, + "options": [ + "v1", + "v2" + ], + "required": false, + "type": "Literal" + }, + "container_segments": { + "default": null, + "is_list": true, + "item_type": { + "is_list": true, + "item_type": { + "fields": { + "area_bottom": { + "numeric": true, + "required": true, + "type": "float" + }, + "area_top": { + "numeric": true, + "required": true, + "type": "float" + }, + "height": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "is_object": true, + "type": "SegmentDescriptor" + }, + "type": "List[pylabrobot.hamilton.prep.driver.prep_commands.SegmentDescriptor]" + }, + "optional": true, + "required": false, + "type": "Optional[List[List[pylabrobot.hamilton.prep.driver.prep_commands.SegmentDescriptor]]]" + }, + "containers": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "cut_off_speeds": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "immersion_depths": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "limit_curve_indices": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + }, + "minimum_allowed_z_positions_during": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "minimum_traverse_height_during": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_end": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_start": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "mix_positions_from_liquid_surface": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "piston_volumes": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "pull_out_distances_transport_air": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "resource_offsets": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "search_speed": { + "default": 10.0, + "numeric": true, + "required": false, + "type": "float" + }, + "settling_times": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "side_touch_off_distance": { + "default": 0.0, + "numeric": true, + "required": false, + "type": "float" + }, + "stop_back_volumes": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "swap_speeds": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "transport_air_volumes": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + }, + "volumes": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "x_grouping_tolerance": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "z_air": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "dispensing_drive_request_uL_position": { + "accepts_kwargs": false, + "description": "Read where one channel's dispensing drive stands, in uL.\n\n(PyLabRobot: Pipettes.dispensing_drive_request_uL_position)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "dispensing_drives_request_uL_positions": { + "accepts_kwargs": false, + "description": "Read where every channel's dispensing drive stands, in uL.\n\n(PyLabRobot: Pipettes.dispensing_drives_request_uL_positions)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, Any]", + "value_type": { + "type": "Any" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, Any]" + } + ], + "return_type": "Dict[str, Any]" + }, + "drop_tips": { + "accepts_kwargs": false, + "description": "Drop tips into tip spots, wherever on the deck they are, or into the waste.\n\n(PyLabRobot: Pipettes.drop_tips)", + "is_coroutine": false, + "parameters": { + "destinations": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "tip_rack", + "trash" + ] + } + }, + "drop_type": { + "choices": [ + { + "label": "FixedHeight", + "value": 0 + }, + { + "label": "Stall", + "value": 1 + }, + { + "label": "CLLDSeek", + "value": 2 + } + ], + "default": "FixedHeight", + "numeric": true, + "options": [ + 0, + 1, + 2 + ], + "required": false, + "type": "TipDropType" + }, + "minimum_traverse_height_during": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_end": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_start": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "seek_speed": { + "default": 15.0, + "numeric": true, + "required": false, + "type": "float" + }, + "tip_roll_off_distance": { + "default": 0.0, + "numeric": true, + "required": false, + "type": "float" + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + }, + "x_tolerance": { + "default": 0.1, + "numeric": true, + "required": false, + "type": "float" + }, + "z_seek_offset": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "empty_tip": { + "accepts_kwargs": false, + "description": "Push everything out of one channel's tip where it stands. `DDrive.MoveAbsolute`.\n\n(PyLabRobot: Pipettes.empty_tip)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + }, + "flow_rate": { + "default": 200.0, + "numeric": true, + "required": false, + "type": "float" + }, + "position": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "reset_dispensing_drive_after": { + "default": true, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "empty_tips": { + "accepts_kwargs": false, + "description": "Empty several channels' tips where they stand. See `empty_tip`.\n\n(PyLabRobot: Pipettes.empty_tips)", + "is_coroutine": false, + "parameters": { + "flow_rate": { + "default": 200.0, + "numeric": true, + "required": false, + "type": "float" + }, + "position": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "reset_dispensing_drive_after": { + "default": true, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "get_mounted_tip": { + "accepts_kwargs": false, + "description": "The tip the model has on a channel's shaft, or None if it carries none.\n\n(PyLabRobot: Pipettes.get_mounted_tip)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "required": true, + "type": "Any" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Any" + } + ], + "return_type": "Any" + }, + "get_mounted_tips": { + "accepts_kwargs": false, + "description": "The tip on each channel's shaft, back to front, ``None`` where there is none.\n\n(PyLabRobot: Pipettes.get_mounted_tips)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "get_reference_point_location": { + "accepts_kwargs": false, + "description": "Where the model has a channel's reference point, in mm on the deck.\n\n(PyLabRobot: Pipettes.get_reference_point_location)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + }, + "return_paths": [ + { + "numeric": true, + "path": "x", + "type": "float" + }, + { + "numeric": true, + "path": "y", + "type": "float" + }, + { + "numeric": true, + "path": "z", + "type": "float" + } + ], + "return_type": "Optional[Coordinate]" + }, + "move_stop_disc_to_z_position": { + "accepts_kwargs": false, + "description": "Move the stop disc of one channel along Z.\n\n(PyLabRobot: Pipettes.move_stop_disc_to_z_position)", + "is_coroutine": false, + "parameters": { + "acceleration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "channel": { + "numeric": true, + "required": true, + "type": "int" + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "z": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_stop_disc_to_z_positions": { + "accepts_kwargs": false, + "description": "Move the stop disc of channels along Z together.\n\n(PyLabRobot: Pipettes.move_stop_disc_to_z_positions)", + "is_coroutine": false, + "parameters": { + "acceleration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "zs": { + "is_mapping": true, + "key_type": { + "numeric": true, + "type": "int" + }, + "required": true, + "type": "Dict[int, float]", + "value_type": { + "numeric": true, + "type": "float" + } + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_to_safe_z": { + "accepts_kwargs": false, + "description": "Move the given channels' Z axes up to safe (traverse) height (cmd=28).\n\n(PyLabRobot: Pipettes.move_to_safe_z)", + "is_coroutine": false, + "parameters": { + "channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_to_x_position": { + "accepts_kwargs": false, + "description": "Move the gantry along X. The channels share it, so they all move.\n\n(PyLabRobot: Pipettes.move_to_x_position)", + "is_coroutine": false, + "parameters": { + "acceleration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_start": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "x": { + "numeric": true, + "required": true, + "type": "float" + }, + "z_acceleration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "z_speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_to_xy_positions": { + "accepts_kwargs": false, + "description": "Move the channels across the deck, travelling at one height.\n\n(PyLabRobot: Pipettes.move_to_xy_positions)", + "is_coroutine": false, + "parameters": { + "make_space": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "minimum_traverse_height_start": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "via_lane": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "x": { + "numeric": true, + "required": true, + "type": "float" + }, + "x_speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "x_speed_scale": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "ys": { + "is_mapping": true, + "key_type": { + "numeric": true, + "type": "int" + }, + "required": true, + "type": "Dict[int, float]", + "value_type": { + "numeric": true, + "type": "float" + } + }, + "z_acceleration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "z_speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_to_y_position": { + "accepts_kwargs": false, + "description": "Move one channel along Y.\n\n(PyLabRobot: Pipettes.move_to_y_position)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "y": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_to_y_positions": { + "accepts_kwargs": false, + "description": "Move channels along Y together.\n\n(PyLabRobot: Pipettes.move_to_y_positions)", + "is_coroutine": false, + "parameters": { + "make_space": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "ys": { + "is_mapping": true, + "key_type": { + "numeric": true, + "type": "int" + }, + "required": true, + "type": "Dict[int, float]", + "value_type": { + "numeric": true, + "type": "float" + } + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_tool_bottom_to_z_position": { + "accepts_kwargs": false, + "description": "Move the tool bottom of one channel along Z.\n\n(PyLabRobot: Pipettes.move_tool_bottom_to_z_position)", + "is_coroutine": false, + "parameters": { + "acceleration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "channel": { + "numeric": true, + "required": true, + "type": "int" + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "z": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_tool_bottom_to_z_positions": { + "accepts_kwargs": false, + "description": "Move the tool bottom of channels along Z together.\n\n(PyLabRobot: Pipettes.move_tool_bottom_to_z_positions)", + "is_coroutine": false, + "parameters": { + "acceleration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "zs": { + "is_mapping": true, + "key_type": { + "numeric": true, + "type": "int" + }, + "required": true, + "type": "Dict[int, float]", + "value_type": { + "numeric": true, + "type": "float" + } + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "pick_up_tips": { + "accepts_kwargs": false, + "description": "Pick up tips from tip spots, wherever on the deck they are.\n\n(PyLabRobot: Pipettes.pick_up_tips)", + "is_coroutine": false, + "parameters": { + "dispenser_speed": { + "default": 250.0, + "numeric": true, + "required": false, + "type": "float" + }, + "dispenser_volume": { + "default": 0.0, + "numeric": true, + "required": false, + "type": "float" + }, + "enable_tadm": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "minimum_traverse_height_during": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_end": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_start": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "seek_speed": { + "default": 15.0, + "numeric": true, + "required": false, + "type": "float" + }, + "tip_spots": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "tip_rack" + ] + } + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + }, + "x_tolerance": { + "default": 0.1, + "numeric": true, + "required": false, + "type": "float" + }, + "z_seek_offset": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "probe_all_resourceholder_edges": { + "accepts_kwargs": false, + "description": "Probe the four walls of every resource holder's aperture with the channel's cLLD.\n\n(PyLabRobot: Pipettes.probe_all_resourceholder_edges)", + "is_coroutine": false, + "parameters": { + "channel_idx": { + "default": 0, + "numeric": true, + "required": false, + "type": "int" + }, + "hole_x": { + "default": 112.0, + "numeric": true, + "required": false, + "type": "float" + }, + "hole_y": { + "default": 77.0, + "numeric": true, + "required": false, + "type": "float" + }, + "margin": { + "default": 4.5, + "numeric": true, + "required": false, + "type": "float" + }, + "n_replicates": { + "default": 3, + "numeric": true, + "required": false, + "type": "int" + }, + "probe_z": { + "default": -2.0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, Any]", + "value_type": { + "type": "Any" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, Any]" + } + ], + "return_type": "Dict[str, Any]" + }, + "probe_calibration_block_cct": { + "accepts_kwargs": false, + "description": "Find the calibration block's top centre with the channel's ztouch and cLLD.\n\n(PyLabRobot: Pipettes.probe_calibration_block_cct)", + "is_coroutine": false, + "parameters": { + "below_the_top": { + "default": 1.0, + "numeric": true, + "required": false, + "type": "float" + }, + "channel_idx": { + "default": 0, + "numeric": true, + "required": false, + "type": "int" + }, + "n_replicates": { + "default": 3, + "numeric": true, + "required": false, + "type": "int" + }, + "search_start_position": { + "default": 30.0, + "numeric": true, + "required": false, + "type": "float" + }, + "tip_bottom_diameter": { + "default": 1.2, + "numeric": true, + "required": false, + "type": "float" + } + }, + "return_info": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": true, + "type": "Coordinate" + }, + "return_paths": [ + { + "numeric": true, + "path": "x", + "type": "float" + }, + { + "numeric": true, + "path": "y", + "type": "float" + }, + { + "numeric": true, + "path": "z", + "type": "float" + } + ], + "return_type": "Coordinate" + }, + "probe_deck_corner_z_offsets": { + "accepts_kwargs": false, + "description": "Probe the deck's height at its four corners with the channel's ztouch.\n\n(PyLabRobot: Pipettes.probe_deck_corner_z_offsets)", + "is_coroutine": false, + "parameters": { + "channel_idx": { + "default": 1, + "numeric": true, + "required": false, + "type": "int" + }, + "n_replicates": { + "default": 3, + "numeric": true, + "required": false, + "type": "int" + }, + "search_start_position": { + "default": 30.0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, Any]", + "value_type": { + "type": "Any" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, Any]" + } + ], + "return_type": "Dict[str, Any]" + }, + "probe_edges_using_clld": { + "accepts_kwargs": false, + "description": "Find the four edges of something on the deck, with the channel's cLLD.\n\n(PyLabRobot: Pipettes.probe_edges_using_clld)", + "is_coroutine": false, + "parameters": { + "allow_without_tip": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "back_approach": { + "default": 15.0, + "numeric": true, + "required": false, + "type": "float" + }, + "below_the_top": { + "default": 1.0, + "numeric": true, + "required": false, + "type": "float" + }, + "between_edges": { + "default": 20.0, + "numeric": true, + "required": false, + "type": "float" + }, + "channel_idx": { + "numeric": true, + "required": true, + "type": "int" + }, + "front_approach": { + "default": 9.0, + "numeric": true, + "required": false, + "type": "float" + }, + "n_replicates": { + "default": 2, + "numeric": true, + "required": false, + "type": "int" + }, + "search_speed": { + "default": 5.0, + "numeric": true, + "required": false, + "type": "float" + }, + "side_approach": { + "default": 12.0, + "numeric": true, + "required": false, + "type": "float" + }, + "stop_disc_diameter": { + "default": 7.0, + "numeric": true, + "required": false, + "type": "float" + }, + "target": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": true, + "type": "Coordinate" + }, + "tip_bottom_diameter": { + "default": 1.2, + "numeric": true, + "required": false, + "type": "float" + } + }, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, Any]", + "value_type": { + "type": "Any" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, Any]" + } + ], + "return_type": "Dict[str, Any]" + }, + "probe_liquid_heights": { + "accepts_kwargs": false, + "description": "Find the liquid surface in each container with a channel's tip, and say how high it stands.\n\n(PyLabRobot: Pipettes.probe_liquid_heights)", + "is_coroutine": false, + "parameters": { + "containers": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "minimum_traverse_height_during": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_end": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_start": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "n_replicates": { + "default": 1, + "numeric": true, + "required": false, + "type": "int" + }, + "resource_offsets": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "search_speed": { + "default": 10.0, + "numeric": true, + "required": false, + "type": "float" + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + }, + "x_grouping_tolerance": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "probe_liquid_volumes": { + "accepts_kwargs": false, + "description": "Find the liquid in each container as `probe_liquid_heights` does, and say how much there is.\n\n(PyLabRobot: Pipettes.probe_liquid_volumes)", + "is_coroutine": false, + "parameters": { + "containers": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "minimum_traverse_height_during": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_end": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_start": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "n_replicates": { + "default": 1, + "numeric": true, + "required": false, + "type": "int" + }, + "resource_offsets": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "search_speed": { + "default": 10.0, + "numeric": true, + "required": false, + "type": "float" + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + }, + "x_grouping_tolerance": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "probe_x_using_clld": { + "accepts_kwargs": false, + "description": "Probe a conductive surface along X with the channel's cLLD, in 0.1 mm arm steps.\n\n(PyLabRobot: Pipettes.probe_x_using_clld)", + "is_coroutine": false, + "parameters": { + "allow_without_tip": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "channel_idx": { + "numeric": true, + "required": true, + "type": "int" + }, + "detect_mode": { + "default": 2, + "numeric": true, + "required": false, + "type": "int" + }, + "direction": { + "choices": [ + { + "label": "left", + "value": "left" + }, + { + "label": "right", + "value": "right" + } + ], + "options": [ + "left", + "right" + ], + "required": true, + "type": "Literal" + }, + "minimum_traverse_height_start": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "post_detection_distance": { + "default": 2.0, + "numeric": true, + "required": false, + "type": "float" + }, + "search_end_position": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "search_start_position": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "sensitivity": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "stop_disc_diameter": { + "default": 7.0, + "numeric": true, + "required": false, + "type": "float" + }, + "tip_bottom_diameter": { + "default": 1.2, + "numeric": true, + "required": false, + "type": "float" + } + }, + "return_info": { + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "Optional[float]" + } + ], + "return_type": "Optional[float]" + }, + "probe_y_using_clld": { + "accepts_kwargs": false, + "description": "Probe a conductive surface along Y with the channel's YAxis cLLD seek.\n\n(PyLabRobot: Pipettes.probe_y_using_clld)", + "is_coroutine": false, + "parameters": { + "allow_without_tip": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "channel_idx": { + "numeric": true, + "required": true, + "type": "int" + }, + "detect_mode": { + "default": 2, + "numeric": true, + "required": false, + "type": "int" + }, + "direction": { + "choices": [ + { + "label": "forward", + "value": "forward" + }, + { + "label": "backward", + "value": "backward" + } + ], + "options": [ + "forward", + "backward" + ], + "required": true, + "type": "Literal" + }, + "minimum_traverse_height_start": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "post_detection_distance": { + "default": 2.0, + "numeric": true, + "required": false, + "type": "float" + }, + "search_end_position": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "search_speed": { + "default": 10.0, + "numeric": true, + "required": false, + "type": "float" + }, + "search_start_position": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "sensitivity": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "stop_disc_diameter": { + "default": 7.0, + "numeric": true, + "required": false, + "type": "float" + }, + "tip_bottom_diameter": { + "default": 1.2, + "numeric": true, + "required": false, + "type": "float" + } + }, + "return_info": { + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "Optional[float]" + } + ], + "return_type": "Optional[float]" + }, + "probe_z_using_clld": { + "accepts_kwargs": false, + "description": "Lower a channel where it stands until its cLLD triggers.\n\n(PyLabRobot: Pipettes.probe_z_using_clld)", + "is_coroutine": false, + "parameters": { + "allow_without_tip": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "channel_idx": { + "numeric": true, + "required": true, + "type": "int" + }, + "detect_mode": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "move_channels_to_safe_pos_after": { + "default": null, + "optional": true, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "move_to_safe_z_position_after": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "post_detection_distance": { + "default": 2.0, + "numeric": true, + "required": false, + "type": "float" + }, + "search_end_position": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "search_speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "search_start_position": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "sensitivity": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + } + }, + "return_info": { + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "Optional[float]" + } + ], + "return_type": "Optional[float]" + }, + "probe_z_using_ztouch": { + "accepts_kwargs": false, + "description": "Lower a channel where it stands until it meets resistance, with its Z axis's obstacle seek.\n\n(PyLabRobot: Pipettes.probe_z_using_ztouch)", + "is_coroutine": false, + "parameters": { + "allow_without_tip": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "channel_idx": { + "numeric": true, + "required": true, + "type": "int" + }, + "end_tolerance": { + "default": 1.2, + "numeric": true, + "required": false, + "type": "float" + }, + "move_channels_to_safe_pos_after": { + "default": null, + "optional": true, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "move_to_safe_z_position_after": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "post_detection_distance": { + "default": 2.0, + "numeric": true, + "required": false, + "type": "float" + }, + "push_force_pwm": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "search_end_position": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "search_speed": { + "default": 10.0, + "numeric": true, + "required": false, + "type": "float" + }, + "search_start_position": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "tip_len": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "Optional[float]" + } + ], + "return_type": "Optional[float]" + }, + "read_tadm_curve": { + "accepts_kwargs": false, + "description": "Read the TADM data a channel recorded. `Pipettor.RetrieveTadmData`.\n\n(PyLabRobot: Pipettes.read_tadm_curve)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, Any]", + "value_type": { + "type": "Any" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, Any]" + } + ], + "return_type": "Dict[str, Any]" + }, + "release_tips": { + "accepts_kwargs": false, + "description": "Let go of whatever each channel holds, where it stands, with the squeeze drive alone.\n\n(PyLabRobot: Pipettes.release_tips)", + "is_coroutine": false, + "parameters": { + "channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "request_attached_tip_information": { + "accepts_kwargs": false, + "description": "Read the tip definition the device holds for a pipette, as sent when it was picked up.\n\n(PyLabRobot: Pipettes.request_attached_tip_information)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, Any]", + "value_type": { + "type": "Any" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, Any]" + } + ], + "return_type": "Dict[str, Any]" + }, + "request_channel_bounds": { + "accepts_kwargs": false, + "description": "Request per-channel movement bounds from the firmware (cmd=10).\n\n(PyLabRobot: Pipettes.request_channel_bounds)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "request_firmware_version": { + "accepts_kwargs": false, + "description": "Firmware version string for pipettor channel (0=rearmost).\n\n(PyLabRobot: Pipettes.request_firmware_version)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "optional": true, + "required": false, + "type": "Optional[str]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Optional[str]" + } + ], + "return_type": "Optional[str]" + }, + "request_held_tip_length": { + "accepts_kwargs": false, + "description": "Request the length of the tip the channels hold, below the stop disc.\n\n(PyLabRobot: Pipettes.request_held_tip_length)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "request_locations": { + "accepts_kwargs": false, + "description": "Request the current XYZ positions of all pipettor channels.\n\n(PyLabRobot: Pipettes.request_locations)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "request_stop_disc_z_position": { + "accepts_kwargs": false, + "description": "Request the Z position of the channel probe/head (excluding tip).\n\n(PyLabRobot: Pipettes.request_stop_disc_z_position)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "request_tip_overhang": { + "accepts_kwargs": false, + "description": "Read how far the tip on one channel stands below its stop disc, in mm.\n\n(PyLabRobot: Pipettes.request_tip_overhang)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "request_tip_overhangs": { + "accepts_kwargs": false, + "description": "Read how far the tip on each channel stands below its stop disc, in mm.\n\n(PyLabRobot: Pipettes.request_tip_overhangs)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, Any]", + "value_type": { + "type": "Any" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, Any]" + } + ], + "return_type": "Dict[str, Any]" + }, + "request_tool_bottom_z_position": { + "accepts_kwargs": false, + "description": "Request the Z position of the tip bottom on the specified channel.\n\n(PyLabRobot: Pipettes.request_tool_bottom_z_position)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "request_tool_bottom_z_positions": { + "accepts_kwargs": false, + "description": "Read where the bottom of the tip on every channel is.\n\n(PyLabRobot: Pipettes.request_tool_bottom_z_positions)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, Any]", + "value_type": { + "type": "Any" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, Any]" + } + ], + "return_type": "Dict[str, Any]" + }, + "request_x_position": { + "accepts_kwargs": false, + "description": "Request X position of the gantry, which all channels share (in mm).\n\n(PyLabRobot: Pipettes.request_x_position)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "request_y_position": { + "accepts_kwargs": false, + "description": "Request Y position of pipettor channel n (in mm).\n\n(PyLabRobot: Pipettes.request_y_position)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "request_y_positions": { + "accepts_kwargs": false, + "description": "Request where every channel is along Y, in one command.\n\n(PyLabRobot: Pipettes.request_y_positions)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "request_z_position": { + "accepts_kwargs": false, + "description": "Request Z position of pipettor channel n (in mm).\n\n(PyLabRobot: Pipettes.request_z_position)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "request_z_positions": { + "accepts_kwargs": false, + "description": "Request where every channel is along Z, in one command.\n\n(PyLabRobot: Pipettes.request_z_positions)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "return_tips": { + "accepts_kwargs": true, + "description": "Put each channel's tip back in the tip spot it was picked up from, as legacy does.\n\n(PyLabRobot: Pipettes.return_tips)", + "is_coroutine": false, + "parameters": { + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "sense_tip_presence": { + "accepts_kwargs": false, + "description": "Sense whether a tip is physically present on each pipettor channel via the sleeve sensor.\n\n(PyLabRobot: Pipettes.sense_tip_presence)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "serialize": { + "accepts_kwargs": false, + "description": "PyLabRobot: Pipettes.serialize", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "Any" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Any" + } + ], + "return_type": "Any" + }, + "shaft": { + "accepts_kwargs": false, + "description": "The mounting shaft modelling a channel, or None while nothing models it.\n\n(PyLabRobot: Pipettes.shaft)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "required": true, + "type": "Any" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Any" + } + ], + "return_type": "Any" + }, + "stop": { + "accepts_kwargs": false, + "description": "PyLabRobot: Pipettes.stop", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "update_location_by_reference_point": { + "accepts_kwargs": false, + "description": "Record where a channel is on the resource that models it.\n\n(PyLabRobot: Pipettes.update_location_by_reference_point)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + }, + "y": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "z": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + } + }, + "STAR": { + "define_tip_needle": { + "accepts_kwargs": false, + "description": "Write one entry of the device's tip type table.\n\n(PyLabRobot: STARDriver.define_tip_needle)", + "is_coroutine": false, + "parameters": { + "has_filter": { + "options": [ + "True", + "False" + ], + "required": true, + "type": "bool" + }, + "maximum_tip_volume": { + "numeric": true, + "required": true, + "type": "float" + }, + "pickup_method": { + "choices": [ + { + "label": "OUT_OF_RACK", + "value": 0 + }, + { + "label": "OUT_OF_WASH_LIQUID", + "value": 1 + } + ], + "options": [ + 0, + 1 + ], + "required": true, + "type": "TipPickupMethod" + }, + "tip_length": { + "numeric": true, + "required": true, + "type": "float" + }, + "tip_size": { + "choices": [ + { + "label": "UNDEFINED", + "value": 0 + }, + { + "label": "LOW_VOLUME", + "value": 1 + }, + { + "label": "STANDARD_VOLUME", + "value": 2 + }, + { + "label": "HIGH_VOLUME", + "value": 3 + }, + { + "label": "CORE_384_HEAD_TIP", + "value": 4 + }, + { + "label": "XL", + "value": 5 + } + ], + "options": [ + 0, + 1, + 2, + 3, + 4, + 5 + ], + "required": true, + "type": "TipSize" + }, + "tip_type_table_index": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "equipment": { + "description": "", + "has_setter": false, + "is_coroutine": false, + "is_property": true, + "parameters": {}, + "property_access": "get", + "property_name": "equipment", + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, Any]", + "value_type": { + "type": "Any" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, Any]" + } + ], + "return_type": "Dict[str, Any]" + }, + "load_liquid": { + "accepts_kwargs": false, + "description": "Record what a person put on the worktable: this liquid, this much (µL), in these wells.\nNothing moves. (Not a PyLabRobot step: there it is `well.tracker.set_volume`.)", + "is_coroutine": false, + "parameters": { + "liquid": { + "required": true, + "type": "str" + }, + "resources": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "vols": { + "numeric": true, + "per_well": "resources", + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "read_volumes": { + "accepts_kwargs": false, + "description": "The volume tracked in each well (µL), by `plate[well]`. (PyLabRobot:\n`well.tracker.get_used_volume()`.)", + "is_coroutine": false, + "parameters": { + "resources": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + } + }, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, float]", + "value_type": { + "numeric": true, + "type": "float" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, float]" + } + ], + "return_type": "Dict[str, float]" + }, + "request_cover_input_status": { + "accepts_kwargs": false, + "description": "Read the three inputs on the cover connector.\n\n(PyLabRobot: STARDriver.request_cover_input_status)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "request_device_configuration": { + "accepts_kwargs": false, + "description": "Request the device's installed hardware and geometry.\n\n(PyLabRobot: STARDriver.request_device_configuration)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, Any]", + "value_type": { + "type": "Any" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, Any]" + } + ], + "return_type": "Dict[str, Any]" + }, + "request_device_serial_number": { + "accepts_kwargs": false, + "description": "Request what the device calls itself.\n\n(PyLabRobot: STARDriver.request_device_serial_number)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "str" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "str" + } + ], + "return_type": "str" + }, + "request_firmware_version": { + "accepts_kwargs": false, + "description": "Request the master's firmware version and build date.\n\n(PyLabRobot: STARDriver.request_firmware_version)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "request_initialization_status": { + "accepts_kwargs": false, + "description": "Whether a module reports itself initialized.\n\n(PyLabRobot: STARDriver.request_initialization_status)", + "is_coroutine": false, + "parameters": { + "module": { + "default": "C0", + "required": false, + "type": "str" + } + }, + "return_info": { + "options": [ + "True", + "False" + ], + "required": true, + "type": "bool" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "bool" + } + ], + "return_type": "bool" + }, + "request_maximal_ranges_of_x_drives": { + "accepts_kwargs": false, + "description": "Request the maximal travel range of each X drive.\n\n(PyLabRobot: STARDriver.request_maximal_ranges_of_x_drives)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, Any]", + "value_type": { + "type": "Any" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, Any]" + } + ], + "return_type": "Dict[str, Any]" + }, + "request_working_envelopes_per_arm": { + "accepts_kwargs": false, + "description": "Request the working envelope of each installed arm.\n\n(PyLabRobot: STARDriver.request_working_envelopes_per_arm)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, Any]", + "value_type": { + "type": "Any" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, Any]" + } + ], + "return_type": "Dict[str, Any]" + }, + "save_configuration": { + "accepts_kwargs": false, + "description": "Write what this device reported to a file, to be simulated from later.\n\n(PyLabRobot: STARDriver.save_configuration)", + "is_coroutine": false, + "parameters": { + "indent": { + "default": 2, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "path": { + "required": true, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "send_command": { + "accepts_kwargs": true, + "description": "Assemble a firmware command, send it, and parse the reply if a format is given.\n\n(PyLabRobot: STARDriver.send_command)", + "is_coroutine": false, + "parameters": { + "auto_id": { + "default": true, + "required": false, + "type": "Any" + }, + "command": { + "required": true, + "type": "str" + }, + "fmt": { + "default": null, + "optional": true, + "required": false, + "type": "Optional[Any]" + }, + "module": { + "required": true, + "type": "str" + }, + "read_timeout": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "subsystem": { + "default": null, + "optional": true, + "required": false, + "type": "Optional[str]" + }, + "tip_pattern": { + "default": null, + "is_list": true, + "item_type": { + "options": [ + "True", + "False" + ], + "type": "bool" + }, + "optional": true, + "required": false, + "type": "Optional[List[bool]]" + }, + "write_timeout": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "send_raw_command": { + "accepts_kwargs": false, + "description": "Send a raw command to the device.\n\n(PyLabRobot: STARDriver.send_raw_command)", + "is_coroutine": false, + "parameters": { + "command": { + "required": true, + "type": "str" + }, + "read_timeout": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "wait": { + "default": true, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "write_timeout": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + } + }, + "return_info": { + "optional": true, + "required": false, + "type": "Optional[str]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Optional[str]" + } + ], + "return_type": "Optional[str]" + }, + "setup": { + "accepts_kwargs": false, + "description": "Connect and initialize the STAR, and find what is fitted, checking it against the\nworktable file. Any other step does this itself the first time. (PyLabRobot: STAR.setup)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "stop": { + "accepts_kwargs": false, + "description": "Put the STAR down. The next step sets it up again. (PyLabRobot: STAR.stop)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "summary": { + "accepts_kwargs": false, + "description": "PyLabRobot's text summary of the worktable.", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "str" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "str" + } + ], + "return_type": "str" + }, + "tips_left": { + "accepts_kwargs": false, + "description": "How many unused tips the rack still has.", + "is_coroutine": false, + "parameters": { + "tip_rack": { + "labware": [ + "tip_rack" + ], + "options": [ + "teaching_tip_rack", + "tips", + "tips_b" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "numeric": true, + "required": true, + "type": "int" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "int" + } + ], + "return_type": "int" + } + }, + "STARAutoload": { + "clear_loading_indicators": { + "accepts_kwargs": false, + "description": "Put every indicator out.\n\n(PyLabRobot: Autoload.clear_loading_indicators)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "discover": { + "accepts_kwargs": false, + "description": "Read what autoload this is. Read-only: nothing moves.\n\n(PyLabRobot: Autoload.discover)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "initialize": { + "accepts_kwargs": false, + "description": "Initialize the autoload and everything else that makes it operational. This moves it.\n\n(PyLabRobot: Autoload.initialize)", + "is_coroutine": false, + "parameters": { + "park_after": { + "default": true, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "light_tracks": { + "accepts_kwargs": false, + "description": "Light the indicators over the tracks named, and leave every other one dark.\n\n(PyLabRobot: Autoload.light_tracks)", + "is_coroutine": false, + "parameters": { + "blinking": { + "default": null, + "is_list": true, + "item_type": { + "options": [ + "True", + "False" + ], + "type": "bool" + }, + "optional": true, + "required": false, + "type": "Optional[List[bool]]" + }, + "tracks": { + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "required": true, + "type": "List[int]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "load_carrier": { + "accepts_kwargs": false, + "description": "Load a carrier from the loading tray onto the deck, reading what it carries on the way.\n\n(PyLabRobot: Autoload.load_carrier)", + "is_coroutine": false, + "parameters": { + "barcode_reading": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "barcode_reading_direction": { + "choices": [ + { + "label": "vertical", + "value": "vertical" + }, + { + "label": "horizontal", + "value": "horizontal" + } + ], + "default": "horizontal", + "options": [ + "vertical", + "horizontal" + ], + "required": false, + "type": "Literal" + }, + "carrier": { + "labware": [], + "options": [ + "teaching_tip_rack", + "tips", + "tips_b", + "reservoir", + "assay_plate", + "sample_plate", + "trash_core96", + "trash" + ], + "required": true, + "type": "str" + }, + "carrier_barcode_reading": { + "default": true, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "containers_per_carrier": { + "default": 5, + "numeric": true, + "required": false, + "type": "int" + }, + "distance_between_containers": { + "default": 96.0, + "numeric": true, + "required": false, + "type": "float" + }, + "park_after": { + "default": true, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "reading_position_of_first_barcode": { + "default": 63.0, + "numeric": true, + "required": false, + "type": "float" + }, + "reading_speed": { + "default": 128.1, + "numeric": true, + "required": false, + "type": "float" + }, + "width_of_reading_window": { + "default": 38.0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "Any" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Any" + } + ], + "return_type": "Any" + }, + "load_carrier_from_autoload_belt": { + "accepts_kwargs": false, + "description": "Finish loading the carrier currently engaged with the autoload sled.\n\n(PyLabRobot: Autoload.load_carrier_from_autoload_belt)", + "is_coroutine": false, + "parameters": { + "barcode_reading": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "barcode_reading_direction": { + "choices": [ + { + "label": "vertical", + "value": "vertical" + }, + { + "label": "horizontal", + "value": "horizontal" + } + ], + "default": "horizontal", + "options": [ + "vertical", + "horizontal" + ], + "required": false, + "type": "Literal" + }, + "containers_per_carrier": { + "default": 5, + "numeric": true, + "required": false, + "type": "int" + }, + "distance_between_containers": { + "default": 96.0, + "numeric": true, + "required": false, + "type": "float" + }, + "park_after": { + "default": true, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "reading_position_of_first_barcode": { + "default": 63.0, + "numeric": true, + "required": false, + "type": "float" + }, + "reading_speed": { + "default": 128.1, + "numeric": true, + "required": false, + "type": "float" + }, + "width_of_reading_window": { + "default": 38.0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, Any]", + "value_type": { + "type": "Any" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, Any]" + } + ], + "return_type": "Dict[str, Any]" + }, + "load_carrier_from_tray_and_scan_carrier_barcode": { + "accepts_kwargs": false, + "description": "Load a carrier from the loading tray and scan its barcode.\n\n(PyLabRobot: Autoload.load_carrier_from_tray_and_scan_carrier_barcode)", + "is_coroutine": false, + "parameters": { + "barcode_position": { + "default": 4.3, + "numeric": true, + "required": false, + "type": "float" + }, + "barcode_reading_window_width": { + "default": 8.5, + "numeric": true, + "required": false, + "type": "float" + }, + "reading_speed": { + "default": 128.1, + "numeric": true, + "required": false, + "type": "float" + }, + "track": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "optional": true, + "required": false, + "type": "Optional[str]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Optional[str]" + } + ], + "return_type": "Optional[str]" + }, + "move_to_track": { + "accepts_kwargs": false, + "description": "Move the autoload to a specific track position, raising the wheel first.\n\n(PyLabRobot: Autoload.move_to_track)", + "is_coroutine": false, + "parameters": { + "acceleration_ramp": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "current_limit": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "track": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_to_x_position": { + "accepts_kwargs": false, + "description": "Move the sled along the deck to a position, raising the wheel first.\n\n(PyLabRobot: Autoload.move_to_x_position)", + "is_coroutine": false, + "parameters": { + "acceleration_ramp": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "current_limit": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "x": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_x_relative": { + "accepts_kwargs": false, + "description": "Move the sled by a distance from where it is now.\n\n(PyLabRobot: Autoload.move_x_relative)", + "is_coroutine": false, + "parameters": { + "acceleration_ramp": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "current_limit": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "distance": { + "numeric": true, + "required": true, + "type": "float" + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "park": { + "accepts_kwargs": false, + "description": "Park the autoload at the last track this device has.\nRaises:\n RuntimeError: If setup has not run, so the deck size is not known.\n\n(PyLabRobot: Autoload.park)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "request_adjustment_status": { + "accepts_kwargs": false, + "description": "Request when this autoload was adjusted, and whether it has been.\n\n(PyLabRobot: Autoload.request_adjustment_status)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "request_adjustment_values": { + "accepts_kwargs": false, + "description": "Request every adjustment value the module stores, as it writes them.\n\n(PyLabRobot: Autoload.request_adjustment_values)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "str" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "str" + } + ], + "return_type": "str" + }, + "request_autoload_type": { + "accepts_kwargs": false, + "description": "Request which kind of autoload is fitted.\n\n(PyLabRobot: Autoload.request_autoload_type)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "str" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "str" + } + ], + "return_type": "str" + }, + "request_firmware_version": { + "accepts_kwargs": false, + "description": "Request the autoload's firmware version and build date.\n\n(PyLabRobot: Autoload.request_firmware_version)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "request_init_slot": { + "accepts_kwargs": false, + "description": "Request the track the X drive initializes against.\n\n(PyLabRobot: Autoload.request_init_slot)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "numeric": true, + "required": true, + "type": "int" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "int" + } + ], + "return_type": "int" + }, + "request_initialization_status": { + "accepts_kwargs": false, + "description": "Request whether the autoload reports itself initialized.\n\n(PyLabRobot: Autoload.request_initialization_status)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "options": [ + "True", + "False" + ], + "required": true, + "type": "bool" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "bool" + } + ], + "return_type": "bool" + }, + "request_latest_barcode_read": { + "accepts_kwargs": false, + "description": "Request the barcode the scanner last read.\n\n(PyLabRobot: Autoload.request_latest_barcode_read)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "optional": true, + "required": false, + "type": "Optional[str]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Optional[str]" + } + ], + "return_type": "Optional[str]" + }, + "request_module_configuration": { + "accepts_kwargs": false, + "description": "Request what this autoload is built with: its scanner's step size, and its indicators.\n\n(PyLabRobot: Autoload.request_module_configuration)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "request_parameter": { + "accepts_kwargs": false, + "description": "Request one of the parameters the module stores, by name.\n\n(PyLabRobot: Autoload.request_parameter)", + "is_coroutine": false, + "parameters": { + "parameter": { + "required": true, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "str" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "str" + } + ], + "return_type": "str" + }, + "request_track": { + "accepts_kwargs": false, + "description": "Request the current track of the autoload's carrier handler.\n\n(PyLabRobot: Autoload.request_track)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "numeric": true, + "required": true, + "type": "int" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "int" + } + ], + "return_type": "int" + }, + "request_x_position": { + "accepts_kwargs": false, + "description": "Request where along the deck the scanner is.\n\n(PyLabRobot: Autoload.request_x_position)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "reset_barcode_scanner": { + "accepts_kwargs": false, + "description": "Reset the barcode scanner.\n\n(PyLabRobot: Autoload.reset_barcode_scanner)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "scanner_move_to_position": { + "accepts_kwargs": false, + "description": "Rotate the scanner to face one way or the other.\n\n(PyLabRobot: Autoload.scanner_move_to_position)", + "is_coroutine": false, + "parameters": { + "position": { + "choices": [ + { + "label": "vertical", + "value": "vertical" + }, + { + "label": "horizontal", + "value": "horizontal" + }, + { + "label": "undefined", + "value": "undefined" + } + ], + "options": [ + "vertical", + "horizontal", + "undefined" + ], + "required": true, + "type": "Literal" + }, + "stop_torque": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "scanner_request_rotation": { + "accepts_kwargs": false, + "description": "Request which way the scanner faces.\n\n(PyLabRobot: Autoload.scanner_request_rotation)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "Any" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Any" + } + ], + "return_type": "Any" + }, + "sense_carrier_presence_on_deck": { + "accepts_kwargs": false, + "description": "Read the rear deck sensors and return where carriers are detected.\n\n(PyLabRobot: Autoload.sense_carrier_presence_on_deck)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "sense_carrier_presence_on_loading_tray": { + "accepts_kwargs": false, + "description": "Move the autoload sled across the loading tray and read its front-facing sensors.\n\n(PyLabRobot: Autoload.sense_carrier_presence_on_loading_tray)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "sense_carrier_presence_on_single_loading_tray_track": { + "accepts_kwargs": false, + "description": "Check whether a specific loading-tray track contains a carrier.\n\n(PyLabRobot: Autoload.sense_carrier_presence_on_single_loading_tray_track)", + "is_coroutine": false, + "parameters": { + "park_after": { + "default": true, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "track": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "options": [ + "True", + "False" + ], + "required": true, + "type": "bool" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "bool" + } + ], + "return_type": "bool" + }, + "set_barcode_scanner_enabled": { + "accepts_kwargs": false, + "description": "Switch the barcode scanner on or off. Switching it on is what reads a barcode.\n\n(PyLabRobot: Autoload.set_barcode_scanner_enabled)", + "is_coroutine": false, + "parameters": { + "enabled": { + "options": [ + "True", + "False" + ], + "required": true, + "type": "bool" + }, + "scan_direction": { + "choices": [ + { + "label": "vertical", + "value": "vertical" + }, + { + "label": "horizontal", + "value": "horizontal" + }, + { + "label": "omnidirectional", + "value": "omnidirectional" + }, + { + "label": "vertical and horizontal", + "value": "vertical and horizontal" + } + ], + "default": "horizontal", + "options": [ + "vertical", + "horizontal", + "omnidirectional", + "vertical and horizontal" + ], + "required": false, + "type": "Literal" + }, + "symbologies": { + "default": null, + "is_list": true, + "item_type": { + "choices": [ + { + "label": "ISBT Standard", + "value": "ISBT Standard" + }, + { + "label": "Code 128 (Subset B and C)", + "value": "Code 128 (Subset B and C)" + }, + { + "label": "Code 39", + "value": "Code 39" + }, + { + "label": "Codebar", + "value": "Codebar" + }, + { + "label": "Code 2of5 Interleaved", + "value": "Code 2of5 Interleaved" + }, + { + "label": "UPC A/E", + "value": "UPC A/E" + }, + { + "label": "YESN/EAN 8", + "value": "YESN/EAN 8" + }, + { + "label": "Code 93", + "value": "Code 93" + }, + { + "label": "ANY 1D", + "value": "ANY 1D" + } + ], + "options": [ + "ISBT Standard", + "Code 128 (Subset B and C)", + "Code 39", + "Codebar", + "Code 2of5 Interleaved", + "UPC A/E", + "YESN/EAN 8", + "Code 93", + "ANY 1D" + ], + "type": "Literal" + }, + "optional": true, + "required": false, + "type": "Optional[List[Literal['ISBT Standard', 'Code 128 (Subset B and C)', 'Code 39', 'Codebar', 'Code 2of5 Interleaved', 'UPC A/E', 'YESN/EAN 8', 'Code 93', 'ANY 1D']]]" + }, + "symbologies_2d": { + "default": null, + "is_list": true, + "item_type": { + "choices": [ + { + "label": "Data Matrix", + "value": "Data Matrix" + }, + { + "label": "QR Code", + "value": "QR Code" + }, + { + "label": "Maxi Code", + "value": "Maxi Code" + }, + { + "label": "Aztec", + "value": "Aztec" + }, + { + "label": "PDF 417", + "value": "PDF 417" + }, + { + "label": "Micro PDF 417", + "value": "Micro PDF 417" + }, + { + "label": "GS1 DataBar", + "value": "GS1 DataBar" + }, + { + "label": "EAN/UCC Comp", + "value": "EAN/UCC Comp" + }, + { + "label": "ANY 2D", + "value": "ANY 2D" + } + ], + "options": [ + "Data Matrix", + "QR Code", + "Maxi Code", + "Aztec", + "PDF 417", + "Micro PDF 417", + "GS1 DataBar", + "EAN/UCC Comp", + "ANY 2D" + ], + "type": "Literal" + }, + "optional": true, + "required": false, + "type": "Optional[List[Literal['Data Matrix', 'QR Code', 'Maxi Code', 'Aztec', 'PDF 417', 'Micro PDF 417', 'GS1 DataBar', 'EAN/UCC Comp', 'ANY 2D']]]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "set_barcode_symbologies": { + "accepts_kwargs": false, + "description": "Set the barcode symbologies for autoload barcode reading.\n\n(PyLabRobot: Autoload.set_barcode_symbologies)", + "is_coroutine": false, + "parameters": { + "symbologies": { + "is_list": true, + "item_type": { + "choices": [ + { + "label": "ISBT Standard", + "value": "ISBT Standard" + }, + { + "label": "Code 128 (Subset B and C)", + "value": "Code 128 (Subset B and C)" + }, + { + "label": "Code 39", + "value": "Code 39" + }, + { + "label": "Codebar", + "value": "Codebar" + }, + { + "label": "Code 2of5 Interleaved", + "value": "Code 2of5 Interleaved" + }, + { + "label": "UPC A/E", + "value": "UPC A/E" + }, + { + "label": "YESN/EAN 8", + "value": "YESN/EAN 8" + }, + { + "label": "Code 93", + "value": "Code 93" + }, + { + "label": "ANY 1D", + "value": "ANY 1D" + } + ], + "options": [ + "ISBT Standard", + "Code 128 (Subset B and C)", + "Code 39", + "Codebar", + "Code 2of5 Interleaved", + "UPC A/E", + "YESN/EAN 8", + "Code 93", + "ANY 1D" + ], + "type": "Literal" + }, + "required": true, + "type": "List[Literal['ISBT Standard', 'Code 128 (Subset B and C)', 'Code 39', 'Codebar', 'Code 2of5 Interleaved', 'UPC A/E', 'YESN/EAN 8', 'Code 93', 'ANY 1D']]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "set_loading_indicators": { + "accepts_kwargs": false, + "description": "Set the loading indicators (LEDs), one per track.\n\n(PyLabRobot: Autoload.set_loading_indicators)", + "is_coroutine": false, + "parameters": { + "blinking": { + "is_list": true, + "item_type": { + "options": [ + "True", + "False" + ], + "type": "bool" + }, + "required": true, + "type": "List[bool]" + }, + "lit": { + "is_list": true, + "item_type": { + "options": [ + "True", + "False" + ], + "type": "bool" + }, + "required": true, + "type": "List[bool]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "take_carrier_out_to_autoload_belt": { + "accepts_kwargs": false, + "description": "Take a carrier out to the identification position for barcode reading.\n\n(PyLabRobot: Autoload.take_carrier_out_to_autoload_belt)", + "is_coroutine": false, + "parameters": { + "track": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "unload_carrier": { + "accepts_kwargs": false, + "description": "Use the autoload to unload a carrier from the deck.\n\n(PyLabRobot: Autoload.unload_carrier)", + "is_coroutine": false, + "parameters": { + "carrier": { + "labware": [], + "options": [ + "teaching_tip_rack", + "tips", + "tips_b", + "reservoir", + "assay_plate", + "sample_plate", + "trash_core96", + "trash" + ], + "required": true, + "type": "str" + }, + "park_after": { + "default": true, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "perform_deck_presence_check": { + "default": true, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "perform_tray_presence_check": { + "default": true, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "use_loading_indicators": { + "default": true, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "unload_carrier_after_carrier_barcode_scanning": { + "accepts_kwargs": false, + "description": "Unload the carrier currently engaged with the autoload sled, back to the loading tray.\n\n(PyLabRobot: Autoload.unload_carrier_after_carrier_barcode_scanning)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "unload_carrier_finally": { + "accepts_kwargs": false, + "description": "Unload the carrier at a track, from where it cannot be loaded again.\n\n(PyLabRobot: Autoload.unload_carrier_finally)", + "is_coroutine": false, + "parameters": { + "park_after": { + "default": true, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "track": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "update_location_by_reference_point": { + "accepts_kwargs": false, + "description": "Record where the sled is on the resource that models it.\n\n(PyLabRobot: Autoload.update_location_by_reference_point)", + "is_coroutine": false, + "parameters": { + "x": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "wheel_is_at_safe_z": { + "accepts_kwargs": false, + "description": "Request whether the carrier-handling wheel is at its safe Z, the start of its Z travel.\n\n(PyLabRobot: Autoload.wheel_is_at_safe_z)", + "is_coroutine": false, + "parameters": { + "tolerance": { + "default": 0.5, + "numeric": true, + "required": false, + "type": "float" + } + }, + "return_info": { + "options": [ + "True", + "False" + ], + "required": true, + "type": "bool" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "bool" + } + ], + "return_type": "bool" + }, + "wheel_move_to_safe_z": { + "accepts_kwargs": false, + "description": "Move the carrier-handling wheel to its safe Z, and read where that put it.\n\n(PyLabRobot: Autoload.wheel_move_to_safe_z)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "wheel_move_to_y_position": { + "accepts_kwargs": false, + "description": "Move the carrier drive to a Y position, pulling a carrier in or pushing it out.\n\n(PyLabRobot: Autoload.wheel_move_to_y_position)", + "is_coroutine": false, + "parameters": { + "acceleration_ramp": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "current_limit": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "y": { + "required": true, + "type": "Union[float, Literal['loading_tray', 'carrier_identification', 'deck']]" + } + }, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "wheel_move_to_z_position": { + "accepts_kwargs": false, + "description": "Move the carrier-handling wheel to a Z position.\n\n(PyLabRobot: Autoload.wheel_move_to_z_position)", + "is_coroutine": false, + "parameters": { + "acceleration_ramp": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "current_limit": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "z": { + "required": true, + "type": "Union[float, Literal['below', 'above']]" + } + }, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "wheel_request_y_position": { + "accepts_kwargs": false, + "description": "Request how far in or out the carrier drive is.\n\n(PyLabRobot: Autoload.wheel_request_y_position)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "wheel_request_z_position": { + "accepts_kwargs": false, + "description": "Request how high the carrier-handling wheel is.\n\n(PyLabRobot: Autoload.wheel_request_z_position)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + } + }, + "STARCoreGrippers": { + "drop_resource": { + "accepts_kwargs": false, + "description": "Put the held resource down, and the tree follows once it is down (`C0 ZR`).\n\n(PyLabRobot: CoreGrippers.drop_resource)", + "is_coroutine": false, + "parameters": { + "minimum_traverse_height_end": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_start": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "press_on_distance": { + "default": 0.0, + "numeric": true, + "required": false, + "type": "float" + }, + "to": { + "labware_site": true, + "options": [ + "tip_carrier-0", + "tip_carrier-1", + "tip_carrier-2", + "tip_carrier-3", + "tip_carrier-4", + "plate_carrier-0", + "plate_carrier-1", + "plate_carrier-2", + "plate_carrier-3", + "plate_carrier-4" + ], + "required": true, + "type": "str" + }, + "x_acceleration_level": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "y_clearance": { + "default": 1.5, + "numeric": true, + "required": false, + "type": "float" + }, + "z_acceleration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "z_speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "drop_tools": { + "accepts_kwargs": false, + "description": "Put the tools back where `pick_up_tools_at_location` took them (`C0 ZS`), then safe Z.\n\n(PyLabRobot: CoreGrippers.drop_tools)", + "is_coroutine": false, + "parameters": { + "minimum_traverse_height_end": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "move_to_safe_z_first": { + "default": true, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "mounted": { + "accepts_kwargs": false, + "description": "The tools on for as long as the block runs, and returned on the way out.\n\n(PyLabRobot: CoreGrippers.mounted)", + "is_coroutine": false, + "parameters": { + "front_channel": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + } + }, + "return_info": { + "required": true, + "type": "Any" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Any" + } + ], + "return_type": "Any" + }, + "pick_up_resource": { + "accepts_kwargs": false, + "description": "Grip a resource where the tree has it, and hold it on the front tool in the model (`C0 ZP`).\n\n(PyLabRobot: CoreGrippers.pick_up_resource)", + "is_coroutine": false, + "parameters": { + "grip_speed_y": { + "default": 5.0, + "numeric": true, + "required": false, + "type": "float" + }, + "grip_strength": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "minimum_traverse_height_end": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_start": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "pickup_distance_from_top": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "resource": { + "labware": [ + "plate", + "reservoir", + "tip_rack", + "tube_rack" + ], + "options": [ + "teaching_tip_rack", + "tips", + "tips_b", + "reservoir", + "assay_plate", + "sample_plate" + ], + "required": true, + "type": "str" + }, + "resource_size_y": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "squeeze_mm": { + "default": 1.5, + "numeric": true, + "required": false, + "type": "float" + }, + "y_clearance": { + "default": 1.5, + "numeric": true, + "required": false, + "type": "float" + }, + "z_acceleration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "z_speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "pick_up_tools": { + "accepts_kwargs": false, + "description": "Take the tools out of the deck's holder and onto two channels.\n\n(PyLabRobot: CoreGrippers.pick_up_tools)", + "is_coroutine": false, + "parameters": { + "front_channel": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "pick_up_tools_at_location": { + "accepts_kwargs": false, + "description": "Pick up the tools (`C0 ZT`) as tip type 14; to safe Z only if it fails.\n\n(PyLabRobot: CoreGrippers.pick_up_tools_at_location)", + "is_coroutine": false, + "parameters": { + "front_channel": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "front_channel_position_y": { + "numeric": true, + "required": true, + "type": "float" + }, + "minimum_traverse_height_start": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "rear_channel_position_y": { + "numeric": true, + "required": true, + "type": "float" + }, + "tool_position_x": { + "numeric": true, + "required": true, + "type": "float" + }, + "tool_position_z": { + "numeric": true, + "required": true, + "type": "float" + }, + "tool_seek": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "probe_resource_exists_using_ztouch": { + "accepts_kwargs": false, + "description": "Push the open jaws down onto `resource`'s centre: stalling on it is finding it (`C0 ZP`).\n\n(PyLabRobot: CoreGrippers.probe_resource_exists_using_ztouch)", + "is_coroutine": false, + "parameters": { + "enable_recovery": { + "default": true, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "gripper_y_margin": { + "default": 1.0, + "numeric": true, + "required": false, + "type": "float" + }, + "location": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": true, + "type": "Coordinate" + }, + "minimum_traverse_height_end": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_start": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "resource": { + "labware": [], + "options": [ + "teaching_tip_rack", + "tips", + "tips_b", + "reservoir", + "assay_plate", + "sample_plate", + "trash_core96", + "trash" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "options": [ + "True", + "False" + ], + "required": true, + "type": "bool" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "bool" + } + ], + "return_type": "bool" + }, + "request_tool_attached": { + "accepts_kwargs": false, + "description": "Whether the device senses something on `channel` (`C0 RT`).\n\n(PyLabRobot: CoreGrippers.request_tool_attached)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "options": [ + "True", + "False" + ], + "required": true, + "type": "bool" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "bool" + } + ], + "return_type": "bool" + }, + "return_resource": { + "accepts_kwargs": false, + "description": "Put the held resource back where :meth:`pick_up_resource` took it from.\n\n(PyLabRobot: CoreGrippers.return_resource)", + "is_coroutine": false, + "parameters": { + "minimum_traverse_height_end": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_start": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "press_on_distance": { + "default": 0.0, + "numeric": true, + "required": false, + "type": "float" + }, + "x_acceleration_level": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "y_clearance": { + "default": 1.5, + "numeric": true, + "required": false, + "type": "float" + }, + "z_acceleration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "z_speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "return_tools": { + "accepts_kwargs": false, + "description": "Put the tools back in their holder, if mounted.\n\n(PyLabRobot: CoreGrippers.return_tools)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + } + }, + "STARHead384": { + "discover": { + "accepts_kwargs": false, + "description": "Read what head this is and what it can do. Read-only: nothing moves.\n\n(PyLabRobot: Head384.discover)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "initialize": { + "accepts_kwargs": false, + "description": "Initialize the head, discarding whatever is mounted on it.\n\n(PyLabRobot: Head384.initialize)", + "is_coroutine": false, + "parameters": { + "read_timeout": { + "default": 60, + "numeric": true, + "required": false, + "type": "int" + }, + "tip_discard_location": { + "default": null, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + }, + "z_position_at_the_command_end": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_stop_disc_to_z_position": { + "accepts_kwargs": false, + "description": "Move the head's stop disc along Z. This moves it, and nothing else on the arm.\n\n(PyLabRobot: Head384.move_stop_disc_to_z_position)", + "is_coroutine": false, + "parameters": { + "acceleration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "current_limit": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "read_timeout": { + "default": 30, + "numeric": true, + "required": false, + "type": "int" + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "z": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_to_safe_z": { + "accepts_kwargs": false, + "description": "Move the head up to its safe Z: the top of the window setup probed.\n\n(PyLabRobot: Head384.move_to_safe_z)", + "is_coroutine": false, + "parameters": { + "acceleration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "move_to_x_position": { + "accepts_kwargs": false, + "description": "Move channel A1 along X. The whole arm travels, with everything else it carries.\n\n(PyLabRobot: Head384.move_to_x_position)", + "is_coroutine": false, + "parameters": { + "acceleration_level": { + "default": 3, + "numeric": true, + "required": false, + "type": "int" + }, + "current_limit": { + "default": 7, + "numeric": true, + "required": false, + "type": "int" + }, + "settle_reads": { + "default": 20, + "numeric": true, + "required": false, + "type": "int" + }, + "x": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_to_y_position": { + "accepts_kwargs": false, + "description": "Move the head along Y. This moves it, and nothing else on the arm.\n\n(PyLabRobot: Head384.move_to_y_position)", + "is_coroutine": false, + "parameters": { + "acceleration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "current_limit": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "read_timeout": { + "default": 30, + "numeric": true, + "required": false, + "type": "int" + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "y": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_tool_bottom_to_z_position": { + "accepts_kwargs": false, + "description": "Move the bottom of what the head carries along Z. This moves it, and nothing else on the arm.\n\n(PyLabRobot: Head384.move_tool_bottom_to_z_position)", + "is_coroutine": false, + "parameters": { + "acceleration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "current_limit": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "read_timeout": { + "default": 30, + "numeric": true, + "required": false, + "type": "int" + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "z": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "park": { + "accepts_kwargs": false, + "description": "Send the head to its park position. This moves it in Z, then in Y.\n\n(PyLabRobot: Head384.park)", + "is_coroutine": false, + "parameters": { + "acceleration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "probe_z_max": { + "accepts_kwargs": false, + "description": "Retracts the head with the firmware's own retract and reads its stop disc z-position.\n\n(PyLabRobot: Head384.probe_z_max)", + "is_coroutine": false, + "parameters": { + "read_timeout": { + "default": 30, + "numeric": true, + "required": false, + "type": "int" + } + }, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "request_drive_parameter": { + "accepts_kwargs": false, + "description": "Request one of the head's stored drive parameters.\n\n(PyLabRobot: Head384.request_drive_parameter)", + "is_coroutine": false, + "parameters": { + "parameter": { + "required": true, + "type": "str" + } + }, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "request_firmware_version": { + "accepts_kwargs": false, + "description": "Request the head's firmware version and build date.\n\n(PyLabRobot: Head384.request_firmware_version)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "request_hardware": { + "accepts_kwargs": false, + "description": "Request the head's configuration, undecoded.\n\n(PyLabRobot: Head384.request_hardware)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "request_head_type": { + "accepts_kwargs": false, + "description": "Request which head is fitted.\n\n(PyLabRobot: Head384.request_head_type)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "str" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "str" + } + ], + "return_type": "str" + }, + "request_location": { + "accepts_kwargs": false, + "description": "Measure where head channel A1 is, with whatever it carries taken into account.\n\n(PyLabRobot: Head384.request_location)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": true, + "type": "Coordinate" + }, + "return_paths": [ + { + "numeric": true, + "path": "x", + "type": "float" + }, + { + "numeric": true, + "path": "y", + "type": "float" + }, + { + "numeric": true, + "path": "z", + "type": "float" + } + ], + "return_type": "Coordinate" + }, + "request_predefined_y_positions": { + "accepts_kwargs": false, + "description": "Request the Y positions the head has stored, in mm.\n\n(PyLabRobot: Head384.request_predefined_y_positions)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "request_predefined_z_positions": { + "accepts_kwargs": false, + "description": "Request the Z positions the head has stored, in mm.\n\n(PyLabRobot: Head384.request_predefined_z_positions)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "request_tip_overhang": { + "accepts_kwargs": false, + "description": "Measure how far the tips the head carries stand below its own reference point.\n\n(PyLabRobot: Head384.request_tip_overhang)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "request_tip_presence": { + "accepts_kwargs": false, + "description": "Request what the firmware holds about the head carrying tips.\n\n(PyLabRobot: Head384.request_tip_presence)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "options": [ + "True", + "False" + ], + "required": true, + "type": "bool" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "bool" + } + ], + "return_type": "bool" + }, + "request_x_offset": { + "accepts_kwargs": false, + "description": "Request the X distance from the X-arm carriage center to head channel A1.\n\n(PyLabRobot: Head384.request_x_offset)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "request_x_position": { + "accepts_kwargs": false, + "description": "Request where along X channel A1 is, in deck mm.\n\n(PyLabRobot: Head384.request_x_position)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "request_y_position": { + "accepts_kwargs": false, + "description": "Request where along Y the head is.\n\n(PyLabRobot: Head384.request_y_position)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "request_z_position": { + "accepts_kwargs": false, + "description": "Request the head's Z-drive position, at its lowest fixed feature.\n\n(PyLabRobot: Head384.request_z_position)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "require_drive_parameter": { + "accepts_kwargs": false, + "description": "The width one of the head's stored drive parameters is written in.\n\n(PyLabRobot: Head384.require_drive_parameter)", + "is_coroutine": false, + "parameters": { + "parameter": { + "required": true, + "type": "str" + } + }, + "return_info": { + "numeric": true, + "required": true, + "type": "int" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "int" + } + ], + "return_type": "int" + }, + "require_tip_discard_location": { + "accepts_kwargs": false, + "description": "Where tips are to be dropped, falling back to this head's configured trash.\n\n(PyLabRobot: Head384.require_tip_discard_location)", + "is_coroutine": false, + "parameters": { + "location": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + } + }, + "return_info": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": true, + "type": "Coordinate" + }, + "return_paths": [ + { + "numeric": true, + "path": "x", + "type": "float" + }, + { + "numeric": true, + "path": "y", + "type": "float" + }, + { + "numeric": true, + "path": "z", + "type": "float" + } + ], + "return_type": "Coordinate" + }, + "set_drive_parameter": { + "accepts_kwargs": false, + "description": "Write one of the head's stored drive parameters.\n\n(PyLabRobot: Head384.set_drive_parameter)", + "is_coroutine": false, + "parameters": { + "parameter": { + "required": true, + "type": "str" + }, + "value": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "update_location_by_reference_point": { + "accepts_kwargs": false, + "description": "Record where the head is on the resource that models it.\n\n(PyLabRobot: Head384.update_location_by_reference_point)", + "is_coroutine": false, + "parameters": { + "y": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "z": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + } + }, + "STARHead96": { + "aspirate": { + "accepts_kwargs": false, + "description": "Draw liquid with the whole head, in one `C0 EA`.\n\n(PyLabRobot: Head96.aspirate)", + "is_coroutine": false, + "parameters": { + "approach_speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "auto_surface_following": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "blow_out": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "blow_out_air_volume": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "immersion_depth": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "jet": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "limit_curve_index": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "liquid_height": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "lld_mode": { + "choices": [ + { + "label": "OFF", + "value": 0 + }, + { + "label": "CAPACITIVE", + "value": 1 + }, + { + "label": "PRESSURE", + "value": 2 + }, + { + "label": "DUAL", + "value": 3 + }, + { + "label": "ZTOUCH", + "value": 4 + } + ], + "default": null, + "optional": true, + "options": [ + 0, + 1, + 2, + 3, + 4 + ], + "required": false, + "type": "LLDMode" + }, + "lld_sensor": { + "choices": [ + { + "label": "A1 or B2", + "value": "A1 or B2" + }, + { + "label": "G11 or H12", + "value": "G11 or H12" + }, + { + "label": "any", + "value": "any" + }, + { + "label": "all", + "value": "all" + } + ], + "default": "any", + "options": [ + "A1 or B2", + "G11 or H12", + "any", + "all" + ], + "required": false, + "type": "Literal" + }, + "minimum_allowed_z_position_during": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_end": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_start": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "mix_position_from_liquid_surface": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "offset": { + "default": null, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + }, + "piston_volume": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "pre_mix": { + "default": null, + "fields": { + "auto_surface_following": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "flow_rate": { + "numeric": true, + "required": true, + "type": "float" + }, + "repetitions": { + "numeric": true, + "required": true, + "type": "int" + }, + "surface_following_distance": { + "default": 0.0, + "numeric": true, + "required": false, + "type": "float" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Mix" + }, + "pre_wetting_volume": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "pull_out_distance_transport_air": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "resource": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "search_speed": { + "default": 10.0, + "numeric": true, + "required": false, + "type": "float" + }, + "second_section_height": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "second_section_ratio": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "settling_time": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "surface_following_distance": { + "default": 0.0, + "numeric": true, + "required": false, + "type": "float" + }, + "swap_speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "transport_air_volume": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "volume": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "discard_tips": { + "accepts_kwargs": true, + "description": "Drop the head's tips into the deck's 96-head trash, whatever the model says it carries.\n\n(PyLabRobot: Head96.discard_tips)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "discover": { + "accepts_kwargs": false, + "description": "Read what head this is, then take its dispensing and squeezer defaults from the head.\n\n(PyLabRobot: Head96.discover)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "dispense": { + "accepts_kwargs": false, + "description": "Dispense liquid with the whole head, in one `C0 ED`.\n\n(PyLabRobot: Head96.dispense)", + "is_coroutine": false, + "parameters": { + "approach_speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "auto_surface_following": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "blow_out": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "blow_out_air_volume": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "cut_off_speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "empty": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "immersion_depth": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "jet": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "limit_curve_index": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "liquid_height": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "lld_mode": { + "choices": [ + { + "label": "OFF", + "value": 0 + }, + { + "label": "CAPACITIVE", + "value": 1 + }, + { + "label": "PRESSURE", + "value": 2 + }, + { + "label": "DUAL", + "value": 3 + }, + { + "label": "ZTOUCH", + "value": 4 + } + ], + "default": null, + "optional": true, + "options": [ + 0, + 1, + 2, + 3, + 4 + ], + "required": false, + "type": "LLDMode" + }, + "lld_sensor": { + "choices": [ + { + "label": "A1 or B2", + "value": "A1 or B2" + }, + { + "label": "G11 or H12", + "value": "G11 or H12" + }, + { + "label": "any", + "value": "any" + }, + { + "label": "all", + "value": "all" + } + ], + "default": "any", + "options": [ + "A1 or B2", + "G11 or H12", + "any", + "all" + ], + "required": false, + "type": "Literal" + }, + "minimum_allowed_z_position_during": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_end": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_start": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "mix_position_from_liquid_surface": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "offset": { + "default": null, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + }, + "piston_volume": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "post_mix": { + "default": null, + "fields": { + "auto_surface_following": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "flow_rate": { + "numeric": true, + "required": true, + "type": "float" + }, + "repetitions": { + "numeric": true, + "required": true, + "type": "int" + }, + "surface_following_distance": { + "default": 0.0, + "numeric": true, + "required": false, + "type": "float" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Mix" + }, + "pull_out_distance_transport_air": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "resource": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "search_speed": { + "default": 10.0, + "numeric": true, + "required": false, + "type": "float" + }, + "second_section_height": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "second_section_ratio": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "settling_time": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "side_touch_off_distance": { + "default": 0.0, + "numeric": true, + "required": false, + "type": "float" + }, + "stop_back_volume": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "surface_following_distance": { + "default": 0.0, + "numeric": true, + "required": false, + "type": "float" + }, + "swap_speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "transport_air_volume": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "volume": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "dispensing_drive_request_uL_position": { + "accepts_kwargs": false, + "description": "Read where the head's dispensing drive stands, in uL, and record it. `H0 RD`.\n\n(PyLabRobot: Head96.dispensing_drive_request_uL_position)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "drop_tips": { + "accepts_kwargs": false, + "description": "Drop the head's tips into a tip rack or anywhere else, as legacy's `drop_tips96`. `C0 ER`.\n\n(PyLabRobot: Head96.drop_tips)", + "is_coroutine": false, + "parameters": { + "minimum_height_command_end": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_start": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "offset": { + "default": null, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + }, + "resource": { + "labware": [], + "options": [ + "teaching_tip_rack", + "tips", + "tips_b", + "reservoir", + "assay_plate", + "sample_plate", + "trash_core96", + "trash" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "initialize": { + "accepts_kwargs": false, + "description": "Initialize the head, discarding whatever is mounted on it, and read where its piston stands.\n\n(PyLabRobot: Head96.initialize)", + "is_coroutine": false, + "parameters": { + "read_timeout": { + "default": 60, + "numeric": true, + "required": false, + "type": "int" + }, + "tip_discard_location": { + "default": null, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + }, + "z_position_at_the_command_end": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "mix": { + "accepts_kwargs": false, + "description": "Mix in place with the whole head, then `mix.repetitions` strokes.\n\n(PyLabRobot: Head96.mix)", + "is_coroutine": false, + "parameters": { + "blow_out_air_volume": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "descent_speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "lld_mode": { + "choices": [ + { + "label": "OFF", + "value": 0 + }, + { + "label": "CAPACITIVE", + "value": 1 + }, + { + "label": "PRESSURE", + "value": 2 + }, + { + "label": "DUAL", + "value": 3 + }, + { + "label": "ZTOUCH", + "value": 4 + } + ], + "default": null, + "optional": true, + "options": [ + 0, + 1, + 2, + 3, + 4 + ], + "required": false, + "type": "LLDMode" + }, + "lld_sensor": { + "choices": [ + { + "label": "A1 or B2", + "value": "A1 or B2" + }, + { + "label": "G11 or H12", + "value": "G11 or H12" + }, + { + "label": "any", + "value": "any" + }, + { + "label": "all", + "value": "all" + } + ], + "default": "any", + "options": [ + "A1 or B2", + "G11 or H12", + "any", + "all" + ], + "required": false, + "type": "Literal" + }, + "minimum_traverse_height_end": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_start": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "mix": { + "fields": { + "auto_surface_following": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "flow_rate": { + "numeric": true, + "required": true, + "type": "float" + }, + "repetitions": { + "numeric": true, + "required": true, + "type": "int" + }, + "surface_following_distance": { + "default": 0.0, + "numeric": true, + "required": false, + "type": "float" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "is_object": true, + "required": true, + "type": "Mix" + }, + "mix_position_from_liquid_surface": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "offset": { + "default": null, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + }, + "resource": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "search_speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "settling_time": { + "default": 0.0, + "numeric": true, + "required": false, + "type": "float" + }, + "swap_speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_dispensing_drive_to_position": { + "accepts_kwargs": false, + "description": "Move the dispensing drive to an absolute piston position, and record it on `piston_position`.\n\n(PyLabRobot: Head96.move_dispensing_drive_to_position)", + "is_coroutine": false, + "parameters": { + "acceleration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "current_limit": { + "default": 15, + "numeric": true, + "required": false, + "type": "int" + }, + "read_timeout": { + "default": 30, + "numeric": true, + "required": false, + "type": "int" + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "stop_speed": { + "default": 0.0, + "numeric": true, + "required": false, + "type": "float" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_stop_disc_to_z_position": { + "accepts_kwargs": false, + "description": "Move the head's stop disc along Z. This moves it, and nothing else on the arm.\n\n(PyLabRobot: Head96.move_stop_disc_to_z_position)", + "is_coroutine": false, + "parameters": { + "acceleration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "current_limit": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "read_timeout": { + "default": 30, + "numeric": true, + "required": false, + "type": "int" + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "z": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_to_safe_z": { + "accepts_kwargs": false, + "description": "Move the head up to its safe Z: the top of the window setup probed.\n\n(PyLabRobot: Head96.move_to_safe_z)", + "is_coroutine": false, + "parameters": { + "acceleration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "move_to_x_position": { + "accepts_kwargs": false, + "description": "Move channel A1 along X. The whole arm travels, with everything else it carries.\n\n(PyLabRobot: Head96.move_to_x_position)", + "is_coroutine": false, + "parameters": { + "acceleration_level": { + "default": 3, + "numeric": true, + "required": false, + "type": "int" + }, + "current_limit": { + "default": 7, + "numeric": true, + "required": false, + "type": "int" + }, + "settle_reads": { + "default": 20, + "numeric": true, + "required": false, + "type": "int" + }, + "x": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_to_y_position": { + "accepts_kwargs": false, + "description": "Move the head along Y. This moves it, and nothing else on the arm.\n\n(PyLabRobot: Head96.move_to_y_position)", + "is_coroutine": false, + "parameters": { + "acceleration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "current_limit": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "read_timeout": { + "default": 30, + "numeric": true, + "required": false, + "type": "int" + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "y": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_tool_bottom_to_z_position": { + "accepts_kwargs": false, + "description": "Move the bottom of what the head carries along Z. This moves it, and nothing else on the arm.\n\n(PyLabRobot: Head96.move_tool_bottom_to_z_position)", + "is_coroutine": false, + "parameters": { + "acceleration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "current_limit": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "read_timeout": { + "default": 30, + "numeric": true, + "required": false, + "type": "int" + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "z": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "park": { + "accepts_kwargs": false, + "description": "Send the head to its park position. This moves it in Z, then in Y.\n\n(PyLabRobot: Head96.park)", + "is_coroutine": false, + "parameters": { + "acceleration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "pick_up_tips": { + "accepts_kwargs": false, + "description": "Pick up a rack of tips on the whole head, as legacy's `pick_up_tips96`. `C0 EP`.\n\n(PyLabRobot: Head96.pick_up_tips)", + "is_coroutine": false, + "parameters": { + "minimum_height_command_end": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_start": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "offset": { + "default": null, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + }, + "tip_pickup_method": { + "choices": [ + { + "label": "from_rack", + "value": "from_rack" + }, + { + "label": "from_waste", + "value": "from_waste" + }, + { + "label": "full_blowout", + "value": "full_blowout" + } + ], + "default": "from_rack", + "options": [ + "from_rack", + "from_waste", + "full_blowout" + ], + "required": false, + "type": "Literal" + }, + "tip_rack": { + "labware": [ + "tip_rack" + ], + "options": [ + "teaching_tip_rack", + "tips", + "tips_b" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "probe_liquid_height": { + "accepts_kwargs": false, + "description": "Find the liquid surface in a container with the whole head, and say how high it stands.\n\n(PyLabRobot: Head96.probe_liquid_height)", + "is_coroutine": false, + "parameters": { + "lld_sensor": { + "choices": [ + { + "label": "A1 or B2", + "value": "A1 or B2" + }, + { + "label": "G11 or H12", + "value": "G11 or H12" + }, + { + "label": "any", + "value": "any" + }, + { + "label": "all", + "value": "all" + } + ], + "default": "any", + "options": [ + "A1 or B2", + "G11 or H12", + "any", + "all" + ], + "required": false, + "type": "Literal" + }, + "minimum_traverse_height_end": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_start": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "n_replicates": { + "default": 1, + "numeric": true, + "required": false, + "type": "int" + }, + "offset": { + "default": null, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + }, + "resource": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "search_speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "probe_liquid_volume": { + "accepts_kwargs": false, + "description": "Find the liquid as `probe_liquid_height` does, and say how much there is.\n\n(PyLabRobot: Head96.probe_liquid_volume)", + "is_coroutine": false, + "parameters": { + "lld_sensor": { + "choices": [ + { + "label": "A1 or B2", + "value": "A1 or B2" + }, + { + "label": "G11 or H12", + "value": "G11 or H12" + }, + { + "label": "any", + "value": "any" + }, + { + "label": "all", + "value": "all" + } + ], + "default": "any", + "options": [ + "A1 or B2", + "G11 or H12", + "any", + "all" + ], + "required": false, + "type": "Literal" + }, + "minimum_traverse_height_end": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_start": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "n_replicates": { + "default": 1, + "numeric": true, + "required": false, + "type": "int" + }, + "offset": { + "default": null, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + }, + "resource": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "search_speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "probe_z_max": { + "accepts_kwargs": false, + "description": "Retracts the head with the firmware's own retract and reads its stop disc z-position.\n\n(PyLabRobot: Head96.probe_z_max)", + "is_coroutine": false, + "parameters": { + "read_timeout": { + "default": 30, + "numeric": true, + "required": false, + "type": "int" + } + }, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "probe_z_using_clld": { + "accepts_kwargs": false, + "description": "Lower the head's tips until its cLLD triggers, and read the tip bottom height it detected at.\n\n(PyLabRobot: Head96.probe_z_using_clld)", + "is_coroutine": false, + "parameters": { + "acceleration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "approach_speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "current_limit": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "detection_drop": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "detection_edge": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "limit_immersion_to_search_end": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "lld_sensor": { + "choices": [ + { + "label": "A1 or B2", + "value": "A1 or B2" + }, + { + "label": "G11 or H12", + "value": "G11 or H12" + }, + { + "label": "any", + "value": "any" + }, + { + "label": "all", + "value": "all" + } + ], + "default": "any", + "options": [ + "A1 or B2", + "G11 or H12", + "any", + "all" + ], + "required": false, + "type": "Literal" + }, + "move_to_safe_z_position_after": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "post_detection_distance": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "post_detection_trajectory": { + "choices": [ + { + "label": "0", + "value": 0 + }, + { + "label": "1", + "value": 1 + } + ], + "default": "1", + "options": [ + 0, + 1 + ], + "required": false, + "type": "Literal" + }, + "search_end_position": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "search_speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "search_start_position": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "tip_overhang": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "request_drive_parameter": { + "accepts_kwargs": false, + "description": "Request one of the head's stored drive parameters.\n\n(PyLabRobot: Head96.request_drive_parameter)", + "is_coroutine": false, + "parameters": { + "parameter": { + "required": true, + "type": "str" + } + }, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "request_firmware_version": { + "accepts_kwargs": false, + "description": "Request the head's firmware version and build date.\n\n(PyLabRobot: Head96.request_firmware_version)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "request_hardware": { + "accepts_kwargs": false, + "description": "Request the head's configuration, undecoded.\n\n(PyLabRobot: Head96.request_hardware)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "request_head_type": { + "accepts_kwargs": false, + "description": "Request which head is fitted.\n\n(PyLabRobot: Head96.request_head_type)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "str" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "str" + } + ], + "return_type": "str" + }, + "request_last_lld_z_position": { + "accepts_kwargs": false, + "description": "Request where the stop disc was when the last cLLD search detected. `H0 RH`.\n\n(PyLabRobot: Head96.request_last_lld_z_position)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "request_location": { + "accepts_kwargs": false, + "description": "Measure where head channel A1 is, with whatever it carries taken into account.\n\n(PyLabRobot: Head96.request_location)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": true, + "type": "Coordinate" + }, + "return_paths": [ + { + "numeric": true, + "path": "x", + "type": "float" + }, + { + "numeric": true, + "path": "y", + "type": "float" + }, + { + "numeric": true, + "path": "z", + "type": "float" + } + ], + "return_type": "Coordinate" + }, + "request_predefined_y_positions": { + "accepts_kwargs": false, + "description": "Request the Y positions the head has stored, in mm.\n\n(PyLabRobot: Head96.request_predefined_y_positions)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "request_predefined_z_positions": { + "accepts_kwargs": false, + "description": "Request the Z positions the head has stored, in mm.\n\n(PyLabRobot: Head96.request_predefined_z_positions)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "request_tip_overhang": { + "accepts_kwargs": false, + "description": "Measure how far the tips the head carries stand below its own reference point.\n\n(PyLabRobot: Head96.request_tip_overhang)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "request_tip_presence": { + "accepts_kwargs": false, + "description": "Request what the firmware holds about the head carrying tips.\n\n(PyLabRobot: Head96.request_tip_presence)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "options": [ + "True", + "False" + ], + "required": true, + "type": "bool" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "bool" + } + ], + "return_type": "bool" + }, + "request_x_offset": { + "accepts_kwargs": false, + "description": "Request the X distance from the X-arm carriage center to head channel A1.\n\n(PyLabRobot: Head96.request_x_offset)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "request_x_position": { + "accepts_kwargs": false, + "description": "Request where along X channel A1 is, in deck mm.\n\n(PyLabRobot: Head96.request_x_position)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "request_y_position": { + "accepts_kwargs": false, + "description": "Request where along Y the head is.\n\n(PyLabRobot: Head96.request_y_position)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "request_z_position": { + "accepts_kwargs": false, + "description": "Request the head's Z-drive position, at its lowest fixed feature.\n\n(PyLabRobot: Head96.request_z_position)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "require_drive_parameter": { + "accepts_kwargs": false, + "description": "The width one of the head's stored drive parameters is written in.\n\n(PyLabRobot: Head96.require_drive_parameter)", + "is_coroutine": false, + "parameters": { + "parameter": { + "required": true, + "type": "str" + } + }, + "return_info": { + "numeric": true, + "required": true, + "type": "int" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "int" + } + ], + "return_type": "int" + }, + "require_tip_discard_location": { + "accepts_kwargs": false, + "description": "Where tips are to be dropped, falling back to this head's configured trash.\n\n(PyLabRobot: Head96.require_tip_discard_location)", + "is_coroutine": false, + "parameters": { + "location": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + } + }, + "return_info": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": true, + "type": "Coordinate" + }, + "return_paths": [ + { + "numeric": true, + "path": "x", + "type": "float" + }, + { + "numeric": true, + "path": "y", + "type": "float" + }, + { + "numeric": true, + "path": "z", + "type": "float" + } + ], + "return_type": "Coordinate" + }, + "return_tips": { + "accepts_kwargs": true, + "description": "Put the head's tips back in the tip rack they were picked up from.\n\n(PyLabRobot: Head96.return_tips)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "set_drive_parameter": { + "accepts_kwargs": false, + "description": "Write one of the head's stored drive parameters.\n\n(PyLabRobot: Head96.set_drive_parameter)", + "is_coroutine": false, + "parameters": { + "parameter": { + "required": true, + "type": "str" + }, + "value": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "update_location_by_reference_point": { + "accepts_kwargs": false, + "description": "Record where the head is on the resource that models it.\n\n(PyLabRobot: Head96.update_location_by_reference_point)", + "is_coroutine": false, + "parameters": { + "y": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "z": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + } + }, + "STARPipettes": { + "add_tip_mounting_shaft": { + "accepts_kwargs": false, + "description": "Hang a tip mounting shaft off the lower end of a channel, and measure the channel from it.\n\n(PyLabRobot: Pipettes.add_tip_mounting_shaft)", + "is_coroutine": false, + "parameters": { + "channel": { + "labware": [], + "options": [ + "teaching_tip_rack", + "tips", + "tips_b", + "reservoir", + "assay_plate", + "sample_plate", + "trash_core96", + "trash" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "aspirate": { + "accepts_kwargs": false, + "description": "Draw liquid from each container with a channel's tip.\n\n(PyLabRobot: Pipettes.aspirate)", + "is_coroutine": false, + "parameters": { + "approach_speed": { + "default": 125.0, + "numeric": true, + "required": false, + "type": "float" + }, + "auto_surface_following": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "blow_out_air_volumes": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "clot_detection_heights": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "containers": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "flow_rates": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "immersion_depths": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "limit_curve_indices": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + }, + "minimum_allowed_z_positions_during": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "minimum_traverse_height_during": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_end": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_start": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "mix_positions_from_liquid_surface": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "piston_volumes": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "pre_wetting_volumes": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "pull_out_distances_transport_air": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "resource_offsets": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "search_speed": { + "default": 10.0, + "numeric": true, + "required": false, + "type": "float" + }, + "second_section_heights": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "second_section_ratios": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "settling_times": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "surface_following_distances": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "swap_speeds": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "transport_air_volumes": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + }, + "volumes": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "x_grouping_tolerance": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "auto_adjust_pressure_sensor": { + "accepts_kwargs": false, + "description": "Auto-adjust a channel's pressure sensor gain and offset. `Px AC`.\n\n(PyLabRobot: Pipettes.auto_adjust_pressure_sensor)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "channel_from_module": { + "accepts_kwargs": false, + "description": "Which channel a module address names, the other way round from `channel_id`.\n\n(PyLabRobot: Pipettes.channel_from_module)", + "is_coroutine": false, + "parameters": { + "module": { + "required": true, + "type": "str" + } + }, + "return_info": { + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "Optional[int]" + } + ], + "return_type": "Optional[int]" + }, + "channel_id": { + "accepts_kwargs": false, + "description": "The module a channel is addressed by. Channel 0 is the one at the back.\n\n(PyLabRobot: Pipettes.channel_id)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "required": true, + "type": "str" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "str" + } + ], + "return_type": "str" + }, + "clear_tadm_fifo": { + "accepts_kwargs": false, + "description": "Empty a channel's TADM curve FIFO. `Px AN`.\n\n(PyLabRobot: Pipettes.clear_tadm_fifo)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "consolidate_tip_inventory": { + "accepts_kwargs": false, + "description": "Move tips between partly filled racks of one tip model until they fill the fewest racks.\n\n(PyLabRobot: Pipettes.consolidate_tip_inventory)", + "is_coroutine": false, + "parameters": { + "tip_racks": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "tip_rack" + ] + } + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "default_initialize_y_positions": { + "accepts_kwargs": false, + "description": "Where each channel sits in Y during initialization, in mm, back to front.\n\n(PyLabRobot: Pipettes.default_initialize_y_positions)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "discard_tips": { + "accepts_kwargs": true, + "description": "Discard each channel's tip into the deck's waste, spread across it as legacy spreads them.\n\n(PyLabRobot: Pipettes.discard_tips)", + "is_coroutine": false, + "parameters": { + "offsets": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "discover": { + "accepts_kwargs": false, + "description": "Read what each channel is and what it can do.\n\n(PyLabRobot: Pipettes.discover)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "dispense": { + "accepts_kwargs": false, + "description": "Dispense liquid into each container from a channel's tip.\n\n(PyLabRobot: Pipettes.dispense)", + "is_coroutine": false, + "parameters": { + "approach_speed": { + "default": 125.0, + "numeric": true, + "required": false, + "type": "float" + }, + "auto_surface_following": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "blow_out_air_volumes": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "containers": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "cut_off_speeds": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "flow_rates": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "immersion_depths": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "limit_curve_indices": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + }, + "minimum_allowed_z_positions_during": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "minimum_traverse_height_during": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_end": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_start": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "mix_positions_from_liquid_surface": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "piston_volumes": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "pull_out_distances_transport_air": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "resource_offsets": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "search_speed": { + "default": 10.0, + "numeric": true, + "required": false, + "type": "float" + }, + "second_section_heights": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "second_section_ratios": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "settling_times": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "side_touch_off_distance": { + "default": 0.0, + "numeric": true, + "required": false, + "type": "float" + }, + "stop_back_volumes": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "surface_following_distances": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "swap_speeds": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "transport_air_volumes": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + }, + "volumes": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "x_grouping_tolerance": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "dispensing_drive_move_to_uL_position": { + "accepts_kwargs": false, + "description": "Move one channel's piston to a position where the tip stands, and read it back. `Px DS`.\n\n(PyLabRobot: Pipettes.dispensing_drive_move_to_uL_position)", + "is_coroutine": false, + "parameters": { + "acceleration": { + "default": 3000.0, + "numeric": true, + "required": false, + "type": "float" + }, + "channel": { + "numeric": true, + "required": true, + "type": "int" + }, + "current_limit": { + "default": 5, + "numeric": true, + "required": false, + "type": "int" + }, + "flow_rate": { + "default": 200.0, + "numeric": true, + "required": false, + "type": "float" + }, + "position": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "dispensing_drive_request_uL_position": { + "accepts_kwargs": false, + "description": "Read where one channel's dispensing drive stands, in uL, and record it. `Px RD`.\n\n(PyLabRobot: Pipettes.dispensing_drive_request_uL_position)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "dispensing_drives_request_uL_positions": { + "accepts_kwargs": false, + "description": "Read where the dispensing drives stand, in uL, the channels together, and record them.\n\n(PyLabRobot: Pipettes.dispensing_drives_request_uL_positions)", + "is_coroutine": false, + "parameters": { + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + } + }, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "drop_tips": { + "accepts_kwargs": false, + "description": "Drop each channel's tip into a tip spot, or anywhere on the deck, such as the waste.\n\n(PyLabRobot: Pipettes.drop_tips)", + "is_coroutine": false, + "parameters": { + "begin_tip_deposit_process": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "destinations": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "tip_rack" + ] + } + }, + "drop_method": { + "choices": [ + { + "label": "PLACE_SHIFT", + "value": 0 + }, + { + "label": "DROP", + "value": 1 + } + ], + "default": null, + "optional": true, + "options": [ + 0, + 1 + ], + "required": false, + "type": "TipDropMethod" + }, + "end_tip_deposit_process": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_end": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_start": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "offsets": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + }, + "x_tolerance": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "empty_tip": { + "accepts_kwargs": false, + "description": "Push everything out of one channel's tip where it stands, the piston at or below rest.\n\n(PyLabRobot: Pipettes.empty_tip)", + "is_coroutine": false, + "parameters": { + "acceleration": { + "default": 3000.0, + "numeric": true, + "required": false, + "type": "float" + }, + "channel": { + "numeric": true, + "required": true, + "type": "int" + }, + "current_limit": { + "default": 5, + "numeric": true, + "required": false, + "type": "int" + }, + "flow_rate": { + "default": 200.0, + "numeric": true, + "required": false, + "type": "float" + }, + "position": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "reset_dispensing_drive_after": { + "default": true, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "empty_tips": { + "accepts_kwargs": false, + "description": "Empty several channels' tips where they stand, the channels in parallel. See `empty_tip`.\n\n(PyLabRobot: Pipettes.empty_tips)", + "is_coroutine": false, + "parameters": { + "acceleration": { + "default": 3000.0, + "numeric": true, + "required": false, + "type": "float" + }, + "current_limit": { + "default": 5, + "numeric": true, + "required": false, + "type": "int" + }, + "flow_rate": { + "default": 200.0, + "numeric": true, + "required": false, + "type": "float" + }, + "position": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "reset_dispensing_drive_after": { + "default": true, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "get_mounted_tip": { + "accepts_kwargs": false, + "description": "The tip the model has on a channel, or None if it carries none.\n\n(PyLabRobot: Pipettes.get_mounted_tip)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "required": true, + "type": "Any" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Any" + } + ], + "return_type": "Any" + }, + "get_reference_point_location": { + "accepts_kwargs": false, + "description": "Where the model has a channel's reference point, in mm on the deck.\n\n(PyLabRobot: Pipettes.get_reference_point_location)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + }, + "return_paths": [ + { + "numeric": true, + "path": "x", + "type": "float" + }, + { + "numeric": true, + "path": "y", + "type": "float" + }, + { + "numeric": true, + "path": "z", + "type": "float" + } + ], + "return_type": "Optional[Coordinate]" + }, + "initialize": { + "accepts_kwargs": false, + "description": "Initialize the channels, discarding whatever is mounted on them.\n\n(PyLabRobot: Pipettes.initialize)", + "is_coroutine": false, + "parameters": { + "begin_of_tip_deposit_process": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "discarding_method": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "end_of_tip_deposit_process": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_end": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "tip_pattern": { + "default": null, + "is_list": true, + "item_type": { + "options": [ + "True", + "False" + ], + "type": "bool" + }, + "optional": true, + "required": false, + "type": "Optional[List[bool]]" + }, + "tip_type": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "x_position": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "y_positions": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "z_position_at_end_of_a_command": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "make_max_space_for_channel": { + "accepts_kwargs": false, + "description": "Spread the channels to leave one of them as much free Y as the arm allows.\n\n(PyLabRobot: Pipettes.make_max_space_for_channel)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_stop_disc_to_z_position": { + "accepts_kwargs": false, + "description": "Move one channel's stop disc along Z. The other channels stay where they are.\n\n(PyLabRobot: Pipettes.move_stop_disc_to_z_position)", + "is_coroutine": false, + "parameters": { + "acceleration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "channel": { + "numeric": true, + "required": true, + "type": "int" + }, + "current_limit": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "z": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_stop_disc_to_z_positions": { + "accepts_kwargs": false, + "description": "Move each named channel's stop disc along Z, all together (`Px ZA` per channel).\n\n(PyLabRobot: Pipettes.move_stop_disc_to_z_positions)", + "is_coroutine": false, + "parameters": { + "acceleration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "current_limit": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "zs": { + "is_mapping": true, + "key_type": { + "numeric": true, + "type": "int" + }, + "required": true, + "type": "Dict[int, float]", + "value_type": { + "numeric": true, + "type": "float" + } + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_to_safe_z": { + "accepts_kwargs": false, + "description": "Raise every channel to Z safety together (`C0 ZA`), whatever is mounted.\n\n(PyLabRobot: Pipettes.move_to_safe_z)", + "is_coroutine": false, + "parameters": { + "acceleration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_to_x_position": { + "accepts_kwargs": false, + "description": "Move the channels along X. The whole arm travels, with everything else it carries.\n\n(PyLabRobot: Pipettes.move_to_x_position)", + "is_coroutine": false, + "parameters": { + "acceleration_level": { + "default": 3, + "numeric": true, + "required": false, + "type": "int" + }, + "current_limit": { + "default": 7, + "numeric": true, + "required": false, + "type": "int" + }, + "settle_reads": { + "default": 20, + "numeric": true, + "required": false, + "type": "int" + }, + "x": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_to_xy_positions": { + "accepts_kwargs": false, + "description": "Move the channels across the deck: the low ones up first, then X and Y together.\n\n(PyLabRobot: Pipettes.move_to_xy_positions)", + "is_coroutine": false, + "parameters": { + "make_space": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "minimum_traverse_height_start": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "x": { + "numeric": true, + "required": true, + "type": "float" + }, + "ys": { + "is_mapping": true, + "key_type": { + "numeric": true, + "type": "int" + }, + "required": true, + "type": "Dict[int, float]", + "value_type": { + "numeric": true, + "type": "float" + } + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_to_y_position": { + "accepts_kwargs": false, + "description": "Move one channel along Y.\n\n(PyLabRobot: Pipettes.move_to_y_position)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + }, + "make_space": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "y": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_to_y_positions": { + "accepts_kwargs": false, + "description": "Move channels along Y.\n\n(PyLabRobot: Pipettes.move_to_y_positions)", + "is_coroutine": false, + "parameters": { + "make_space": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "ys": { + "is_mapping": true, + "key_type": { + "numeric": true, + "type": "int" + }, + "required": true, + "type": "Dict[int, float]", + "value_type": { + "numeric": true, + "type": "float" + } + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_tool_bottom_to_z_position": { + "accepts_kwargs": false, + "description": "Move the bottom of the tip on one channel along Z.\n\n(PyLabRobot: Pipettes.move_tool_bottom_to_z_position)", + "is_coroutine": false, + "parameters": { + "acceleration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "channel": { + "numeric": true, + "required": true, + "type": "int" + }, + "current_limit": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "z": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_tool_bottom_to_z_positions": { + "accepts_kwargs": false, + "description": "Move the bottom of the tip on each named channel along Z, in one command.\n\n(PyLabRobot: Pipettes.move_tool_bottom_to_z_positions)", + "is_coroutine": false, + "parameters": { + "zs": { + "is_mapping": true, + "key_type": { + "numeric": true, + "type": "int" + }, + "required": true, + "type": "Dict[int, float]", + "value_type": { + "numeric": true, + "type": "float" + } + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "pick_up_tips": { + "accepts_kwargs": false, + "description": "Pick up a tip from each spot, one channel per spot, and move each onto its channel.\n\n(PyLabRobot: Pipettes.pick_up_tips)", + "is_coroutine": false, + "parameters": { + "begin_tip_pick_up_process": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "end_tip_pick_up_process": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_start": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "offsets": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "pickup_method": { + "choices": [ + { + "label": "OUT_OF_RACK", + "value": 0 + }, + { + "label": "OUT_OF_WASH_LIQUID", + "value": 1 + } + ], + "default": null, + "optional": true, + "options": [ + 0, + 1 + ], + "required": false, + "type": "TipPickupMethod" + }, + "tip_spots": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "tip_rack" + ] + } + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + }, + "x_tolerance": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "probe_liquid_heights": { + "accepts_kwargs": false, + "description": "Find the liquid surface in each container with a channel's tip, and say how high it stands.\n\n(PyLabRobot: Pipettes.probe_liquid_heights)", + "is_coroutine": false, + "parameters": { + "containers": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "minimum_traverse_height_during": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_end": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_start": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "n_replicates": { + "default": 1, + "numeric": true, + "required": false, + "type": "int" + }, + "resource_offsets": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "search_speed": { + "default": 10.0, + "numeric": true, + "required": false, + "type": "float" + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + }, + "x_grouping_tolerance": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "probe_liquid_volumes": { + "accepts_kwargs": false, + "description": "Find the liquid in each container as `probe_liquid_heights` does, and say how much there is.\n\n(PyLabRobot: Pipettes.probe_liquid_volumes)", + "is_coroutine": false, + "parameters": { + "containers": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "minimum_traverse_height_during": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_end": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_start": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "n_replicates": { + "default": 1, + "numeric": true, + "required": false, + "type": "int" + }, + "resource_offsets": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "search_speed": { + "default": 10.0, + "numeric": true, + "required": false, + "type": "float" + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + }, + "x_grouping_tolerance": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "probe_tip_inventory": { + "accepts_kwargs": false, + "description": "Probe any number of spots in any order, dealt a column at a time as `plan_tip_inventory`.\n\n(PyLabRobot: Pipettes.probe_tip_inventory)", + "is_coroutine": false, + "parameters": { + "minimum_traverse_height_end": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_start": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "tip_spots": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "tip_rack" + ] + } + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + } + }, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, Any]", + "value_type": { + "type": "Any" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, Any]" + } + ], + "return_type": "Dict[str, Any]" + }, + "probe_tip_presence_via_pickup": { + "accepts_kwargs": false, + "description": "Find which spots hold a tip by picking each up and putting it back, as legacy's.\n\n(PyLabRobot: Pipettes.probe_tip_presence_via_pickup)", + "is_coroutine": false, + "parameters": { + "minimum_traverse_height_end": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_start": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "tip_spots": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "tip_rack" + ] + } + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + } + }, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, Any]", + "value_type": { + "type": "Any" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, Any]" + } + ], + "return_type": "Dict[str, Any]" + }, + "probe_x_using_clld": { + "accepts_kwargs": false, + "description": "Probe a conductive surface along X with a channel's cLLD, from where the arm stands.\n\n(PyLabRobot: Pipettes.probe_x_using_clld)", + "is_coroutine": false, + "parameters": { + "allow_without_tip": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "channel": { + "numeric": true, + "required": true, + "type": "int" + }, + "direction": { + "choices": [ + { + "label": "left", + "value": "left" + }, + { + "label": "right", + "value": "right" + } + ], + "options": [ + "left", + "right" + ], + "required": true, + "type": "Literal" + }, + "post_detection_distance": { + "default": 2.0, + "numeric": true, + "required": false, + "type": "float" + }, + "read_timeout": { + "default": 240, + "numeric": true, + "required": false, + "type": "int" + }, + "search_end_position": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "stop_disc_diameter": { + "default": 7.0, + "numeric": true, + "required": false, + "type": "float" + }, + "tip_bottom_diameter": { + "default": 1.2, + "numeric": true, + "required": false, + "type": "float" + } + }, + "return_info": { + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "Optional[float]" + } + ], + "return_type": "Optional[float]" + }, + "probe_y_using_clld": { + "accepts_kwargs": false, + "description": "Probe a conductive surface along Y with a channel's cLLD, never past its neighbours.\n\n(PyLabRobot: Pipettes.probe_y_using_clld)", + "is_coroutine": false, + "parameters": { + "acceleration_level": { + "default": 4, + "numeric": true, + "required": false, + "type": "int" + }, + "allow_without_tip": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "channel": { + "numeric": true, + "required": true, + "type": "int" + }, + "current_limit": { + "default": 7, + "numeric": true, + "required": false, + "type": "int" + }, + "detection_edge": { + "default": 10, + "numeric": true, + "required": false, + "type": "int" + }, + "direction": { + "choices": [ + { + "label": "forward", + "value": "forward" + }, + { + "label": "backward", + "value": "backward" + } + ], + "options": [ + "forward", + "backward" + ], + "required": true, + "type": "Literal" + }, + "post_detection_distance": { + "default": 2.0, + "numeric": true, + "required": false, + "type": "float" + }, + "search_end_position": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "search_speed": { + "default": 10.0, + "numeric": true, + "required": false, + "type": "float" + }, + "search_start_position": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "stop_disc_diameter": { + "default": 7.0, + "numeric": true, + "required": false, + "type": "float" + }, + "tip_bottom_diameter": { + "default": 1.2, + "numeric": true, + "required": false, + "type": "float" + } + }, + "return_info": { + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "Optional[float]" + } + ], + "return_type": "Optional[float]" + }, + "probe_z_heights_using_ztouch": { + "accepts_kwargs": false, + "description": "Touch the floor of each container with a channel's tip, and say how high it is.\n\n(PyLabRobot: Pipettes.probe_z_heights_using_ztouch)", + "is_coroutine": false, + "parameters": { + "approach_speed": { + "default": 125.0, + "numeric": true, + "required": false, + "type": "float" + }, + "containers": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "minimum_traverse_height_during": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_end": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "minimum_traverse_height_start": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "n_replicates": { + "default": 1, + "numeric": true, + "required": false, + "type": "int" + }, + "resource_offsets": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "search_speed": { + "default": 10.0, + "numeric": true, + "required": false, + "type": "float" + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + }, + "x_grouping_tolerance": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "probe_z_max": { + "accepts_kwargs": false, + "description": "Raises single-channel pipettes to Z safety and reads their stop discs z-positions.\n\n(PyLabRobot: Pipettes.probe_z_max)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "probe_z_using_clld": { + "accepts_kwargs": false, + "description": "Lower a channel's tip until its cLLD triggers, and read the height it detected at.\n\n(PyLabRobot: Pipettes.probe_z_using_clld)", + "is_coroutine": false, + "parameters": { + "acceleration": { + "default": 800.0, + "numeric": true, + "required": false, + "type": "float" + }, + "allow_without_tip": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "channel": { + "numeric": true, + "required": true, + "type": "int" + }, + "detection_drop": { + "default": 2, + "numeric": true, + "required": false, + "type": "int" + }, + "detection_edge": { + "default": 10, + "numeric": true, + "required": false, + "type": "int" + }, + "move_to_safe_z_position_after": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "post_detection_distance": { + "default": 2.0, + "numeric": true, + "required": false, + "type": "float" + }, + "post_detection_trajectory": { + "choices": [ + { + "label": "0", + "value": 0 + }, + { + "label": "1", + "value": 1 + } + ], + "default": "1", + "options": [ + 0, + 1 + ], + "required": false, + "type": "Literal" + }, + "search_end_position": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "search_speed": { + "default": 10.0, + "numeric": true, + "required": false, + "type": "float" + }, + "search_start_position": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "Optional[float]" + } + ], + "return_type": "Optional[float]" + }, + "probe_z_using_plld": { + "accepts_kwargs": true, + "description": "Lower a channel's tip until the pressure says it met the liquid, and read the height.\n\n(PyLabRobot: Pipettes.probe_z_using_plld)", + "is_coroutine": false, + "parameters": { + "allow_without_tip": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "channel": { + "numeric": true, + "required": true, + "type": "int" + }, + "move_to_safe_z_position_after": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "post_detection_distance": { + "default": 2.0, + "numeric": true, + "required": false, + "type": "float" + }, + "pressure_mode": { + "choices": [ + { + "label": "LIQUID", + "value": 0 + }, + { + "label": "FOAM", + "value": 1 + } + ], + "default": null, + "optional": true, + "options": [ + 0, + 1 + ], + "required": false, + "type": "PressureLLDMode" + }, + "search_end_position": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "search_start_position": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "probe_z_using_ztouch": { + "accepts_kwargs": false, + "description": "Lower a channel's tip until it presses on something, and read the height.\n\n(PyLabRobot: Pipettes.probe_z_using_ztouch)", + "is_coroutine": false, + "parameters": { + "acceleration": { + "default": 800.0, + "numeric": true, + "required": false, + "type": "float" + }, + "allow_without_tip": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "approach_speed": { + "default": 125.0, + "numeric": true, + "required": false, + "type": "float" + }, + "channel": { + "numeric": true, + "required": true, + "type": "int" + }, + "detection_limiter_pwm": { + "default": 1, + "numeric": true, + "required": false, + "type": "int" + }, + "move_to_safe_z_position_after": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "post_detection_distance": { + "default": 2.0, + "numeric": true, + "required": false, + "type": "float" + }, + "push_force_pwm": { + "default": 0, + "numeric": true, + "required": false, + "type": "int" + }, + "search_end_position": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "search_speed": { + "default": 10.0, + "numeric": true, + "required": false, + "type": "float" + }, + "search_start_position": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "Optional[float]" + } + ], + "return_type": "Optional[float]" + }, + "read_tadm_curve": { + "accepts_kwargs": false, + "description": "Read the next recorded curve from a channel's TADM FIFO.\n\n(PyLabRobot: Pipettes.read_tadm_curve)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + }, + "points_per_read": { + "default": 50, + "numeric": true, + "required": false, + "type": "int" + } + }, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, Any]", + "value_type": { + "type": "Any" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, Any]" + } + ], + "return_type": "Dict[str, Any]" + }, + "request_channel_pressure": { + "accepts_kwargs": false, + "description": "Read a channel's pressure sensor now. `Px RP`.\n\n(PyLabRobot: Pipettes.request_channel_pressure)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "numeric": true, + "required": true, + "type": "int" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "int" + } + ], + "return_type": "int" + }, + "request_firmware_version": { + "accepts_kwargs": false, + "description": "Request one channel's firmware version and build date.\n\n(PyLabRobot: Pipettes.request_firmware_version)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "request_last_lld_z_positions": { + "accepts_kwargs": false, + "description": "Request where each channel last detected liquid, by cLLD or pLLD. `C0 RL`.\n\n(PyLabRobot: Pipettes.request_last_lld_z_positions)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "request_min_pipette_width": { + "accepts_kwargs": false, + "description": "Request how wide a pipette is.\n\n(PyLabRobot: Pipettes.request_min_pipette_width)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "request_pipette_configuration": { + "accepts_kwargs": false, + "description": "Request what hardware is fitted to a pipette.\n\n(PyLabRobot: Pipettes.request_pipette_configuration)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, Any]", + "value_type": { + "type": "Any" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, Any]" + } + ], + "return_type": "Dict[str, Any]" + }, + "request_stop_disc_z_position": { + "accepts_kwargs": false, + "description": "Read where one channel's stop disc is, regardless of whether a tool (e.g. tip,\ncore_gripper, suction_gripper, ...) is mounted.\n\n(PyLabRobot: Pipettes.request_stop_disc_z_position)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "request_stop_disc_z_positions": { + "accepts_kwargs": false, + "description": "Read where every channel's stop disc is.\n\n(PyLabRobot: Pipettes.request_stop_disc_z_positions)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "request_tadm_mode": { + "accepts_kwargs": false, + "description": "Whether a channel is in TADM mode. `Px QF`.\n\n(PyLabRobot: Pipettes.request_tadm_mode)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "options": [ + "True", + "False" + ], + "required": true, + "type": "bool" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "bool" + } + ], + "return_type": "bool" + }, + "request_tip_overhang": { + "accepts_kwargs": false, + "description": "Measure how far the tip on one channel stands below its stop disc.\n\n(PyLabRobot: Pipettes.request_tip_overhang)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "request_tool_bottom_z_position": { + "accepts_kwargs": false, + "description": "Read where the bottom of the tip on one channel is.\n\n(PyLabRobot: Pipettes.request_tool_bottom_z_position)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "request_tool_bottom_z_positions": { + "accepts_kwargs": false, + "description": "Read where the bottom of the tip on every channel is.\n\n(PyLabRobot: Pipettes.request_tool_bottom_z_positions)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "request_x_position": { + "accepts_kwargs": false, + "description": "Request where along X the channels are, in deck mm.\n\n(PyLabRobot: Pipettes.request_x_position)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "request_y_acceleration_level": { + "accepts_kwargs": false, + "description": "Request the Y acceleration level a channel's drive holds (`Px RA yr`).\n\n(PyLabRobot: Pipettes.request_y_acceleration_level)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "numeric": true, + "required": true, + "type": "int" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "int" + } + ], + "return_type": "int" + }, + "request_y_position": { + "accepts_kwargs": false, + "description": "Request where a specific channel is along Y.\n\n(PyLabRobot: Pipettes.request_y_position)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "request_y_positions": { + "accepts_kwargs": false, + "description": "Request where every channel is along Y, in one command.\n\n(PyLabRobot: Pipettes.request_y_positions)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "request_y_speed": { + "accepts_kwargs": false, + "description": "Request the Y speed a channel's drive holds (`Px RA yv`).\n\n(PyLabRobot: Pipettes.request_y_speed)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "request_z_acceleration": { + "accepts_kwargs": false, + "description": "Request the Z acceleration a channel's drive holds (`Px RA zr`).\n\n(PyLabRobot: Pipettes.request_z_acceleration)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "request_z_speed": { + "accepts_kwargs": false, + "description": "Request the Z speed a channel's drive holds (`Px RA zv`).\n\n(PyLabRobot: Pipettes.request_z_speed)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "reset_tadm_limit_curves": { + "accepts_kwargs": false, + "description": "Erase a channel's limit-curve bank and load the default curve at index 0. `Px AQ`.\n\n(PyLabRobot: Pipettes.reset_tadm_limit_curves)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "return_tips": { + "accepts_kwargs": true, + "description": "Put each channel's tip back in the tip spot it was picked up from, as legacy does.\n\n(PyLabRobot: Pipettes.return_tips)", + "is_coroutine": false, + "parameters": { + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "sense_tip_presence": { + "accepts_kwargs": false, + "description": "Sense tip presence on every channel, from their sleeve sensors.\n\n(PyLabRobot: Pipettes.sense_tip_presence)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "set_tadm_mode": { + "accepts_kwargs": false, + "description": "Switch a channel between TADM mode and pressure/capacitive LLD mode. `Px AF`.\n\n(PyLabRobot: Pipettes.set_tadm_mode)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + }, + "enabled": { + "default": true, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "shaft": { + "accepts_kwargs": false, + "description": "The mounting shaft modelling a channel, or None while nothing models it.\n\n(PyLabRobot: Pipettes.shaft)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "required": true, + "type": "Any" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Any" + } + ], + "return_type": "Any" + }, + "spread_channels": { + "accepts_kwargs": false, + "description": "Spread the channels evenly across the Y band. This moves them.\n\n(PyLabRobot: Pipettes.spread_channels)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "start_tadm_monitoring": { + "accepts_kwargs": false, + "description": "Record every aspirate and dispense on a channel until `stop_tadm_monitoring`. `Px BG`.\n\n(PyLabRobot: Pipettes.start_tadm_monitoring)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + }, + "enforce_limit_curve_control": { + "default": true, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "limit_curve_index": { + "default": 0, + "numeric": true, + "required": false, + "type": "int" + }, + "measurement_id": { + "default": null, + "optional": true, + "required": false, + "type": "Optional[str]" + }, + "storage_level": { + "choices": [ + { + "label": "none", + "value": "none" + }, + { + "label": "errors_only", + "value": "errors_only" + }, + { + "label": "all", + "value": "all" + } + ], + "default": "all", + "options": [ + "none", + "errors_only", + "all" + ], + "required": false, + "type": "Literal" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "stop_tadm_monitoring": { + "accepts_kwargs": false, + "description": "End the monitoring `start_tadm_monitoring` began. `Px BH`.\n\n(PyLabRobot: Pipettes.stop_tadm_monitoring)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "update_location_by_reference_point": { + "accepts_kwargs": false, + "description": "Record where a channel is on the resource that models it.\n\n(PyLabRobot: Pipettes.update_location_by_reference_point)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + }, + "y": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "z": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + } + }, + "STARiSWAP": { + "declare_front_limit": { + "accepts_kwargs": false, + "description": "Work out how far forward the elbow can be brought, and record it.\n\n(PyLabRobot: iSWAP.declare_front_limit)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "discover": { + "accepts_kwargs": false, + "description": "Read this iSWAP's calibration. Read-only: nothing moves.\n\n(PyLabRobot: iSWAP.discover)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "elbow_drive_get_angle": { + "accepts_kwargs": false, + "description": "Which way the model has the arm pointing, as the elbow drive reports it.\n\n(PyLabRobot: iSWAP.elbow_drive_get_angle)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "Optional[float]" + } + ], + "return_type": "Optional[float]" + }, + "elbow_drive_request_angle": { + "accepts_kwargs": false, + "description": "Read the elbow drive's angle, signed from the calibrated front stop.\n\n(PyLabRobot: iSWAP.elbow_drive_request_angle)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "elbow_drive_request_positions": { + "accepts_kwargs": false, + "description": "Request the elbow drive's stored position table.\n\n(PyLabRobot: iSWAP.elbow_drive_request_positions)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "fields": { + "extra_1": { + "numeric": true, + "required": true, + "type": "int" + }, + "extra_2": { + "numeric": true, + "required": true, + "type": "int" + }, + "extra_3": { + "numeric": true, + "required": true, + "type": "int" + }, + "extra_4": { + "numeric": true, + "required": true, + "type": "int" + }, + "front": { + "numeric": true, + "required": true, + "type": "int" + }, + "home": { + "numeric": true, + "required": true, + "type": "int" + }, + "left": { + "numeric": true, + "required": true, + "type": "int" + }, + "parking": { + "numeric": true, + "required": true, + "type": "int" + }, + "right": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "is_object": true, + "required": true, + "type": "iSWAPElbowPositions" + }, + "return_paths": [ + { + "numeric": true, + "path": "home", + "type": "int" + }, + { + "numeric": true, + "path": "left", + "type": "int" + }, + { + "numeric": true, + "path": "front", + "type": "int" + }, + { + "numeric": true, + "path": "right", + "type": "int" + }, + { + "numeric": true, + "path": "parking", + "type": "int" + }, + { + "numeric": true, + "path": "extra_1", + "type": "int" + }, + { + "numeric": true, + "path": "extra_2", + "type": "int" + }, + { + "numeric": true, + "path": "extra_3", + "type": "int" + }, + { + "numeric": true, + "path": "extra_4", + "type": "int" + } + ], + "return_type": "iSWAPElbowPositions" + }, + "elbow_drive_rotate_to_angle": { + "accepts_kwargs": false, + "description": "Turn the elbow drive to an angle, holding the wrist where it is. This moves the arm.\n\n(PyLabRobot: iSWAP.elbow_drive_rotate_to_angle)", + "is_coroutine": false, + "parameters": { + "acceleration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "angle": { + "required": true, + "type": "Union[str, float]" + }, + "current_limit": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "elbow_drive_update_angle": { + "accepts_kwargs": false, + "description": "Record which way the arm points on the resource that models it.\n\n(PyLabRobot: iSWAP.elbow_drive_update_angle)", + "is_coroutine": false, + "parameters": { + "angle": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "elbow_get_reference_point_location": { + "accepts_kwargs": false, + "description": "Where the model has the elbow's reference point, in mm on the deck.\n\n(PyLabRobot: iSWAP.elbow_get_reference_point_location)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Coordinate" + }, + "return_paths": [ + { + "numeric": true, + "path": "x", + "type": "float" + }, + { + "numeric": true, + "path": "y", + "type": "float" + }, + { + "numeric": true, + "path": "z", + "type": "float" + } + ], + "return_type": "Optional[Coordinate]" + }, + "elbow_move_to_safe_z_height": { + "accepts_kwargs": false, + "description": "Move the iSWAP up to the top of its Z travel, and read where that put it. This moves it.\n\n(PyLabRobot: iSWAP.elbow_move_to_safe_z_height)", + "is_coroutine": false, + "parameters": { + "acceleration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "current_limit": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "elbow_move_to_x_position": { + "accepts_kwargs": false, + "description": "Move the elbow along X. The whole arm travels, with everything else it carries.\n\n(PyLabRobot: iSWAP.elbow_move_to_x_position)", + "is_coroutine": false, + "parameters": { + "acceleration_level": { + "default": 3, + "numeric": true, + "required": false, + "type": "int" + }, + "current_limit": { + "default": 7, + "numeric": true, + "required": false, + "type": "int" + }, + "settle_reads": { + "default": 20, + "numeric": true, + "required": false, + "type": "int" + }, + "x": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "elbow_move_to_y_position": { + "accepts_kwargs": false, + "description": "Move the elbow along Y. This moves it.\n\n(PyLabRobot: iSWAP.elbow_move_to_y_position)", + "is_coroutine": false, + "parameters": { + "acceleration_level": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "current_limit": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "make_space": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "y": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "elbow_move_to_z_position": { + "accepts_kwargs": false, + "description": "Move the elbow's lowest point to a Z position. This moves it.\n\n(PyLabRobot: iSWAP.elbow_move_to_z_position)", + "is_coroutine": false, + "parameters": { + "acceleration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "current_limit": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "z": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "elbow_request_predefined_z_positions": { + "accepts_kwargs": false, + "description": "Read the Z stops the elbow is calibrated against, in mm on the deck.\n\n(PyLabRobot: iSWAP.elbow_request_predefined_z_positions)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, Any]", + "value_type": { + "type": "Any" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, Any]" + } + ], + "return_type": "Dict[str, Any]" + }, + "elbow_request_x_offset": { + "accepts_kwargs": false, + "description": "Request the X distance from the X-arm carriage centre to the elbow.\n\n(PyLabRobot: iSWAP.elbow_request_x_offset)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "elbow_request_x_position": { + "accepts_kwargs": false, + "description": "Read where the elbow is along X, in deck mm.\n\n(PyLabRobot: iSWAP.elbow_request_x_position)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "elbow_request_y_position": { + "accepts_kwargs": false, + "description": "Read where the elbow is along Y, in deck mm.\n\n(PyLabRobot: iSWAP.elbow_request_y_position)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "elbow_request_y_stops": { + "accepts_kwargs": false, + "description": "Request the stored Y stops the carriage is calibrated against.\n\n(PyLabRobot: iSWAP.elbow_request_y_stops)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, Any]", + "value_type": { + "type": "Any" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, Any]" + } + ], + "return_type": "Dict[str, Any]" + }, + "elbow_request_z_position": { + "accepts_kwargs": false, + "description": "Read where the elbow's lowest point is along Z.\n\n(PyLabRobot: iSWAP.elbow_request_z_position)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "gripper_close": { + "accepts_kwargs": false, + "description": "Close the jaws all the way. This moves them.\n\n(PyLabRobot: iSWAP.gripper_close)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "gripper_close_with_force_sensed_width_window": { + "accepts_kwargs": false, + "description": "Close the jaws onto whatever is between them and hold it. This moves them.\n\n(PyLabRobot: iSWAP.gripper_close_with_force_sensed_width_window)", + "is_coroutine": false, + "parameters": { + "grip_strength": { + "default": 5, + "numeric": true, + "required": false, + "type": "int" + }, + "width": { + "numeric": true, + "required": true, + "type": "float" + }, + "width_tolerance": { + "default": 2.0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "gripper_drive_request_widths": { + "accepts_kwargs": false, + "description": "Read the jaw widths the gripper drive is calibrated against, in mm.\n\n(PyLabRobot: iSWAP.gripper_drive_request_widths)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, Any]", + "value_type": { + "type": "Any" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, Any]" + } + ], + "return_type": "Dict[str, Any]" + }, + "gripper_move_to_jaw_position": { + "accepts_kwargs": false, + "description": "Open the jaws to a width. This moves them.\n\n(PyLabRobot: iSWAP.gripper_move_to_jaw_position)", + "is_coroutine": false, + "parameters": { + "acceleration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "current_limit": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "width": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "gripper_open": { + "accepts_kwargs": false, + "description": "Open the jaws all the way. This moves them.\n\n(PyLabRobot: iSWAP.gripper_open)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "gripper_probe_for_object": { + "accepts_kwargs": false, + "description": "Close the jaws toward a width and report what they met on the way. This moves them.\n\n(PyLabRobot: iSWAP.gripper_probe_for_object)", + "is_coroutine": false, + "parameters": { + "band": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "current_limit": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "expected_width": { + "numeric": true, + "required": true, + "type": "float" + }, + "stop_trigger": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + } + }, + "return_info": { + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "Optional[float]" + } + ], + "return_type": "Optional[float]" + }, + "gripper_request_counters": { + "accepts_kwargs": false, + "description": "Read both counters the gripper drive keeps, in its own increments.\n\n(PyLabRobot: iSWAP.gripper_request_counters)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "gripper_request_latest_force_applied": { + "accepts_kwargs": false, + "description": "Read what the gripper's force sensor and motor current did during the last movement.\n\n(PyLabRobot: iSWAP.gripper_request_latest_force_applied)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, Any]", + "value_type": { + "type": "Any" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, Any]" + } + ], + "return_type": "Dict[str, Any]" + }, + "gripper_request_width": { + "accepts_kwargs": false, + "description": "Read how far the gripper jaws are open.\n\n(PyLabRobot: iSWAP.gripper_request_width)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "gripper_update_width": { + "accepts_kwargs": false, + "description": "Record how far apart the jaws stand on the resource that models them.\n\n(PyLabRobot: iSWAP.gripper_update_width)", + "is_coroutine": false, + "parameters": { + "width": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "initialize": { + "accepts_kwargs": false, + "description": "Initialize the iSWAP. This moves it.\n\n(PyLabRobot: iSWAP.initialize)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "initialize_gripper_drive": { + "accepts_kwargs": false, + "description": "Bring the gripper drive back to its own reference. This moves the jaws.\n\n(PyLabRobot: iSWAP.initialize_gripper_drive)", + "is_coroutine": false, + "parameters": { + "current_limit": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "make_space": { + "accepts_kwargs": false, + "description": "Clear the deck volume for the iSWAP. This moves the channels and any head.\n\n(PyLabRobot: iSWAP.make_space)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "park": { + "accepts_kwargs": false, + "description": "Close the gripper and park the arm. This moves it.\n\n(PyLabRobot: iSWAP.park)", + "is_coroutine": false, + "parameters": { + "traverse_height": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "recover_gripper_drive": { + "accepts_kwargs": false, + "description": "Get a stuck gripper drive moving again, and back onto its own reference. This moves it.\n\n(PyLabRobot: iSWAP.recover_gripper_drive)", + "is_coroutine": false, + "parameters": { + "attempts": { + "default": 4, + "numeric": true, + "required": false, + "type": "int" + }, + "current_limit": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "nudge": { + "default": 1.1, + "numeric": true, + "required": false, + "type": "float" + } + }, + "return_info": { + "options": [ + "True", + "False" + ], + "required": true, + "type": "bool" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "bool" + } + ], + "return_type": "bool" + }, + "request_firmware_version": { + "accepts_kwargs": false, + "description": "Request the iSWAP's firmware version and build date.\n\n(PyLabRobot: iSWAP.request_firmware_version)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "request_is_parked": { + "accepts_kwargs": false, + "description": "Whether the arm is parked, judged from where its drives are.\n\n(PyLabRobot: iSWAP.request_is_parked)", + "is_coroutine": false, + "parameters": { + "tolerance_increments": { + "default": 2, + "numeric": true, + "required": false, + "type": "int" + } + }, + "return_info": { + "options": [ + "True", + "False" + ], + "required": true, + "type": "bool" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "bool" + } + ], + "return_type": "bool" + }, + "request_joint_state": { + "accepts_kwargs": false, + "description": "Read every axis, one after another, as the joint state the kinematics run on.\n\n(PyLabRobot: iSWAP.request_joint_state)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, Any]", + "value_type": { + "type": "Any" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, Any]" + } + ], + "return_type": "Dict[str, Any]" + }, + "request_link_1_length": { + "accepts_kwargs": false, + "description": "Request the distance from the elbow joint to the wrist joint.\n\n(PyLabRobot: iSWAP.request_link_1_length)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "request_plate_gripped": { + "accepts_kwargs": false, + "description": "Read whether the arm is holding something between its fingers.\n\n(PyLabRobot: iSWAP.request_plate_gripped)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "options": [ + "True", + "False" + ], + "required": true, + "type": "bool" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "bool" + } + ], + "return_type": "bool" + }, + "request_pose": { + "accepts_kwargs": false, + "description": "Where the gripper is, worked out from the joint state.\n\n(PyLabRobot: iSWAP.request_pose)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, Any]", + "value_type": { + "type": "Any" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, Any]" + } + ], + "return_type": "Dict[str, Any]" + }, + "request_tool_center_point_xy_length": { + "accepts_kwargs": false, + "description": "Request the distance from the wrist joint to the gripper finger centre in the x-y plane.\n\n(PyLabRobot: iSWAP.request_tool_center_point_xy_length)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "rotate_to_angles": { + "accepts_kwargs": false, + "description": "Rotate one or both iSWAP joints to absolute angles in a single motion. This moves the arm.\n\n(PyLabRobot: iSWAP.rotate_to_angles)", + "is_coroutine": false, + "parameters": { + "elbow_absolute_angle": { + "default": null, + "required": false, + "type": "Union[str, float, NoneType]" + }, + "elbow_acceleration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "elbow_current_limit": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "elbow_relative_angle": { + "default": null, + "required": false, + "type": "Union[str, float, NoneType]" + }, + "elbow_speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "gripper_absolute_angle": { + "default": null, + "required": false, + "type": "Union[str, float, NoneType]" + }, + "gripper_relative_angle": { + "default": null, + "required": false, + "type": "Union[str, float, NoneType]" + }, + "make_space": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "raise_features": { + "default": true, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "wrist_acceleration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "wrist_current_limit": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "wrist_speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "update_location_by_reference_point": { + "accepts_kwargs": false, + "description": "Record where the elbow is on the resource that models it.\n\n(PyLabRobot: iSWAP.update_location_by_reference_point)", + "is_coroutine": false, + "parameters": { + "y": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "z": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "wrist_drive_get_angle": { + "accepts_kwargs": false, + "description": "Which way the model has the wrist turned, as its drive reports it.\n\n(PyLabRobot: iSWAP.wrist_drive_get_angle)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "Optional[float]" + } + ], + "return_type": "Optional[float]" + }, + "wrist_drive_request_angle": { + "accepts_kwargs": false, + "description": "Read the wrist drive's angle, signed from the motor's own zero.\n\n(PyLabRobot: iSWAP.wrist_drive_request_angle)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "numeric": true, + "required": true, + "type": "float" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "float" + } + ], + "return_type": "float" + }, + "wrist_drive_request_positions": { + "accepts_kwargs": false, + "description": "Request the wrist twist drive's stored position table.\n\n(PyLabRobot: iSWAP.wrist_drive_request_positions)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "fields": { + "extra_1": { + "numeric": true, + "required": true, + "type": "int" + }, + "extra_2": { + "numeric": true, + "required": true, + "type": "int" + }, + "extra_3": { + "numeric": true, + "required": true, + "type": "int" + }, + "home": { + "numeric": true, + "required": true, + "type": "int" + }, + "left": { + "numeric": true, + "required": true, + "type": "int" + }, + "parking": { + "numeric": true, + "required": true, + "type": "int" + }, + "reverse": { + "numeric": true, + "required": true, + "type": "int" + }, + "right": { + "numeric": true, + "required": true, + "type": "int" + }, + "straight": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "is_object": true, + "required": true, + "type": "iSWAPWristPositions" + }, + "return_paths": [ + { + "numeric": true, + "path": "home", + "type": "int" + }, + { + "numeric": true, + "path": "right", + "type": "int" + }, + { + "numeric": true, + "path": "straight", + "type": "int" + }, + { + "numeric": true, + "path": "left", + "type": "int" + }, + { + "numeric": true, + "path": "reverse", + "type": "int" + }, + { + "numeric": true, + "path": "parking", + "type": "int" + }, + { + "numeric": true, + "path": "extra_1", + "type": "int" + }, + { + "numeric": true, + "path": "extra_2", + "type": "int" + }, + { + "numeric": true, + "path": "extra_3", + "type": "int" + } + ], + "return_type": "iSWAPWristPositions" + }, + "wrist_drive_rotate_to_angle": { + "accepts_kwargs": false, + "description": "Turn the wrist to an angle, holding the elbow drive where it is. This moves the arm.\n\n(PyLabRobot: iSWAP.wrist_drive_rotate_to_angle)", + "is_coroutine": false, + "parameters": { + "acceleration": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "angle": { + "required": true, + "type": "Union[str, float]" + }, + "current_limit": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[int]" + }, + "speed": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "wrist_drive_update_angle": { + "accepts_kwargs": false, + "description": "Record which way the wrist is turned on the resource that models it.\n\n(PyLabRobot: iSWAP.wrist_drive_update_angle)", + "is_coroutine": false, + "parameters": { + "angle": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + } + }, + "Vantage": { + "aspirate": { + "accepts_kwargs": true, + "description": "Aspirate liquid from the specified wells.\n\n(PyLabRobot: LiquidHandler.aspirate)", + "is_coroutine": false, + "parameters": { + "blow_out_air_volume": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "optional": true, + "type": "Optional[float]" + }, + "optional": true, + "required": false, + "type": "Optional[List[Optional[float]]]" + }, + "flow_rates": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "optional": true, + "type": "Optional[float]" + }, + "optional": true, + "required": false, + "type": "Optional[List[Optional[float]]]" + }, + "liquid_height": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "optional": true, + "type": "Optional[float]" + }, + "optional": true, + "required": false, + "type": "Optional[List[Optional[float]]]" + }, + "mix": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "auto_surface_following": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "flow_rate": { + "numeric": true, + "required": true, + "type": "float" + }, + "repetitions": { + "numeric": true, + "required": true, + "type": "int" + }, + "surface_following_distance": { + "default": 0.0, + "numeric": true, + "required": false, + "type": "float" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "is_object": true, + "type": "Mix" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.lib.liquid_handling.mix.Mix]]" + }, + "offsets": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "resources": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "spread": { + "choices": [ + { + "label": "wide", + "value": "wide" + }, + { + "label": "tight", + "value": "tight" + }, + { + "label": "custom", + "value": "custom" + } + ], + "default": "wide", + "options": [ + "wide", + "tight", + "custom" + ], + "required": false, + "type": "Literal" + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + }, + "vols": { + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "required": true, + "type": "List[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "aspirate96": { + "accepts_kwargs": true, + "description": "Aspirate from all wells in a plate or from a container of a sufficient size.\n\n(PyLabRobot: LiquidHandler.aspirate96)", + "is_coroutine": false, + "parameters": { + "blow_out_air_volume": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "liquid_height": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "mix": { + "default": null, + "fields": { + "auto_surface_following": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "flow_rate": { + "numeric": true, + "required": true, + "type": "float" + }, + "repetitions": { + "numeric": true, + "required": true, + "type": "int" + }, + "surface_following_distance": { + "default": 0.0, + "numeric": true, + "required": false, + "type": "float" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Mix" + }, + "offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "resource": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "consolidate_tip_inventory": { + "accepts_kwargs": false, + "description": "Consolidate partially filled tip racks by redistributing tips of the same model.\n\n(PyLabRobot: LiquidHandler.consolidate_tip_inventory)", + "is_coroutine": false, + "parameters": { + "tip_racks": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "tip_rack" + ] + } + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "discard_tips": { + "accepts_kwargs": true, + "description": "Permanently discard tips in the trash.\n\n(PyLabRobot: LiquidHandler.discard_tips)", + "is_coroutine": false, + "parameters": { + "allow_nonzero_volume": { + "default": true, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "offsets": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "discard_tips96": { + "accepts_kwargs": true, + "description": "Permanently discard tips from the 96 head in the trash. This method only works when this\nLiquidHandler is configured with a deck that implements the `get_trash_area96` method.\nOtherwise, an `ImplementationError` will be raised.\n\n(PyLabRobot: LiquidHandler.discard_tips96)", + "is_coroutine": false, + "parameters": { + "allow_nonzero_volume": { + "default": true, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "dispense": { + "accepts_kwargs": true, + "description": "Dispense liquid to the specified channels.\n\n(PyLabRobot: LiquidHandler.dispense)", + "is_coroutine": false, + "parameters": { + "blow_out_air_volume": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "optional": true, + "type": "Optional[float]" + }, + "optional": true, + "required": false, + "type": "Optional[List[Optional[float]]]" + }, + "flow_rates": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "optional": true, + "type": "Optional[float]" + }, + "optional": true, + "required": false, + "type": "Optional[List[Optional[float]]]" + }, + "liquid_height": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "optional": true, + "type": "Optional[float]" + }, + "optional": true, + "required": false, + "type": "Optional[List[Optional[float]]]" + }, + "mix": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "auto_surface_following": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "flow_rate": { + "numeric": true, + "required": true, + "type": "float" + }, + "repetitions": { + "numeric": true, + "required": true, + "type": "int" + }, + "surface_following_distance": { + "default": 0.0, + "numeric": true, + "required": false, + "type": "float" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "is_object": true, + "type": "Mix" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.lib.liquid_handling.mix.Mix]]" + }, + "offsets": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "resources": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "spread": { + "choices": [ + { + "label": "wide", + "value": "wide" + }, + { + "label": "tight", + "value": "tight" + }, + { + "label": "custom", + "value": "custom" + } + ], + "default": "wide", + "options": [ + "wide", + "tight", + "custom" + ], + "required": false, + "type": "Literal" + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + }, + "vols": { + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "required": true, + "type": "List[float]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "dispense96": { + "accepts_kwargs": true, + "description": "Dispense to all wells in a plate.\n\n(PyLabRobot: LiquidHandler.dispense96)", + "is_coroutine": false, + "parameters": { + "blow_out_air_volume": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "liquid_height": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "mix": { + "default": null, + "fields": { + "auto_surface_following": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "flow_rate": { + "numeric": true, + "required": true, + "type": "float" + }, + "repetitions": { + "numeric": true, + "required": true, + "type": "int" + }, + "surface_following_distance": { + "default": 0.0, + "numeric": true, + "required": false, + "type": "float" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "is_object": true, + "optional": true, + "required": false, + "type": "Mix" + }, + "offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "resource": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "drop_resource": { + "accepts_kwargs": true, + "description": "PyLabRobot: LiquidHandler.drop_resource", + "is_coroutine": false, + "parameters": { + "destination": { + "labware_site": true, + "options": [ + "tip_carrier-0", + "tip_carrier-1", + "tip_carrier-2", + "tip_carrier-3", + "tip_carrier-4", + "plate_carrier-0", + "plate_carrier-1", + "plate_carrier-2", + "plate_carrier-3", + "plate_carrier-4" + ], + "required": true, + "type": "str" + }, + "direction": { + "choices": [ + { + "label": "FRONT", + "value": 1 + }, + { + "label": "BACK", + "value": 2 + }, + { + "label": "LEFT", + "value": 3 + }, + { + "label": "RIGHT", + "value": 4 + } + ], + "default": "FRONT", + "options": [ + 1, + 2, + 3, + 4 + ], + "required": false, + "type": "GripDirection" + }, + "offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "drop_tips": { + "accepts_kwargs": true, + "description": "Drop tips to a resource.\n\n(PyLabRobot: LiquidHandler.drop_tips)", + "is_coroutine": false, + "parameters": { + "allow_nonzero_volume": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "offsets": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "tip_spots": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "tip_rack", + "trash" + ] + } + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "drop_tips96": { + "accepts_kwargs": true, + "description": "Drop tips using the 96 head. This will drop 96 tips.\n\n(PyLabRobot: LiquidHandler.drop_tips96)", + "is_coroutine": false, + "parameters": { + "allow_nonzero_volume": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "resource": { + "labware": [ + "tip_rack", + "trash" + ], + "options": [ + "tips", + "tips_b" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "get_mounted_tips": { + "accepts_kwargs": false, + "description": "Get the tips currently mounted on the head.\n\n(PyLabRobot: LiquidHandler.get_mounted_tips)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "is_list": true, + "item_type": { + "type": "Any" + }, + "required": true, + "type": "List[Any]" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "List[Any]" + } + ], + "return_type": "List[Any]" + }, + "get_picked_up_resource": { + "accepts_kwargs": false, + "description": "Get the resource that is currently picked up.\n\n(PyLabRobot: LiquidHandler.get_picked_up_resource)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "Any" + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Any" + } + ], + "return_type": "Any" + }, + "load_liquid": { + "accepts_kwargs": false, + "description": "Record what a person put on the worktable: this liquid, this much (µL), in these wells.\nNothing moves. (Not a PyLabRobot step: there it is `well.tracker.set_volume`.)", + "is_coroutine": false, + "parameters": { + "liquid": { + "required": true, + "type": "str" + }, + "resources": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + }, + "vols": { + "numeric": true, + "per_well": "resources", + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_channel_x": { + "accepts_kwargs": false, + "description": "Move channel to absolute x position\n\n(PyLabRobot: LiquidHandler.move_channel_x)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + }, + "x": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_channel_y": { + "accepts_kwargs": false, + "description": "Move channel to absolute y position\n\n(PyLabRobot: LiquidHandler.move_channel_y)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + }, + "y": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_channel_z": { + "accepts_kwargs": false, + "description": "Move channel to absolute z position\n\n(PyLabRobot: LiquidHandler.move_channel_z)", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + }, + "z": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_lid": { + "accepts_kwargs": true, + "description": "Move a lid to a new location.\n\n(PyLabRobot: LiquidHandler.move_lid)", + "is_coroutine": false, + "parameters": { + "destination_offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "drop_direction": { + "choices": [ + { + "label": "FRONT", + "value": 1 + }, + { + "label": "BACK", + "value": 2 + }, + { + "label": "LEFT", + "value": 3 + }, + { + "label": "RIGHT", + "value": 4 + } + ], + "default": "FRONT", + "options": [ + 1, + 2, + 3, + 4 + ], + "required": false, + "type": "GripDirection" + }, + "intermediate_locations": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "lid": { + "labware": [], + "options": [ + "tips", + "tips_b", + "reservoir", + "assay_plate", + "sample_plate" + ], + "required": true, + "type": "str" + }, + "pickup_direction": { + "choices": [ + { + "label": "FRONT", + "value": 1 + }, + { + "label": "BACK", + "value": 2 + }, + { + "label": "LEFT", + "value": 3 + }, + { + "label": "RIGHT", + "value": 4 + } + ], + "default": "FRONT", + "options": [ + 1, + 2, + 3, + 4 + ], + "required": false, + "type": "GripDirection" + }, + "pickup_distance_from_top": { + "default": 2.37, + "numeric": true, + "required": false, + "type": "float" + }, + "pickup_offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "to": { + "labware_site": true, + "options": [ + "tip_carrier-0", + "tip_carrier-1", + "tip_carrier-2", + "tip_carrier-3", + "tip_carrier-4", + "plate_carrier-0", + "plate_carrier-1", + "plate_carrier-2", + "plate_carrier-3", + "plate_carrier-4" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_picked_up_resource": { + "accepts_kwargs": true, + "description": "Move a resource that has been picked up to a new location.\n\n(PyLabRobot: LiquidHandler.move_picked_up_resource)", + "is_coroutine": false, + "parameters": { + "direction": { + "choices": [ + { + "label": "FRONT", + "value": 1 + }, + { + "label": "BACK", + "value": 2 + }, + { + "label": "LEFT", + "value": 3 + }, + { + "label": "RIGHT", + "value": 4 + } + ], + "default": null, + "optional": true, + "options": [ + 1, + 2, + 3, + 4 + ], + "required": false, + "type": "GripDirection" + }, + "offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "to": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": true, + "type": "Coordinate" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_plate": { + "accepts_kwargs": true, + "description": "Move a plate to a new location.\n\n(PyLabRobot: LiquidHandler.move_plate)", + "is_coroutine": false, + "parameters": { + "destination_offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "drop_direction": { + "choices": [ + { + "label": "FRONT", + "value": 1 + }, + { + "label": "BACK", + "value": 2 + }, + { + "label": "LEFT", + "value": 3 + }, + { + "label": "RIGHT", + "value": 4 + } + ], + "default": "FRONT", + "options": [ + 1, + 2, + 3, + 4 + ], + "required": false, + "type": "GripDirection" + }, + "intermediate_locations": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "pickup_direction": { + "choices": [ + { + "label": "FRONT", + "value": 1 + }, + { + "label": "BACK", + "value": 2 + }, + { + "label": "LEFT", + "value": 3 + }, + { + "label": "RIGHT", + "value": 4 + } + ], + "default": "FRONT", + "options": [ + 1, + 2, + 3, + 4 + ], + "required": false, + "type": "GripDirection" + }, + "pickup_distance_from_top": { + "default": 9.87, + "numeric": true, + "required": false, + "type": "float" + }, + "pickup_offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "plate": { + "labware": [ + "plate", + "reservoir", + "tip_rack", + "tube_rack" + ], + "options": [ + "tips", + "tips_b", + "reservoir", + "assay_plate", + "sample_plate" + ], + "required": true, + "type": "str" + }, + "to": { + "labware_site": true, + "options": [ + "tip_carrier-0", + "tip_carrier-1", + "tip_carrier-2", + "tip_carrier-3", + "tip_carrier-4", + "plate_carrier-0", + "plate_carrier-1", + "plate_carrier-2", + "plate_carrier-3", + "plate_carrier-4" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_resource": { + "accepts_kwargs": true, + "description": "Move a resource to a new location.\n\n(PyLabRobot: LiquidHandler.move_resource)", + "is_coroutine": false, + "parameters": { + "destination_offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "drop_direction": { + "choices": [ + { + "label": "FRONT", + "value": 1 + }, + { + "label": "BACK", + "value": 2 + }, + { + "label": "LEFT", + "value": 3 + }, + { + "label": "RIGHT", + "value": 4 + } + ], + "default": "FRONT", + "options": [ + 1, + 2, + 3, + 4 + ], + "required": false, + "type": "GripDirection" + }, + "intermediate_locations": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "pickup_direction": { + "choices": [ + { + "label": "FRONT", + "value": 1 + }, + { + "label": "BACK", + "value": 2 + }, + { + "label": "LEFT", + "value": 3 + }, + { + "label": "RIGHT", + "value": 4 + } + ], + "default": "FRONT", + "options": [ + 1, + 2, + 3, + 4 + ], + "required": false, + "type": "GripDirection" + }, + "pickup_distance_from_top": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "pickup_offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "resource": { + "labware": [ + "plate", + "reservoir", + "tip_rack", + "tube_rack" + ], + "options": [ + "tips", + "tips_b", + "reservoir", + "assay_plate", + "sample_plate" + ], + "required": true, + "type": "str" + }, + "to": { + "labware_site": true, + "options": [ + "tip_carrier-0", + "tip_carrier-1", + "tip_carrier-2", + "tip_carrier-3", + "tip_carrier-4", + "plate_carrier-0", + "plate_carrier-1", + "plate_carrier-2", + "plate_carrier-3", + "plate_carrier-4" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "move_tips": { + "accepts_kwargs": false, + "description": "Move tips from one tip rack to another.\n\n(PyLabRobot: LiquidHandler.move_tips)", + "is_coroutine": false, + "parameters": { + "dest_tip_spots": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "tip_rack" + ] + } + }, + "source_tip_spots": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "tip_rack" + ] + } + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "pick_up_resource": { + "accepts_kwargs": true, + "description": "PyLabRobot: LiquidHandler.pick_up_resource", + "is_coroutine": false, + "parameters": { + "direction": { + "choices": [ + { + "label": "FRONT", + "value": 1 + }, + { + "label": "BACK", + "value": 2 + }, + { + "label": "LEFT", + "value": 3 + }, + { + "label": "RIGHT", + "value": 4 + } + ], + "default": "FRONT", + "options": [ + 1, + 2, + 3, + 4 + ], + "required": false, + "type": "GripDirection" + }, + "offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "pickup_distance_from_top": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "resource": { + "labware": [ + "plate", + "reservoir", + "tip_rack", + "tube_rack" + ], + "options": [ + "tips", + "tips_b", + "reservoir", + "assay_plate", + "sample_plate" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "pick_up_tips": { + "accepts_kwargs": true, + "description": "Pick up tips from a resource.\n\n(PyLabRobot: LiquidHandler.pick_up_tips)", + "is_coroutine": false, + "parameters": { + "offsets": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "tip_spots": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "tip_rack" + ] + } + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "pick_up_tips96": { + "accepts_kwargs": true, + "description": "Pick up tips using the 96 head. This will pick up 96 tips.\n\n(PyLabRobot: LiquidHandler.pick_up_tips96)", + "is_coroutine": false, + "parameters": { + "offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + }, + "tip_rack": { + "labware": [ + "tip_rack" + ], + "options": [ + "tips", + "tips_b" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "prepare_for_manual_channel_operation": { + "accepts_kwargs": false, + "description": "PyLabRobot: LiquidHandler.prepare_for_manual_channel_operation", + "is_coroutine": false, + "parameters": { + "channel": { + "numeric": true, + "required": true, + "type": "int" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "probe_tip_inventory": { + "accepts_kwargs": false, + "description": "Probe the presence of tips in multiple tip spots.\n\n(PyLabRobot: LiquidHandler.probe_tip_inventory)", + "is_coroutine": false, + "parameters": { + "tip_spots": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "tip_rack" + ] + } + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + } + }, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, Any]", + "value_type": { + "type": "Any" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, Any]" + } + ], + "return_type": "Dict[str, Any]" + }, + "probe_tip_presence_via_pickup": { + "accepts_kwargs": false, + "description": "Probe tip presence by attempting pickup on each TipSpot.\n\n(PyLabRobot: LiquidHandler.probe_tip_presence_via_pickup)", + "is_coroutine": false, + "parameters": { + "tip_spots": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "tip_rack" + ] + } + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + } + }, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, Any]", + "value_type": { + "type": "Any" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, Any]" + } + ], + "return_type": "Dict[str, Any]" + }, + "read_volumes": { + "accepts_kwargs": false, + "description": "The volume tracked in each well (µL), by `plate[well]`. (PyLabRobot:\n`well.tracker.get_used_volume()`.)", + "is_coroutine": false, + "parameters": { + "resources": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir", + "tube_rack" + ] + } + } + }, + "return_info": { + "is_mapping": true, + "key_type": { + "type": "str" + }, + "required": true, + "type": "Dict[str, float]", + "value_type": { + "numeric": true, + "type": "float" + } + }, + "return_paths": [ + { + "numeric": false, + "path": "", + "type": "Dict[str, float]" + } + ], + "return_type": "Dict[str, float]" + }, + "return_tips": { + "accepts_kwargs": true, + "description": "Return all tips that are currently picked up to their original place.\n\n(PyLabRobot: LiquidHandler.return_tips)", + "is_coroutine": false, + "parameters": { + "allow_nonzero_volume": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "offsets": { + "default": null, + "is_list": true, + "item_type": { + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "type": "Coordinate" + }, + "optional": true, + "required": false, + "type": "Optional[List[pylabrobot.resources.coordinate.Coordinate]]" + }, + "use_channels": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "int" + }, + "optional": true, + "required": false, + "type": "Optional[List[int]]" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "return_tips96": { + "accepts_kwargs": true, + "description": "Return the tips on the 96 head to the tip rack where they were picked up.\n\n(PyLabRobot: LiquidHandler.return_tips96)", + "is_coroutine": false, + "parameters": { + "allow_nonzero_volume": { + "default": false, + "options": [ + "True", + "False" + ], + "required": false, + "type": "bool" + }, + "offset": { + "default": { + "x": 0, + "y": 0, + "z": 0 + }, + "fields": { + "x": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "y": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + }, + "z": { + "default": 0, + "numeric": true, + "required": false, + "type": "float" + } + }, + "is_object": true, + "required": false, + "type": "Coordinate" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "setup": { + "accepts_kwargs": false, + "description": "Connect and set up the robot. Any other step does this itself the first time.\n(PyLabRobot: LiquidHandler.setup)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "stamp": { + "accepts_kwargs": false, + "description": "Stamp (aspiration and dispense) one plate onto another.\n\n(PyLabRobot: LiquidHandler.stamp)", + "is_coroutine": false, + "parameters": { + "aspiration_flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "dispense_flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "source": { + "labware": [ + "plate", + "reservoir" + ], + "options": [ + "reservoir", + "assay_plate", + "sample_plate" + ], + "required": true, + "type": "str" + }, + "target": { + "labware": [ + "plate", + "reservoir" + ], + "options": [ + "reservoir", + "assay_plate", + "sample_plate" + ], + "required": true, + "type": "str" + }, + "volume": { + "numeric": true, + "required": true, + "type": "float" + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "stop": { + "accepts_kwargs": false, + "description": "Put the robot down. The next step sets it up again. (PyLabRobot: LiquidHandler.stop)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "summary": { + "accepts_kwargs": false, + "description": "Prints a string summary of the deck layout.\n\n(PyLabRobot: LiquidHandler.summary)", + "is_coroutine": false, + "parameters": {}, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + }, + "tips_left": { + "accepts_kwargs": false, + "description": "How many unused tips the rack still has.", + "is_coroutine": false, + "parameters": { + "tip_rack": { + "labware": [ + "tip_rack" + ], + "options": [ + "tips", + "tips_b" + ], + "required": true, + "type": "str" + } + }, + "return_info": { + "numeric": true, + "required": true, + "type": "int" + }, + "return_paths": [ + { + "numeric": true, + "path": "", + "type": "int" + } + ], + "return_type": "int" + }, + "transfer": { + "accepts_kwargs": true, + "description": "Transfer liquid from one well to another.\n\n(PyLabRobot: LiquidHandler.transfer)", + "is_coroutine": false, + "parameters": { + "aspiration_flow_rate": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "dispense_flow_rates": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "optional": true, + "type": "Optional[float]" + }, + "optional": true, + "required": false, + "type": "Optional[List[Optional[float]]]" + }, + "ratios": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "source": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir" + ] + } + }, + "source_vol": { + "default": null, + "numeric": true, + "optional": true, + "required": false, + "type": "Optional[float]" + }, + "target_vols": { + "default": null, + "is_list": true, + "item_type": { + "numeric": true, + "type": "float" + }, + "optional": true, + "required": false, + "type": "Optional[List[float]]" + }, + "targets": { + "required": true, + "type": "wells", + "wells": { + "labware": [ + "plate", + "reservoir" + ] + } + } + }, + "return_info": { + "required": true, + "type": "NoneType" + }, + "return_paths": [], + "return_type": "NoneType" + } + } +} diff --git a/hub/update-1.0.0b2.sql b/hub/update-1.0.0b2.sql new file mode 100644 index 0000000..f5f4795 --- /dev/null +++ b/hub/update-1.0.0b2.sql @@ -0,0 +1,197 @@ +-- plr-ivoryos 1.0.0b2 on the IvoryOS Hub. Generated by hub/hub_entries.py; see hub/README.md. + +begin; + +do $$ begin + if (select count(*) from _schemas) <> 1 or (select s->'Flex' from _schemas) is null then + raise exception 'create temp table _schemas (s jsonb) holding schemas-.json first'; + end if; +end $$; + +insert into devices (name, vendor, category, official_url, contributor_id) +select 'Prep', 'Hamilton', 'Liquid Handler', 'https://www.hamiltoncompany.com', (select contributor_id from modules where id = 422) +where not exists (select 1 from devices where vendor = 'Hamilton' and name = 'Prep'); + +update modules set pip_name = $t$plr-ivoryos==1.0.0b2$t$, module_name = $t$Flex$t$, module_path = $t$plr_ivoryos.opentrons$t$, init_args = $j$[{"name": "simulated", "type": "bool", "default": true}, {"name": "host", "type": "str"}, {"name": "port", "type": "int", "default": 31950}, {"name": "serial_port", "type": "str"}, {"name": "worktable", "type": "str", "default": "worktable.json"}, {"name": "step_delay_s", "type": "float", "default": 0}]$j$::jsonb, schema = (select s->$t$Flex$t$ from _schemas), schema_source = 'introspection', updated_at = now() where id = 422; + +update module_versions set is_current = false where module_id = 422; + +insert into module_versions (module_id, version, pip_name, requires, channel, schema, equipment, notes, is_current) +values (422, '1.0.0b2', $t$plr-ivoryos==1.0.0b2$t$, $j${"pylabrobot": "==1.0.0b1"}$j$::jsonb, 'beta', (select s->$t$Flex$t$ from _schemas), (select equipment from module_versions where id = 1), $t$PyLabRobot 1.0.0b1 (beta). Run in simulation and in IvoryOS NextGen; not yet on hardware.$t$, true); + +insert into module_parts (module_version_id, part, equipment_key, equipment_values, class_name, label, schema, sort_order) +values ((select id from module_versions where module_id = 422 and version = '1.0.0b2'), $t$left$t$, $t$left$t$, array[$t$p50_single_flex$t$, $t$p1000_single_flex$t$]::text[], + $t$FlexPipette1$t$, $t$1-channel pipette on the left mount$t$, (select s->$t$FlexPipette1$t$ from _schemas), 10); + +insert into module_parts (module_version_id, part, equipment_key, equipment_values, class_name, label, schema, sort_order) +values ((select id from module_versions where module_id = 422 and version = '1.0.0b2'), $t$left$t$, $t$left$t$, array[$t$p50_multi_flex$t$, $t$p1000_multi_flex$t$]::text[], + $t$FlexPipette8$t$, $t$8-channel pipette on the left mount$t$, (select s->$t$FlexPipette8$t$ from _schemas), 11); + +insert into module_parts (module_version_id, part, equipment_key, equipment_values, class_name, label, schema, sort_order) +values ((select id from module_versions where module_id = 422 and version = '1.0.0b2'), $t$right$t$, $t$right$t$, array[$t$p50_single_flex$t$, $t$p1000_single_flex$t$]::text[], + $t$FlexPipette1$t$, $t$1-channel pipette on the right mount$t$, (select s->$t$FlexPipette1$t$ from _schemas), 20); + +insert into module_parts (module_version_id, part, equipment_key, equipment_values, class_name, label, schema, sort_order) +values ((select id from module_versions where module_id = 422 and version = '1.0.0b2'), $t$right$t$, $t$right$t$, array[$t$p50_multi_flex$t$, $t$p1000_multi_flex$t$]::text[], + $t$FlexPipette8$t$, $t$8-channel pipette on the right mount$t$, (select s->$t$FlexPipette8$t$ from _schemas), 21); + +insert into module_parts (module_version_id, part, equipment_key, equipment_values, class_name, label, schema, sort_order) +values ((select id from module_versions where module_id = 422 and version = '1.0.0b2'), $t$head96$t$, $t$head96$t$, array[$t$p1000_96$t$, $t$p200_96$t$]::text[], + $t$FlexPipette96$t$, $t$96-channel head$t$, (select s->$t$FlexPipette96$t$ from _schemas), 30); + +insert into module_parts (module_version_id, part, equipment_key, equipment_values, class_name, label, schema, sort_order) +values ((select id from module_versions where module_id = 422 and version = '1.0.0b2'), $t$gripper$t$, $t$gripper$t$, '{}'::text[], + $t$FlexGripperPart$t$, $t$Gripper$t$, (select s->$t$FlexGripperPart$t$ from _schemas), 40); + +update modules set pip_name = $t$plr-ivoryos==1.0.0b2$t$, module_name = $t$OT2$t$, module_path = $t$plr_ivoryos.opentrons$t$, init_args = $j$[{"name": "simulated", "type": "bool", "default": true}, {"name": "host", "type": "str"}, {"name": "port", "type": "int", "default": 31950}, {"name": "worktable", "type": "str", "default": "worktable.json"}, {"name": "step_delay_s", "type": "float", "default": 0}]$j$::jsonb, schema = (select s->$t$OT2$t$ from _schemas), schema_source = 'introspection', updated_at = now(), description = $t$An Opentrons OT-2 through PyLabRobot 1.0. The robot is one instrument and each mounted pipette another (ot2_left, ot2_right), each with PyLabRobot's own steps; wells are written as PyLabRobot writes them (assay_plate[A1:H1]). What is mounted and what sits where is the worktable file. Simulated (the default) runs PyLabRobot's OT-2 against a simulated robot-server, since PyLabRobot has none for its 1.0 class: for a real robot, untick simulated and give host. Beta: pinned to PyLabRobot 1.0.0b1, run in simulation only. Decks on one computer share one Python environment, so this replaces the PyLabRobot that any older plr-ivoryos driver there needs. Add the Labware plugin after this driver to see and edit the worktable.$t$ where id = 183; + +insert into module_versions (module_id, version, pip_name, requires, channel, notes, is_current) +select 183, '0.2', $t$plr-ivoryos[opentrons]>=0.2.0,<1$t$, '{"pylabrobot": "<1"}'::jsonb, 'stable', + 'plr-ivoryos 0.2 on PyLabRobot 0.x: LiquidHandler(backend=..., deck_json=...). Workflows made with it need redoing on 1.0.', false +where not exists (select 1 from module_versions where module_id = 183 and version = '0.2'); + +update module_versions set is_current = false where module_id = 183; + +insert into module_versions (module_id, version, pip_name, requires, channel, schema, equipment, notes, is_current) +values (183, '1.0.0b2', $t$plr-ivoryos==1.0.0b2$t$, $j${"pylabrobot": "==1.0.0b1"}$j$::jsonb, 'beta', (select s->$t$OT2$t$ from _schemas), $j${"left": {"label": "Left mount", "choices": [{"label": "Single-Channel 10 µL", "value": "p10_single"}, {"label": "8-Channel 10 µL", "value": "p10_multi"}, {"label": "GEN2 Single-Channel 20 µL", "value": "p20_single_gen2"}, {"label": "GEN2 8-Channel 20 µL", "value": "p20_multi_gen2"}, {"label": "Single-Channel 50 µL", "value": "p50_single"}, {"label": "8-Channel 50 µL", "value": "p50_multi"}, {"label": "Single-Channel 300 µL", "value": "p300_single"}, {"label": "8-Channel 300 µL", "value": "p300_multi"}, {"label": "GEN2 Single-Channel 300 µL", "value": "p300_single_gen2"}, {"label": "GEN2 8-Channel 300 µL", "value": "p300_multi_gen2"}, {"label": "Single-Channel 1000 µL", "value": "p1000_single"}, {"label": "GEN2 Single-Channel 1000 µL", "value": "p1000_single_gen2"}], "default": "p300_multi_gen2"}, "right": {"label": "Right mount", "choices": [{"label": "Single-Channel 10 µL", "value": "p10_single"}, {"label": "8-Channel 10 µL", "value": "p10_multi"}, {"label": "GEN2 Single-Channel 20 µL", "value": "p20_single_gen2"}, {"label": "GEN2 8-Channel 20 µL", "value": "p20_multi_gen2"}, {"label": "Single-Channel 50 µL", "value": "p50_single"}, {"label": "8-Channel 50 µL", "value": "p50_multi"}, {"label": "Single-Channel 300 µL", "value": "p300_single"}, {"label": "8-Channel 300 µL", "value": "p300_multi"}, {"label": "GEN2 Single-Channel 300 µL", "value": "p300_single_gen2"}, {"label": "GEN2 8-Channel 300 µL", "value": "p300_multi_gen2"}, {"label": "Single-Channel 1000 µL", "value": "p1000_single"}, {"label": "GEN2 Single-Channel 1000 µL", "value": "p1000_single_gen2"}], "default": "p300_single_gen2"}}$j$::jsonb, $t$PyLabRobot 1.0.0b1 (beta). Run in simulation and in IvoryOS NextGen; not yet on hardware.$t$, true); + +insert into module_parts (module_version_id, part, equipment_key, equipment_values, class_name, label, schema, sort_order) +values ((select id from module_versions where module_id = 183 and version = '1.0.0b2'), $t$left$t$, $t$left$t$, array[$t$p10_single$t$, $t$p20_single_gen2$t$, $t$p50_single$t$, $t$p300_single$t$, $t$p300_single_gen2$t$, $t$p1000_single$t$, $t$p1000_single_gen2$t$]::text[], + $t$OT2Pipette1$t$, $t$1-channel pipette on the left mount$t$, (select s->$t$OT2Pipette1$t$ from _schemas), 10); + +insert into module_parts (module_version_id, part, equipment_key, equipment_values, class_name, label, schema, sort_order) +values ((select id from module_versions where module_id = 183 and version = '1.0.0b2'), $t$left$t$, $t$left$t$, array[$t$p10_multi$t$, $t$p20_multi_gen2$t$, $t$p50_multi$t$, $t$p300_multi$t$, $t$p300_multi_gen2$t$]::text[], + $t$OT2Pipette8$t$, $t$8-channel pipette on the left mount$t$, (select s->$t$OT2Pipette8$t$ from _schemas), 11); + +insert into module_parts (module_version_id, part, equipment_key, equipment_values, class_name, label, schema, sort_order) +values ((select id from module_versions where module_id = 183 and version = '1.0.0b2'), $t$right$t$, $t$right$t$, array[$t$p10_single$t$, $t$p20_single_gen2$t$, $t$p50_single$t$, $t$p300_single$t$, $t$p300_single_gen2$t$, $t$p1000_single$t$, $t$p1000_single_gen2$t$]::text[], + $t$OT2Pipette1$t$, $t$1-channel pipette on the right mount$t$, (select s->$t$OT2Pipette1$t$ from _schemas), 20); + +insert into module_parts (module_version_id, part, equipment_key, equipment_values, class_name, label, schema, sort_order) +values ((select id from module_versions where module_id = 183 and version = '1.0.0b2'), $t$right$t$, $t$right$t$, array[$t$p10_multi$t$, $t$p20_multi_gen2$t$, $t$p50_multi$t$, $t$p300_multi$t$, $t$p300_multi_gen2$t$]::text[], + $t$OT2Pipette8$t$, $t$8-channel pipette on the right mount$t$, (select s->$t$OT2Pipette8$t$ from _schemas), 21); + +update modules set pip_name = $t$plr-ivoryos[usb]==1.0.0b2$t$, module_name = $t$STAR$t$, module_path = $t$plr_ivoryos.hamilton$t$, init_args = $j$[{"name": "simulated", "type": "bool", "default": true}, {"name": "deck_type", "type": "str", "default": "STARLetDeck"}, {"name": "worktable", "type": "str", "default": "worktable.json"}, {"name": "device_address", "type": "int"}, {"name": "serial_number", "type": "str"}, {"name": "step_delay_s", "type": "float", "default": 0}]$j$::jsonb, schema = (select s->$t$STAR$t$ from _schemas), schema_source = 'introspection', updated_at = now(), description = $t$A Hamilton STAR, STARlet or STARplus (deck_type STARDeck, STARLetDeck or STARPlusDeck) through PyLabRobot 1.0. The robot is one instrument and each thing fitted to it another (star_pipettes, star_head96 or star_head384, star_iswap, star_core_grippers, star_autoload), each with PyLabRobot's own steps. Simulated (the default) is PyLabRobot's own STAR simulator, answering as the firmware would; for the real one on USB, untick simulated. Beta: pinned to PyLabRobot 1.0.0b1, run in simulation only. Decks on one computer share one Python environment, so this replaces the PyLabRobot that any older plr-ivoryos driver there needs. Add the Labware plugin after this driver to see and edit the worktable.$t$ where id = 178; + +insert into module_versions (module_id, version, pip_name, requires, channel, notes, is_current) +select 178, '0.2', $t$plr-ivoryos[usb]>=0.2.0,<1$t$, '{"pylabrobot": "<1"}'::jsonb, 'stable', + 'plr-ivoryos 0.2 on PyLabRobot 0.x: LiquidHandler(backend=..., deck_json=...). Workflows made with it need redoing on 1.0.', false +where not exists (select 1 from module_versions where module_id = 178 and version = '0.2'); + +update module_versions set is_current = false where module_id = 178; + +insert into module_versions (module_id, version, pip_name, requires, channel, schema, equipment, notes, is_current) +values (178, '1.0.0b2', $t$plr-ivoryos[usb]==1.0.0b2$t$, $j${"pylabrobot": "==1.0.0b1"}$j$::jsonb, 'beta', (select s->$t$STAR$t$ from _schemas), $j${"pipettes": {"type": "bool", "label": "Independent channels", "default": true}, "head96": {"type": "bool", "label": "96-head", "default": true}, "head384": {"type": "bool", "label": "384-head (instead of the 96-head)", "default": false}, "iswap": {"type": "bool", "label": "iSWAP", "default": true}, "core_grippers": {"type": "bool", "label": "CoRe grippers", "default": true}, "autoload": {"type": "bool", "label": "Autoload", "default": true}}$j$::jsonb, $t$PyLabRobot 1.0.0b1 (beta). Run in simulation and in IvoryOS NextGen; not yet on hardware.$t$, true); + +insert into module_parts (module_version_id, part, equipment_key, equipment_values, class_name, label, schema, sort_order) +values ((select id from module_versions where module_id = 178 and version = '1.0.0b2'), $t$pipettes$t$, $t$pipettes$t$, '{}'::text[], + $t$STARPipettes$t$, $t$Independent channels$t$, (select s->$t$STARPipettes$t$ from _schemas), 10); + +insert into module_parts (module_version_id, part, equipment_key, equipment_values, class_name, label, schema, sort_order) +values ((select id from module_versions where module_id = 178 and version = '1.0.0b2'), $t$head96$t$, $t$head96$t$, '{}'::text[], + $t$STARHead96$t$, $t$96-head$t$, (select s->$t$STARHead96$t$ from _schemas), 20); + +insert into module_parts (module_version_id, part, equipment_key, equipment_values, class_name, label, schema, sort_order) +values ((select id from module_versions where module_id = 178 and version = '1.0.0b2'), $t$head384$t$, $t$head384$t$, '{}'::text[], + $t$STARHead384$t$, $t$384-head$t$, (select s->$t$STARHead384$t$ from _schemas), 21); + +insert into module_parts (module_version_id, part, equipment_key, equipment_values, class_name, label, schema, sort_order) +values ((select id from module_versions where module_id = 178 and version = '1.0.0b2'), $t$iswap$t$, $t$iswap$t$, '{}'::text[], + $t$STARiSWAP$t$, $t$iSWAP$t$, (select s->$t$STARiSWAP$t$ from _schemas), 30); + +insert into module_parts (module_version_id, part, equipment_key, equipment_values, class_name, label, schema, sort_order) +values ((select id from module_versions where module_id = 178 and version = '1.0.0b2'), $t$core_grippers$t$, $t$core_grippers$t$, '{}'::text[], + $t$STARCoreGrippers$t$, $t$CoRe grippers$t$, (select s->$t$STARCoreGrippers$t$ from _schemas), 40); + +insert into module_parts (module_version_id, part, equipment_key, equipment_values, class_name, label, schema, sort_order) +values ((select id from module_versions where module_id = 178 and version = '1.0.0b2'), $t$autoload$t$, $t$autoload$t$, '{}'::text[], + $t$STARAutoload$t$, $t$Autoload$t$, (select s->$t$STARAutoload$t$ from _schemas), 50); + +insert into modules (name, pip_name, module_name, module_path, contributor_id, os, device_id, + python_versions, is_tested_with_ivoryos, is_unlisted, init_args, is_original_developer, connection, description, + schema, schema_source) +select $t$Hamilton Prep$t$, $t$plr-ivoryos==1.0.0b2$t$, $t$Prep$t$, $t$plr_ivoryos.hamilton$t$, (select contributor_id from modules where id = 422), + array['Windows','Linux','macOS']::text[], (select id from devices where vendor = 'Hamilton' and name = 'Prep'), + array['']::text[], false, false, $j$[{"name": "simulated", "type": "bool", "default": true}, {"name": "host", "type": "str"}, {"name": "port", "type": "int", "default": 2000}, {"name": "worktable", "type": "str", "default": "worktable.json"}, {"name": "step_delay_s", "type": "float", "default": 0}]$j$::jsonb, false, '{}'::text[], $t$A Hamilton Prep through PyLabRobot 1.0. The robot is one instrument and each thing fitted to it another (prep_pipettes, prep_head8, prep_core_grippers, prep_heater_shaker, prep_lights), each with PyLabRobot's own steps; labware goes in its eight spots, 0 to 7. Simulated (the default) is PyLabRobot's own Prep simulator; for a real Prep, untick simulated and give host. Beta: pinned to PyLabRobot 1.0.0b1, run in simulation only. Decks on one computer share one Python environment, so this replaces the PyLabRobot that any older plr-ivoryos driver there needs. Add the Labware plugin after this driver to see and edit the worktable.$t$, (select s->$t$Prep$t$ from _schemas), + 'introspection' +where not exists (select 1 from modules where module_path = 'plr_ivoryos.hamilton' and module_name = 'Prep'); + +update module_versions set is_current = false where module_id = (select id from modules where module_path = 'plr_ivoryos.hamilton' and module_name = 'Prep'); + +insert into module_versions (module_id, version, pip_name, requires, channel, schema, equipment, notes, is_current) +values ((select id from modules where module_path = 'plr_ivoryos.hamilton' and module_name = 'Prep'), '1.0.0b2', $t$plr-ivoryos==1.0.0b2$t$, $j${"pylabrobot": "==1.0.0b1"}$j$::jsonb, 'beta', (select s->$t$Prep$t$ from _schemas), $j${"pipettes": {"type": "bool", "label": "Independent channels", "default": true}, "head8": {"type": "bool", "label": "8-channel head", "default": true}, "core_grippers": {"type": "bool", "label": "CoRe grippers", "default": true}, "heater_shaker": {"type": "bool", "label": "Heater shaker", "default": true}, "lights": {"type": "bool", "label": "Lights", "default": true}}$j$::jsonb, $t$PyLabRobot 1.0.0b1 (beta). Run in simulation and in IvoryOS NextGen; not yet on hardware.$t$, true); + +insert into module_parts (module_version_id, part, equipment_key, equipment_values, class_name, label, schema, sort_order) +values ((select id from module_versions where module_id = (select id from modules where module_path = 'plr_ivoryos.hamilton' and module_name = 'Prep') and version = '1.0.0b2'), $t$pipettes$t$, $t$pipettes$t$, '{}'::text[], + $t$PrepPipettes$t$, $t$Independent channels$t$, (select s->$t$PrepPipettes$t$ from _schemas), 10); + +insert into module_parts (module_version_id, part, equipment_key, equipment_values, class_name, label, schema, sort_order) +values ((select id from module_versions where module_id = (select id from modules where module_path = 'plr_ivoryos.hamilton' and module_name = 'Prep') and version = '1.0.0b2'), $t$head8$t$, $t$head8$t$, '{}'::text[], + $t$PrepHead8$t$, $t$8-channel head$t$, (select s->$t$PrepHead8$t$ from _schemas), 20); + +insert into module_parts (module_version_id, part, equipment_key, equipment_values, class_name, label, schema, sort_order) +values ((select id from module_versions where module_id = (select id from modules where module_path = 'plr_ivoryos.hamilton' and module_name = 'Prep') and version = '1.0.0b2'), $t$core_grippers$t$, $t$core_grippers$t$, '{}'::text[], + $t$PrepCoreGrippers$t$, $t$CoRe grippers$t$, (select s->$t$PrepCoreGrippers$t$ from _schemas), 30); + +insert into module_parts (module_version_id, part, equipment_key, equipment_values, class_name, label, schema, sort_order) +values ((select id from module_versions where module_id = (select id from modules where module_path = 'plr_ivoryos.hamilton' and module_name = 'Prep') and version = '1.0.0b2'), $t$heater_shaker$t$, $t$heater_shaker$t$, '{}'::text[], + $t$PrepHeaterShaker$t$, $t$Heater shaker$t$, (select s->$t$PrepHeaterShaker$t$ from _schemas), 40); + +insert into module_parts (module_version_id, part, equipment_key, equipment_values, class_name, label, schema, sort_order) +values ((select id from module_versions where module_id = (select id from modules where module_path = 'plr_ivoryos.hamilton' and module_name = 'Prep') and version = '1.0.0b2'), $t$lights$t$, $t$lights$t$, '{}'::text[], + $t$PrepLights$t$, $t$Lights$t$, (select s->$t$PrepLights$t$ from _schemas), 50); + +update modules set pip_name = $t$plr-ivoryos==1.0.0b2$t$, module_name = $t$Nimbus$t$, module_path = $t$plr_ivoryos.legacy$t$, init_args = $j$[{"name": "simulated", "type": "bool", "default": true}, {"name": "host", "type": "str"}, {"name": "port", "type": "int", "default": 2000}, {"name": "worktable", "type": "str", "default": "worktable.json"}, {"name": "channels", "type": "int", "default": 8}, {"name": "step_delay_s", "type": "float", "default": 0}]$j$::jsonb, schema = (select s->$t$Nimbus$t$ from _schemas), schema_source = 'introspection', updated_at = now(), description = $t$A Hamilton Nimbus through PyLabRobot. PyLabRobot 1.0 drives this robot only through pylabrobot.legacy, so it is one instrument with every LiquidHandler operation (pick_up_tips, aspirate, dispense, move_plate, ...), PyLabRobot's names and arguments; wells are written as PyLabRobot writes them (assay_plate[A1:H1]). Simulated (the default) is PyLabRobot's legacy chatterbox: its tip and volume tracking, not the robot's firmware. Beta: pinned to PyLabRobot 1.0.0b1, run in simulation only. For a real Nimbus, untick simulated and give host. Decks on one computer share one Python environment, so this replaces the PyLabRobot that any older plr-ivoryos driver there needs. Add the Labware plugin after this driver to see and edit the worktable.$t$ where id = 184; + +insert into module_versions (module_id, version, pip_name, requires, channel, notes, is_current) +select 184, '0.2', $t$plr-ivoryos>=0.2.0,<1$t$, '{"pylabrobot": "<1"}'::jsonb, 'stable', + 'plr-ivoryos 0.2 on PyLabRobot 0.x: LiquidHandler(backend=..., deck_json=...). Workflows made with it need redoing on 1.0.', false +where not exists (select 1 from module_versions where module_id = 184 and version = '0.2'); + +update module_versions set is_current = false where module_id = 184; + +insert into module_versions (module_id, version, pip_name, requires, channel, schema, equipment, notes, is_current) +values (184, '1.0.0b2', $t$plr-ivoryos==1.0.0b2$t$, $j${"pylabrobot": "==1.0.0b1"}$j$::jsonb, 'beta', (select s->$t$Nimbus$t$ from _schemas), null, $t$PyLabRobot 1.0.0b1 (beta). Run in simulation and in IvoryOS NextGen; not yet on hardware.$t$, true); + +update modules set pip_name = $t$plr-ivoryos[usb]==1.0.0b2$t$, module_name = $t$Vantage$t$, module_path = $t$plr_ivoryos.legacy$t$, init_args = $j$[{"name": "simulated", "type": "bool", "default": true}, {"name": "worktable", "type": "str", "default": "worktable.json"}, {"name": "device_address", "type": "int"}, {"name": "serial_number", "type": "str"}, {"name": "channels", "type": "int", "default": 8}, {"name": "step_delay_s", "type": "float", "default": 0}]$j$::jsonb, schema = (select s->$t$Vantage$t$ from _schemas), schema_source = 'introspection', updated_at = now(), description = $t$A Hamilton Vantage (1.3 m deck) through PyLabRobot. PyLabRobot 1.0 drives this robot only through pylabrobot.legacy, so it is one instrument with every LiquidHandler operation (pick_up_tips, aspirate, dispense, move_plate, ...), PyLabRobot's names and arguments; wells are written as PyLabRobot writes them (assay_plate[A1:H1]). Simulated (the default) is PyLabRobot's legacy chatterbox: its tip and volume tracking, not the robot's firmware. Beta: pinned to PyLabRobot 1.0.0b1, run in simulation only. For the real one on USB, untick simulated. Decks on one computer share one Python environment, so this replaces the PyLabRobot that any older plr-ivoryos driver there needs. Add the Labware plugin after this driver to see and edit the worktable.$t$ where id = 185; + +insert into module_versions (module_id, version, pip_name, requires, channel, notes, is_current) +select 185, '0.2', $t$plr-ivoryos[usb]>=0.2.0,<1$t$, '{"pylabrobot": "<1"}'::jsonb, 'stable', + 'plr-ivoryos 0.2 on PyLabRobot 0.x: LiquidHandler(backend=..., deck_json=...). Workflows made with it need redoing on 1.0.', false +where not exists (select 1 from module_versions where module_id = 185 and version = '0.2'); + +update module_versions set is_current = false where module_id = 185; + +insert into module_versions (module_id, version, pip_name, requires, channel, schema, equipment, notes, is_current) +values (185, '1.0.0b2', $t$plr-ivoryos[usb]==1.0.0b2$t$, $j${"pylabrobot": "==1.0.0b1"}$j$::jsonb, 'beta', (select s->$t$Vantage$t$ from _schemas), null, $t$PyLabRobot 1.0.0b1 (beta). Run in simulation and in IvoryOS NextGen; not yet on hardware.$t$, true); + +update modules set pip_name = $t$plr-ivoryos[usb]==1.0.0b2$t$, module_name = $t$EVO$t$, module_path = $t$plr_ivoryos.legacy$t$, init_args = $j$[{"name": "simulated", "type": "bool", "default": true}, {"name": "deck_type", "type": "str", "default": "EVO150Deck"}, {"name": "worktable", "type": "str", "default": "worktable.json"}, {"name": "diti_count", "type": "int", "default": 0}, {"name": "channels", "type": "int", "default": 8}, {"name": "step_delay_s", "type": "float", "default": 0}]$j$::jsonb, schema = (select s->$t$EVO$t$ from _schemas), schema_source = 'introspection', updated_at = now(), description = $t$A Tecan Freedom EVO 100, 150 or 200 (deck_type EVO100Deck, EVO150Deck or EVO200Deck) through PyLabRobot. PyLabRobot 1.0 drives this robot only through pylabrobot.legacy, so it is one instrument with every LiquidHandler operation (pick_up_tips, aspirate, dispense, move_plate, ...), PyLabRobot's names and arguments; wells are written as PyLabRobot writes them (assay_plate[A1:H1]). Simulated (the default) is PyLabRobot's legacy chatterbox: its tip and volume tracking, not the robot's firmware. Beta: pinned to PyLabRobot 1.0.0b1, run in simulation only. PyLabRobot 1.0.0b1 cannot make a Tecan tip rack yet, so the worktable has no disposable tips. For the real one on USB, untick simulated. Decks on one computer share one Python environment, so this replaces the PyLabRobot that any older plr-ivoryos driver there needs. Add the Labware plugin after this driver to see and edit the worktable.$t$ where id = 186; + +insert into module_versions (module_id, version, pip_name, requires, channel, notes, is_current) +select 186, '0.2', $t$plr-ivoryos[usb]>=0.2.0,<1$t$, '{"pylabrobot": "<1"}'::jsonb, 'stable', + 'plr-ivoryos 0.2 on PyLabRobot 0.x: LiquidHandler(backend=..., deck_json=...). Workflows made with it need redoing on 1.0.', false +where not exists (select 1 from module_versions where module_id = 186 and version = '0.2'); + +update module_versions set is_current = false where module_id = 186; + +insert into module_versions (module_id, version, pip_name, requires, channel, schema, equipment, notes, is_current) +values (186, '1.0.0b2', $t$plr-ivoryos[usb]==1.0.0b2$t$, $j${"pylabrobot": "==1.0.0b1"}$j$::jsonb, 'beta', (select s->$t$EVO$t$ from _schemas), null, $t$PyLabRobot 1.0.0b1 (beta). Run in simulation and in IvoryOS NextGen; not yet on hardware.$t$, true); + +update modules set pip_name = $t$plr-ivoryos==1.0.0b2$t$, module_name = $t$LiquidHandler$t$, module_path = $t$plr_ivoryos.legacy$t$, init_args = $j$[{"name": "simulated", "type": "bool", "default": true}, {"name": "channels", "type": "int", "default": 8}, {"name": "deck_type", "type": "str", "default": "STARLetDeck"}, {"name": "worktable", "type": "str", "default": "worktable.json"}, {"name": "step_delay_s", "type": "float", "default": 0}]$j$::jsonb, schema = (select s->$t$LiquidHandler$t$ from _schemas), schema_source = 'introspection', updated_at = now(), description = $t$PyLabRobot's simulated liquid handler (the legacy chatterbox) on any worktable (deck_type: STARLetDeck, STARDeck, OTDeck, NimbusDeck, EVO150Deck, ...): one instrument with every LiquidHandler operation, PyLabRobot's names and arguments, wells written as assay_plate[A1:H1]. For a specific robot, its own driver (Hamilton STAR, Opentrons OT-2, ...) simulates it better. Beta: pinned to PyLabRobot 1.0.0b1. Decks on one computer share one Python environment, so this replaces the PyLabRobot that any older plr-ivoryos driver there needs. Add the Labware plugin after this driver to see and edit the worktable.$t$ where id = 177; + +insert into module_versions (module_id, version, pip_name, requires, channel, notes, is_current) +select 177, '0.2', $t$plr-ivoryos>=0.2.0,<1$t$, '{"pylabrobot": "<1"}'::jsonb, 'stable', + 'plr-ivoryos 0.2 on PyLabRobot 0.x: LiquidHandler(backend=..., deck_json=...). Workflows made with it need redoing on 1.0.', false +where not exists (select 1 from module_versions where module_id = 177 and version = '0.2'); + +update module_versions set is_current = false where module_id = 177; + +insert into module_versions (module_id, version, pip_name, requires, channel, schema, equipment, notes, is_current) +values (177, '1.0.0b2', $t$plr-ivoryos==1.0.0b2$t$, $j${"pylabrobot": "==1.0.0b1"}$j$::jsonb, 'beta', (select s->$t$LiquidHandler$t$ from _schemas), null, $t$PyLabRobot 1.0.0b1 (beta). Run in simulation and in IvoryOS NextGen; not yet on hardware.$t$, true); + +update plugins set pip_name = $t$plr-ivoryos==1.0.0b2$t$, + module_ids = array[422, 183, 178, 184, 185, 186, 177, (select id from modules where module_path = 'plr_ivoryos.hamilton' and module_name = 'Prep')]::int[], + description = $t$Any plr-ivoryos liquid handler's worktable (Opentrons Flex and OT-2, Hamilton STAR, Prep, Nimbus and Vantage, Tecan EVO), drawn live beside every page: what each well holds, which tips are left, and the wells a step is working on. Edit layout to build it: drag labware from PyLabRobot's catalogue onto slots or carriers, fill wells with a liquid, or import a layout you already have; on a Flex, also choose what is mounted. Saved as plr-ivoryos's worktable.json. Add the liquid handler's driver to the deck first: this plugin installs with its PyLabRobot.$t$ +where id = 7; + +commit; From 75bf665df61f7e66e900992437f3382a02885249 Mon Sep 17 00:00:00 2001 From: ivoryzhangwy Date: Mon, 23 Nov 2026 15:36:35 -0700 Subject: [PATCH 4/4] feat: saved layouts on every liquid handler, not only the Flex - STAR, Prep, OT-2, Nimbus, Vantage, EVO and the legacy LiquidHandler take `layouts_folder`, as the Flex does. - A saved layout's equipment is checked by the robot it is loaded on (STAR, Prep, OT-2), and a change to what is fitted asks for a restart on any robot. - docs/liquid-handlers.md says where each robot is now that 1.0.0b2 has them all; the README's Labware panel and changelog say so too. - Tests: save, switch, revert and export on each robot; an OT-2 layout with other pipettes. Co-Authored-By: Claude Opus 5.5 --- README.md | 16 +++++++---- docs/liquid-handlers.md | 54 +++++++++++++++++++----------------- plr_ivoryos/hamilton/prep.py | 13 +++++++-- plr_ivoryos/hamilton/star.py | 13 +++++++-- plr_ivoryos/legacy.py | 21 ++++++++------ plr_ivoryos/opentrons/ot2.py | 13 +++++++-- plr_ivoryos/robot.py | 5 ++-- tests/test_layouts.py | 44 +++++++++++++++++++++++++++++ 8 files changed, 131 insertions(+), 48 deletions(-) diff --git a/README.md b/README.md index 9d642ca..0b542d2 100644 --- a/README.md +++ b/README.md @@ -242,11 +242,12 @@ in a deck file (or `ivoryos_edge.run(__name__, plugins=[plr_ivoryos.labware_view beside every page. **Edit layout** changes the worktable file as you go, with nothing to confirm. It shows the layout and the labware to place; the rest is under **⋯**, and **?** explains it all: -- what is mounted (**⋯ → Pipettes and gripper…**): the pipette on each mount or the 96-channel - head, the gripper, the trash slot; -- drag labware from PyLabRobot's catalogue (a Flex's own tip racks, and any plate, reservoir or - tube rack) onto an empty slot; drag what is there to move it, × to take it off, rename it in the - list; +- on a Flex, what is mounted (**⋯ → Pipettes and gripper…**): the pipette on each mount or the + 96-channel head, the gripper, the trash slot; on a robot with several worktables (a STAR, + STARlet or STARplus, an EVO 100, 150 or 200), which one (**⋯ → Robot…**); +- drag labware from PyLabRobot's catalogue (the robot's own tip racks and carriers, and any plate, + reservoir or tube rack) onto an empty slot or carrier position; drag what is there to move it, + × to take it off, rename it in the list; - click a plate or reservoir, pick wells, and **Fill** them with a liquid and a volume: the `liquids` a run starts from; - **⋯ → Import a layout…** takes a worktable file you already have; the one it replaces is kept as @@ -333,13 +334,16 @@ IvoryOS desktop app's decks do) uses the same plr-ivoryos and PyLabRobot. `direction=GripDirection.FRONT`) is shown to IvoryOS as data (`{"x": 0, "y": 0, "z": 0}`, the enum's value; its name is taken too) and made PyLabRobot's again when the step runs: IvoryOS NextGen stores a deck's steps as JSON, and could not record a deck that had one. +- **Saved layouts** in the Labware panel (below *The Labware panel*), on every robot: save a + worktable under a name, switch, revert, download; `layouts_folder` on each robot. ### What changed in 1.0.0b1 - **PyLabRobot 1.0 only.** The 0.2 `LiquidHandler`, its worktables for the OT-2, Hamilton and Tecan robots, and the single-purpose devices (`Scale`, `Pump`, `PlateReader`, `Sealer`, ...) are gone: they wrapped PyLabRobot's older interfaces, which 1.0 keeps only as `pylabrobot.legacy`. Saved - workflows using them need redoing. Where each robot is now, and what is planned: + workflows using them need redoing (1.0.0b2 brings the liquid handlers back on PyLabRobot 1.0). + Where each robot is now: [docs/liquid-handlers.md](docs/liquid-handlers.md). - **The Opentrons Flex**, its mounts and gripper as instruments, and a simulated Flex. - No steps of this package's own design: no `transfer`, no "next unused tips" from a bare rack name. diff --git a/docs/liquid-handlers.md b/docs/liquid-handlers.md index 0e82839..0d92a07 100644 --- a/docs/liquid-handlers.md +++ b/docs/liquid-handlers.md @@ -1,31 +1,32 @@ # Liquid handlers: where each one is -Checked 2026-11-22 by reading and running PyLabRobot 0.2.2 and 1.0.0b1. No robot in this table has -been run on real hardware with this package, in either line. +Checked 2026-11-23 against PyLabRobot 0.2.2 and 1.0.0b1. No robot in this table has been run on +real hardware with this package, in either line. Which simulator each one runs on, and what +PyLabRobot lacks, is in [simulators.md](simulators.md). ## The two lines of this package - **0.2.x** is for PyLabRobot 0.2.x. Every robot is one instrument, PyLabRobot's old `LiquidHandler`, with the same steps on each (`aspirate`, `dispense`, `transfer`, `pick_up_tips`, `move_plate`, ...) and PyLabRobot's generic simulator. -- **1.0** is for PyLabRobot 1.0. Each robot has its own class and each thing mounted on it is an - instrument of its own, with PyLabRobot's step names. Only the Flex is done. +- **1.0** is for PyLabRobot 1.0. A robot PyLabRobot 1.0 has a class for has its class here, and + each thing fitted to it is an instrument of its own, with PyLabRobot's step names. A robot only + `pylabrobot.legacy` drives is that legacy `LiquidHandler`, one instrument. Since 1.0.0b2 every + liquid handler PyLabRobot 1.0.0b1 drives is here. ## Robot by robot -| Robot | This package 0.2.x | Where it is in PyLabRobot 1.0.0b1 | This package 1.0 | +| Robot | This package 0.2.x | Where it is in PyLabRobot 1.0.0b1 | This package 1.0 (since 1.0.0b2) | | :--- | :--- | :--- | :--- | -| Opentrons Flex | not included | `pylabrobot.opentrons`: `Flex`, `FlexHead1`, `FlexHead8`, `FlexHead96`, `FlexGripper`. No simulator. | Done, with this package's simulator | -| Opentrons OT-2 | included | `pylabrobot.opentrons`: `OT2`, `OT2SingleChannelPipette`, `OT2_8ChannelPipette`. No simulator. | Not done. Needs a simulator written first. | -| Hamilton STAR, STARlet | included | `pylabrobot.hamilton.star`: `STAR`, `STARlet`, `STARPlus`, with `STARSimulationDriver` | Not done. Can be built against PyLabRobot's simulator. | -| Hamilton Prep | not included | `pylabrobot.hamilton.prep`: `Prep`, with `PrepSimulationDriver` | Not done | -| Hamilton Nimbus | included | only `pylabrobot.legacy` | Not planned | -| Hamilton Vantage | included | only `pylabrobot.legacy` | Not planned | -| Tecan EVO 100, 150, 200 | included | only `pylabrobot.legacy` | Not planned | - -Already in the 1.0 line for the OT-2 and the STAR: the worktable file builds their decks -(`OTDeck`, `STARDeck`, `STARLetDeck` in `worktable.py`), and the Labware view draws any robot. -What is missing is the driver class for each, like `opentrons/flex.py` for the Flex. +| Opentrons Flex | not included | `pylabrobot.opentrons`: `Flex`, `FlexHead1`, `FlexHead8`, `FlexHead96`, `FlexGripper`. No simulator. | `opentrons.Flex` (since 1.0.0b1), on this package's simulated robot-server | +| Opentrons OT-2 | included | `pylabrobot.opentrons`: `OT2`, `OT2SingleChannelPipette`, `OT2_8ChannelPipette`. No simulator. | `opentrons.OT2`, on the same simulated robot-server | +| Hamilton STAR, STARlet, STARplus | included (STAR, STARlet) | `pylabrobot.hamilton.star`: `STAR`, `STARlet`, `STARPlus`, with `STARSimulationDriver` | `hamilton.STAR`, on PyLabRobot's simulator | +| Hamilton Prep | not included | `pylabrobot.hamilton.prep`: `Prep`, with `PrepSimulationDriver` | `hamilton.Prep`, on PyLabRobot's simulator | +| Hamilton Nimbus | included | only `pylabrobot.legacy` | `legacy.Nimbus`, on PyLabRobot's legacy chatterbox | +| Hamilton Vantage | included | only `pylabrobot.legacy` | `legacy.Vantage`, the same | +| Tecan EVO 100, 150, 200 | included | only `pylabrobot.legacy` | `legacy.EVO`, the same; no disposable tips yet (PyLabRobot cannot make a Tecan tip rack) | + +Every one of them has a worktable file, is drawn in the Labware view, and keeps saved layouts. ## What the robot can do, 0.2 against 1.0 @@ -41,15 +42,16 @@ So 1.0 is not a step down for these two. The OT-2 is thin only next to the Flex. A workflow written for a 0.2 robot has to be rewritten for the same robot on 1.0: the instrument names and the step names are different (`star.aspirate` becomes a step on one of the STAR's parts). This is on purpose: 1.0 uses PyLabRobot's own names and does not try to make one workflow -run on two kinds of robot. +run on two kinds of robot. A Nimbus, Vantage or EVO keeps the old step names, being PyLabRobot's +legacy `LiquidHandler`, but is a different instrument class, so its workflows need redoing too. ## The legacy route -`pylabrobot.legacy` in 1.0.0b1 still holds the old `LiquidHandler`, its backends (STAR, Vantage, -Nimbus, EVO, OT-2) and its simulator. It started and stopped on all eight old worktables; no step -was run on it. PyLabRobot marks it legacy and tells callers to move off it, and this package's 0.2 -code does not run on it as it is (14 of its 32 tests fail on 1.0.0b1). This package does not use -it. It is the only route to a Nimbus, Vantage or EVO on PyLabRobot 1.0, if someone asks for one. +`pylabrobot.legacy` in 1.0.0b1 still holds the old `LiquidHandler`, its backends and its +simulator. PyLabRobot marks it legacy and tells callers to move off it, but it is the only route to +a Nimbus, Vantage or EVO on PyLabRobot 1.0, so this package uses it for those three +(`plr_ivoryos.legacy`), and for any other legacy backend handed to `legacy.LiquidHandler`. When +PyLabRobot gives one of them a 1.0 class, it moves to that class here, as the STAR and OT-2 did. ## Versions @@ -61,8 +63,8 @@ it. It is the only route to a Nimbus, Vantage or EVO on PyLabRobot 1.0, if someo bound, so it will break when PyLabRobot 1.0 is final. On 2026-11-22 that branch passed its tests on PyLabRobot 0.2.2 and ran a simulated STARlet and OT-2 with the current IvoryOS edge. -## Order of work, when picked up +## What is left -1. Hamilton STAR and STARlet on 1.0 (a simulator exists). -2. Opentrons OT-2 on 1.0 (write the simulator first, as was done for the Flex). -3. Nimbus, Vantage, EVO only when someone needs one. +What PyLabRobot lacks for these robots (an OT-2 and Flex simulator, 1.0 classes for the Nimbus, +Vantage and EVO, Tecan tip racks, decks that cannot be read back from their own `serialize()`) is +listed with what to send upstream in [simulators.md](simulators.md). diff --git a/plr_ivoryos/hamilton/prep.py b/plr_ivoryos/hamilton/prep.py index ae6775f..621bc91 100644 --- a/plr_ivoryos/hamilton/prep.py +++ b/plr_ivoryos/hamilton/prep.py @@ -54,18 +54,21 @@ class Prep(WorktableRobot): equipment what is fitted, for a real Prep when the file does not say (it is asked otherwise) step_delay_s a pause after each step, simulated only tracking PyLabRobot's tip and volume tracking + layouts_folder where layouts saved by name are kept; optional, worktable.layouts beside the + worktable file (see Flex) """ KINDS = ["PrepDeck"] def __init__(self, host: Optional[str] = None, port: int = 2000, simulated: bool = False, worktable: Optional[str] = None, equipment: Optional[Dict[str, Any]] = None, - step_delay_s: float = 0.0, tracking: bool = True): + step_delay_s: float = 0.0, tracking: bool = True, + layouts_folder: Optional[str] = None): if not simulated and not host: raise ValueError("Give the Prep's host, or simulated=True.") if simulated and host: raise ValueError("simulated=True runs no robot, so a host beside it would be ignored.") - super().__init__(worktable, "PrepDeck", simulated, step_delay_s, tracking) + super().__init__(worktable, "PrepDeck", simulated, step_delay_s, tracking, layouts_folder) self._host, self._port = host, int(port) found = None if self._new_file else self._config.get("equipment") if simulated: @@ -124,6 +127,12 @@ def _plr_target(self): def _attach_deck(self, deck) -> None: self._plr = self._make_plr(deck) + def _checked(self, config: dict) -> dict: + """A layout from a file says what is fitted too: refuse what this robot cannot have, not + when the deck next starts.""" + config["equipment"] = check_equipment(config.get("equipment") or self.equipment) + return config + def setup(self) -> None: """Connect and initialize the Prep, checking what is fitted against the worktable file. Any other step does this itself the first time. (PyLabRobot: Prep.setup)""" diff --git a/plr_ivoryos/hamilton/star.py b/plr_ivoryos/hamilton/star.py index 77092f6..18d3df4 100644 --- a/plr_ivoryos/hamilton/star.py +++ b/plr_ivoryos/hamilton/star.py @@ -88,14 +88,17 @@ class STAR(WorktableRobot): device_address / serial_number which STAR on USB, when there is more than one step_delay_s a pause after each step, simulated only, so a run can be watched tracking PyLabRobot's tip and volume tracking + layouts_folder where layouts saved by name are kept; optional, worktable.layouts beside the + worktable file (see Flex) """ KINDS = ["STARLetDeck", "STARDeck", "STARPlusDeck"] def __init__(self, simulated: bool = False, worktable: Optional[str] = None, deck_type: Optional[str] = None, equipment: Optional[Dict[str, Any]] = None, device_address: Optional[int] = None, - serial_number: Optional[str] = None, step_delay_s: float = 0.0, tracking: bool = True): - super().__init__(worktable, deck_type, simulated, step_delay_s, tracking) + serial_number: Optional[str] = None, step_delay_s: float = 0.0, tracking: bool = True, + layouts_folder: Optional[str] = None): + super().__init__(worktable, deck_type, simulated, step_delay_s, tracking, layouts_folder) self._device_address, self._serial_number = device_address, serial_number found = None if self._new_file else self._config.get("equipment") wanted = check_equipment(found or equipment or {}) if (found or equipment) else None @@ -172,6 +175,12 @@ def _plr_target(self): def _attach_deck(self, deck) -> None: self._plr = self._make_plr(deck) # PyLabRobot 1.0 makes the deck a child of the device + def _checked(self, config: dict) -> dict: + """A layout from a file says what is fitted too: refuse what this robot cannot have, not + when the deck next starts.""" + config["equipment"] = check_equipment(config.get("equipment") or self.equipment) + return config + def setup(self) -> None: """Connect and initialize the STAR, and find what is fitted, checking it against the worktable file. Any other step does this itself the first time. (PyLabRobot: STAR.setup)""" diff --git a/plr_ivoryos/legacy.py b/plr_ivoryos/legacy.py index 2fae691..7d250c1 100644 --- a/plr_ivoryos/legacy.py +++ b/plr_ivoryos/legacy.py @@ -45,6 +45,8 @@ class LiquidHandler(WorktableRobot): deck_type which worktable a new file is (one of KINDS) step_delay_s a pause after each step, simulated only tracking PyLabRobot's tip and volume tracking + layouts_folder where layouts saved by name are kept; optional, worktable.layouts beside the + worktable file (see Flex) """ # Any worktable but the Flex's (PyLabRobot's legacy front end has no Flex backend); a STARlet by @@ -52,12 +54,13 @@ class LiquidHandler(WorktableRobot): KINDS = ["STARLetDeck"] + [kind for kind in worktable.DECKS if kind not in ("FlexDeck", "STARLetDeck")] def __init__(self, backend=None, simulated: bool = False, channels: int = 8, worktable: Optional[str] = None, - deck_type: Optional[str] = None, step_delay_s: float = 0.0, tracking: bool = True): + deck_type: Optional[str] = None, step_delay_s: float = 0.0, tracking: bool = True, + layouts_folder: Optional[str] = None): if backend is None and not simulated: raise ValueError("Give a pylabrobot.legacy backend, or simulated=True.") if backend is not None and simulated: raise ValueError("simulated=True runs no robot, so a backend beside it would be ignored.") - super().__init__(worktable, deck_type, simulated, step_delay_s, tracking) + super().__init__(worktable, deck_type, simulated, step_delay_s, tracking, layouts_folder) self._channels = int(channels) self._backend = backend self._plr = self._make_plr() @@ -115,7 +118,8 @@ class Nimbus(LiquidHandler): KINDS = ["NimbusDeck"] def __init__(self, host: Optional[str] = None, port: int = 2000, simulated: bool = False, - worktable: Optional[str] = None, channels: int = 8, step_delay_s: float = 0.0, tracking: bool = True): + worktable: Optional[str] = None, channels: int = 8, step_delay_s: float = 0.0, tracking: bool = True, + layouts_folder: Optional[str] = None): backend = None if host and not simulated: from pylabrobot.legacy.liquid_handling.backends.hamilton.nimbus_backend import NimbusBackend @@ -124,7 +128,7 @@ def __init__(self, host: Optional[str] = None, port: int = 2000, simulated: bool raise ValueError("Give the Nimbus's host, or simulated=True.") elif host: raise ValueError("simulated=True runs no robot, so a host beside it would be ignored.") - super().__init__(backend, simulated, channels, worktable, "NimbusDeck", step_delay_s, tracking) + super().__init__(backend, simulated, channels, worktable, "NimbusDeck", step_delay_s, tracking, layouts_folder) class Vantage(LiquidHandler): @@ -134,12 +138,12 @@ class Vantage(LiquidHandler): def __init__(self, simulated: bool = False, worktable: Optional[str] = None, device_address: Optional[int] = None, serial_number: Optional[str] = None, channels: int = 8, step_delay_s: float = 0.0, - tracking: bool = True): + tracking: bool = True, layouts_folder: Optional[str] = None): backend = None if not simulated: from pylabrobot.legacy.liquid_handling.backends import VantageBackend backend = VantageBackend(device_address=device_address, serial_number=serial_number) - super().__init__(backend, simulated, channels, worktable, "VantageDeck", step_delay_s, tracking) + super().__init__(backend, simulated, channels, worktable, "VantageDeck", step_delay_s, tracking, layouts_folder) class EVO(LiquidHandler): @@ -151,12 +155,13 @@ class EVO(LiquidHandler): KINDS = ["EVO150Deck", "EVO100Deck", "EVO200Deck"] def __init__(self, simulated: bool = False, worktable: Optional[str] = None, deck_type: Optional[str] = None, - diti_count: int = 0, channels: int = 8, step_delay_s: float = 0.0, tracking: bool = True): + diti_count: int = 0, channels: int = 8, step_delay_s: float = 0.0, tracking: bool = True, + layouts_folder: Optional[str] = None): backend = None if not simulated: from pylabrobot.legacy.liquid_handling.backends import EVOBackend backend = EVOBackend(diti_count=diti_count) - super().__init__(backend, simulated, channels, worktable, deck_type, step_delay_s, tracking) + super().__init__(backend, simulated, channels, worktable, deck_type, step_delay_s, tracking, layouts_folder) # Labware a step moves, and where to. diff --git a/plr_ivoryos/opentrons/ot2.py b/plr_ivoryos/opentrons/ot2.py index b1ae131..3c4154e 100644 --- a/plr_ivoryos/opentrons/ot2.py +++ b/plr_ivoryos/opentrons/ot2.py @@ -60,19 +60,22 @@ class OT2(WorktableRobot): step_delay_s a pause after each step, simulated only command_timeout seconds PyLabRobot waits for one robot command tracking PyLabRobot's tip and volume tracking + layouts_folder where layouts saved by name are kept; optional, worktable.layouts beside the + worktable file (see Flex) """ KINDS = ["OTDeck"] def __init__(self, host: Optional[str] = None, port: int = 31950, simulated: bool = False, worktable: Optional[str] = None, equipment: Optional[Dict[str, Any]] = None, - step_delay_s: float = 0.0, command_timeout: float = 30.0, tracking: bool = True): + step_delay_s: float = 0.0, command_timeout: float = 30.0, tracking: bool = True, + layouts_folder: Optional[str] = None): if not simulated and not host: raise ValueError("Give the OT-2's host, or simulated=True.") if simulated and host: raise ValueError("simulated=True runs no robot, so a host beside it would be ignored. Turn simulated off " "to use that robot, or leave the host out to simulate.") - super().__init__(worktable, "OTDeck", simulated, step_delay_s, tracking) + super().__init__(worktable, "OTDeck", simulated, step_delay_s, tracking, layouts_folder) self._host, self._port, self._command_timeout = host, int(port), float(command_timeout) found = None if self._new_file else self._config.get("equipment") if found or equipment: @@ -147,6 +150,12 @@ def _part_target(self, part: str): def _attach_deck(self, deck) -> None: self._plr = self._make_plr() + def _checked(self, config: dict) -> dict: + """A layout from a file says what is fitted too: refuse what this robot cannot have, not + when the deck next starts.""" + config["equipment"] = check_equipment(config.get("equipment") or self.equipment) + return config + def setup(self, skip_home: bool = False) -> None: """Connect, start a run, find what is mounted (checking it against the worktable file) and home, unless skip_home. Any other step does this itself the first time. (PyLabRobot: OT2.setup)""" diff --git a/plr_ivoryos/robot.py b/plr_ivoryos/robot.py index 3c1c864..d80adf2 100644 --- a/plr_ivoryos/robot.py +++ b/plr_ivoryos/robot.py @@ -183,8 +183,9 @@ def _steps_read(self) -> tuple: return labware, sorted(self._site_map()), self._parts_read() def _parts_read(self) -> Any: - """What the robot's instruments were made from (a subclass's equipment).""" - return None + """What the robot's instruments were made from: what the worktable says is fitted (a + subclass may narrow it, as a Flex leaves out its trash).""" + return sorted((part, str(value)) for part, value in (self._config.get("equipment") or {}).items()) def _restart_needed(self) -> bool: return self._started_with is not None and self._steps_read() != self._started_with diff --git a/tests/test_layouts.py b/tests/test_layouts.py index e4dd5af..4b9ef3b 100644 --- a/tests/test_layouts.py +++ b/tests/test_layouts.py @@ -211,3 +211,47 @@ def test_layouts_can_live_in_a_folder_of_their_own(data_folder): robot = Flex(simulated=True, worktable=write(data_folder, FILE), layouts_folder="shared layouts") robot.__ivoryos_labware_edit__("save_layout", name="Screen") assert os.listdir(os.path.join(str(data_folder), "shared layouts")) == ["Screen.json"] + + +# --- every other liquid handler ------------------------------------------------------------------------ + +@pytest.mark.parametrize("cls", ["STAR", "Prep", "OT2", "Nimbus", "Vantage", "EVO"]) +def test_every_liquid_handler_saves_switches_and_reverts_layouts(cls, data_folder): + import plr_ivoryos + robot = getattr(plr_ivoryos, cls)(simulated=True, layouts_folder="layouts") + edit = robot.__ivoryos_labware_edit__ + try: + assert edit("save_layout", name="Screen") == {"name": "Screen", "restart": False} + edit("liquid", labware="assay_plate", wells="A1", liquid="dye", volume_ul=50) + assert status(robot)["changed"] == {"layout": False, "liquids": True} + edit("save_layout", name="Dyed") + assert edit("use_layout", name="Screen") == {"name": "Screen", "restart": False}, "liquids only" + assert robot.read_volumes("assay_plate[A1]") == {"assay_plate[A1]": 0.0} + edit("remove", name="sample_plate") + assert robot.__ivoryos_labware__()["deck"]["restart_needed"] is True + assert edit("revert") == {"name": "Screen", "restart": False}, "back to what the deck started with" + assert "sample_plate" in robot.__ivoryos_labware__()["labware"] + assert edit("use_layout", name="Dyed")["restart"] is False + assert robot.read_volumes("assay_plate[A1]") == {"assay_plate[A1]": 50.0} + assert robot.__ivoryos_labware_export__()["filename"] == "Dyed.json" + assert sorted(os.listdir(os.path.join(str(data_folder), "layouts"))) == ["Dyed.json", "Screen.json"] + finally: + robot.stop() + + +def test_an_ot2_layout_says_its_pipettes_and_other_ones_need_a_restart(data_folder): + from plr_ivoryos import OT2 + robot = OT2(simulated=True) + edit = robot.__ivoryos_labware_edit__ + try: + edit("save_layout", name="Screen") + saved = json.load(open(os.path.join(folder(data_folder), "Screen.json"))) + write(folder(data_folder), {**saved, "equipment": {"left": "p20_single_gen2"}}, "One pipette.json") + write(folder(data_folder), {**saved, "equipment": {"left": "p1000_single_flex"}}, "Bad.json") + assert edit("use_layout", name="One pipette")["restart"] is True, "the right mount is gone" + assert robot.equipment == {"left": "p20_single_gen2"} + with pytest.raises(ValueError, match="not an OT-2 pipette"): + edit("use_layout", name="Bad") + assert edit("use_layout", name="Screen")["restart"] is False + finally: + robot.stop()