pylabrobot.high_res.sample_storage.SteriStore#
- class pylabrobot.high_res.sample_storage.SteriStore(host: str, name: str, racks: Mapping[int, PlateCarrier] | None = None, size_x: float = 0, size_y: float = 0, size_z: float = 0, rotation: Rotation | None = None, category: str | None = 'plate_store', model: str | None = None, port: int = 1000, read_timeout: float = 30.0, motion_timeout: float = 240.0, nests: Sequence[PlateHolder] | None = None, barcode: Barcode | None = None, preferred_pickup_location: Coordinate | None = None, metadata: Mapping[str, Any] | None = None)#
Bases:
HighResSampleStorageHighRes Biosolutions SteriStore plate store.
Attributes
Where this resource sits, relative to its parent.
Get the name of this resource.
The plate move whose physical outcome must be reconciled, if any.
Methods
__init__(host, name[, racks, size_x, ...])Create a HighRes sample-store resource and configure its TCP transport.
assign_child_by_anchor(resource[, ...])Assign a child resource by aligning anchor points.
assign_child_resource(resource, location[, ...])Assign a child resource to this resource.
at(location)Return a copy of this resource at the given location.
center([x, y, z])Get the center of this resource.
centers([xn, yn, zn])Get equally spaced points in the x, y, and z directions.
check_can_drop_resource_here(resource, *[, ...])Validate whether
resourcemay be dropped onto this resource.Clear an abort state reported by the device.
Close every pneumatic robot door.
copy()deregister_did_assign_resource_callback(callback)Remove a callback that will be called after a resource is assigned to this resource.
Remove a callback that will be called after a resource is unassigned from this resource.
deregister_state_update_callback(callback)Remove a callback that will be called when the state of the resource changes.
Remove a callback that will be called before a resource is assigned to this resource.
Remove a callback that will be called before a resource is unassigned from this resource.
deserialize(data[, allow_marshal])Restore a sample store and its modeled racks and transfer nests.
fetch_plate_to_loading_tray(plate, tray_index)find_random_site(plate)find_resource([fn, metadata, has_metadata, ...])Find the first matching resource, or None if not found.
find_resources([fn, metadata, has_metadata, ...])Find resources matching top-level attributes, metadata, and/or a predicate.
find_smallest_site_for_plate(plate)get_absolute_location([x, y, z])Get the absolute location of this resource, probably within the
pylabrobot.resources.Deck.Get the absolute rotation of this resource.
Get the absolute size in the x direction.
Get the absolute size in the y direction.
Get the absolute size in the z direction.
Recursively get all children of this resource.
get_anchor([x, y, z])Get a relative location within the resource.
Recursively finds the highest known point in absolute space.
get_location_wrt(other[, x, y, z])Get the location of this resource with respect to another resource.
get_resource(name)Get a resource by name.
get_root()Get the root of the resource tree.
get_site_by_plate_name(plate_name)Local size in the x direction.
Local size in the y direction.
Local size in the z direction.
has_resource(name)Whether anything at or beneath this resource carries the given name.
home()Home the system.
is_in_subtree_of(other)Return
Trueifselfis in the subtree rooted atother.load_all_state(state)Load state for this resource and all children.
load_from_json_file(json_file)Loads resources from a JSON file.
load_state(state)Load state for this resource only.
Load the state of this resource and all children from a JSON file.
named(name)Return a copy of this resource with the given name.
Open every pneumatic robot door.
recover()Retract the spatula and re-home after a motion fault.
register_did_assign_resource_callback(callback)Add a callback that will be called after a resource is assigned to this resource.
register_did_unassign_resource_callback(callback)Add a callback that will be called after a resource is unassigned from this resource.
register_state_update_callback(callback)Register a callback that will be called when the state of the resource changes.
register_will_assign_resource_callback(callback)Add a callback that will be called before a resource is assigned to this resource.
Add a callback that will be called before a resource is unassigned from this resource.
Return the
statusreport: carousel/theta/Y/Z positions.Parsed
doorstatusoutput, keyed by door name.Parse
environmentstatusinto{name: EnvironmentParameter}.Whether the machine is genuinely safe to move: homed AND the spatula slide/lift axes are retracted.
request_nest_is_holding(nest)Whether a plate is present on
nest(per its plate sensor).Parsed
neststatusoutput, keyed by nest number.Read the device's full settings file (
NAME = valuepairs) into a frozenHighResSampleStorageSettings.Whether a plate is currently held on the spatula (
platestatus).request_stacker_barcodes(stacker[, slot])Scan a stacker (or a single slot) for barcodes.
Parse
getstackerdimensions(<stacker>: <zero_offset> <slot_height> <slot_count>).resolve_unresolved_transfer(location)Reconcile an ambiguous plate move without issuing further motion.
rotate([x, y, z, pivot_coordinate])Rotate counter-clockwise around the parent-coordinate axes by the given degrees.
rotate_to([x, y, z, pivot_coordinate])Set the rotation about each axis, where
rotateturns by an amount instead.rotated([x, y, z, pivot_coordinate])Return a copy of this resource rotated by the given number of degrees.
save(fn[, indent])Save a resource to a JSON file.
save_state_to_file(fn[, indent])Save the state of this resource and all children to a JSON file.
Serialize the connection configuration and modeled inventory.
Serialize the state of this resource and all children.
Serialize the state of this resource only.
setup([home])stop()store_plate(plate, site, tray_index)take_in_plate(tray_index[, site])Move a plate between two transfer nests.
unassign()Unassign this resource from its parent.
unassign_child_resource(resource)Unassign a child resource from this resource.
- Parameters:
host (str)
name (str)
racks (Mapping[int, PlateCarrier] | None)
size_x (float)
size_y (float)
size_z (float)
rotation (Rotation | None)
category (str | None)
model (str | None)
port (int)
read_timeout (float)
motion_timeout (float)
nests (Sequence[PlateHolder] | None)
barcode (Barcode | None)
preferred_pickup_location (Coordinate | None)