pythonlab.process module¶
- PROJECT:
pythonLab
process base class
- details:
- authors:
mark doerr (mark@uni-greifswald.de) Stefan Maak
- date:
(creation) 20210410
- class pythonlab.process.ExecutionConstraint(*values)[source]¶
Bases:
Enum- immediate = 1¶
- parallel = 2¶
- class pythonlab.process.PLProcess(priority=10)[source]¶
Bases:
ABC- _abc_impl = <_abc._abc_data object>¶
- add_process_step(service: ServiceResource, labware: List[LabwareResource], is_movement: bool = False, **kwargs)[source]¶
This Method will be overwritten when the process is parsed. It is designed for service resources to add process steps to the workflow. :param service: :param labware: :param is_movement: :param kwargs: :return:
- add_process_step_priorities()[source]¶
we add waiting costs to all jobs, so these will be prioritised by scheduler should be also add waiting costs before the start, so they will be started first?
- Raises:
NotImplementedError – _description_
- property data_resources¶
- abstractmethod init_service_resources()[source]¶
calling all init routines. If no additional code is required, this can be called, using super().init_resources() in an overwriting method.
- property labware_resources¶
- property priority¶
- property service_resources¶
- set_starting_position(resource: LabwareResource, device: ServiceResource, position: int)[source]¶
This method gets called when setting the starting position of a labware resource. It exists to be overwritten. :param resource: :param device: :param position: :return:
- property substance_resources¶