Row (inherits from WellSet)
Description
Represents a single row of wells within a labware item, such as row 'A', 'B', etc. Provides structured access to wells that belong to the same horizontal row.
Constructor
python
Row(wells: Dict[str, Well], identifier: str)Initializes a Row with a dictionary of wells and the row's identifier.
| Parameter | Type | Description |
|---|---|---|
wells | Dict[str, Well] | Dictionary of wells belonging to the row, keyed by well names. |
identifier | str | Name of the row (e.g., 'A', 'B'). |
Properties
| Property | Type | Description |
|---|---|---|
identifier | str | Label of the row (e.g., 'A', 'B', 'C'). |
Methods
(Inherits all methods from WellSet.)
Short Example
python
# Create wells manually
well_a1 = Well(name="A1", depth=10, totalLiquidVolume=360, shape="circular", x=0, y=0, z=0)
well_a2 = Well(name="A2", depth=10, totalLiquidVolume=360, shape="circular", x=10, y=0, z=0)
# Create a Row
row_a = Row(wells={"A1": well_a1, "A2": well_a2}, identifier="A")
# Access a well
a1 = row_a["A1"]
# List all wells
print(row_a)Important Notes
Rowbehaves exactly like aWellSet, but includes additional semantic meaning by tracking the row label (identifier).- Supports access by well name or index, as with
WellSet. - Useful for row-based operations like pipetting across a row.