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, **kwargs):
kwargs.update(dict(fct="seal"))
if "duration" not in kwargs:
kwargs["duration"] = 60
self.proc.add_process_step(self, [labware], **kwargs)