AFL.automation.prepare.VirtualOT2HTTPDriver#
Functions
|
Classes
|
|
|
|
|
In-memory mock of |
- class AFL.automation.prepare.VirtualOT2HTTPDriver.VirtualOT2HTTPDriver(overrides=None)[source]#
In-memory mock of
OT2HTTPDriverfor CI testing.This driver inherits from
OT2HTTPDriverbut overrides all network-facing functionality. Calls simply update internal state and log actions, allowing test suites to exercise OT2-dependent code without requiring hardware or the HTTP server.- home(**kwargs)[source]#
Home the robot’s axes using the dedicated /robot/home endpoint.
This endpoint is a direct control endpoint and doesn’t require creating a run. It can be used to home all axes at once or specific axes as needed.
- load_labware(name, slot, module=None, **kwargs)[source]#
Load labware (containers, tipracks) into the protocol using HTTP API
- Parameters:
check_run_status – If False, skip HTTP GET check when ensuring run exists. Passed to _ensure_run_exists and send_labware for optimization.
- load_instrument(name, mount, tip_rack_slots, **kwargs)[source]#
Load pipette and store tiprack information using HTTP API.
- Parameters:
check_run_status – If False, skip HTTP GET check when ensuring run exists. Passed to _ensure_run_exists for optimization.
update_pipettes – If False, skip calling _update_pipettes (for optimization during reload).