pylabrobot.thermo_fisher.kingfisher.bdz.BdzProtocol#
- class pylabrobot.thermo_fisher.kingfisher.bdz.BdzProtocol(name: str, tips: List[ProtocolTip] = <factory>, protocol_id: str = <factory>, run_id: str = <factory>, creator: str = 'pylabrobot', kit_name: str = '', description: str = '', is_executable: bool = True, timestamp: str | None = None, variant: Literal['presto', 'duo']='presto')#
Bases:
objectA complete KingFisher protocol, readable/writable as .bdz.
Example — minimal single-step protocol:
from pylabrobot.thermo_fisher.kingfisher.bdz import ( BdzProtocol, ProtocolTip, MixStep, write_bdz ) protocol = BdzProtocol( name="my-wash", tips=[ ProtocolTip( name="Tip1", steps=[MixStep(name="Wash1", shake_duration=60)], ) ], ) bdz_bytes = write_bdz(protocol) with open("my-wash.bdz", "wb") as f: f.write(bdz_bytes)
Attributes
Methods
__init__(name, tips, protocol_id, run_id, ...)