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_

abstractmethod create_resources()[source]
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
abstractmethod process()[source]
register_data_resource(resource)[source]
register_labware_resource(resource)[source]
register_service_resource(resource)[source]
register_substance_resource(resource)[source]
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:

shutdown_resources()[source]
property substance_resources