Source code for pythonlab.resources.services.sealer
from typing import Optional
from pythonlab.resource import ServiceResource, LabwareResource
[docs]
class PlateSealerServiceResource(ServiceResource):
"""
"""
def __init__(self, proc, name: Optional[str], capacity: int = 1):
self._capacity = capacity
super().__init__(proc=proc, name=name)
[docs]
def seal_plate(self, labware: LabwareResource, temperature: int, duration: float, **kwargs):
kwargs.update(dict(fct="seal", temperature=temperature, duration=duration))
self.proc.add_process_step(self, [labware], **kwargs)