pylabrobot.heating_shaking.heater_shaker.HeaterShaker.check_can_drop_resource_here#
- HeaterShaker.check_can_drop_resource_here(resource: Resource, *, reassign: bool = True) None#
Validate whether
resourcemay be dropped onto this resource.Non-mutating preflight check used before assignment (e.g., drag/drop, LiquidHandler). Enforces generic tree/assignment rules (reassign semantics, root name conflicts, no cycles). Override in subclasses (and call
super()) to add domain-specific constraints.- Raises:
ValueError – If the drop/assignment is not allowed.
- Parameters:
- Return type:
None