pylabrobot.resources.opentrons.load.load_shared_opentrons_resource#
- pylabrobot.resources.opentrons.load.load_shared_opentrons_resource(definition: str, name: str, version: int = 1) → Plate | TipRack | TubeRack#
Load an Opentrons resource from the shared Opentrons resource library.
See Opentrons/opentrons.
- Parameters:
- Returns:
A
Resource
.- Raises:
ValueError – if the file is not a valid opentrons definition file.
UnknownResourceType – if the file is a valid opentrons definition file, but the resource type is not supported.
- Return type:
Examples
Load a tip rack:
>>> from pylabrobot.resources.opentrons import load_shared_opentrons_resource >>> load_shared_opentrons_resource("opentrons_96_tiprack_labware", "96Standard")