laborchestrator.process_reader module

The general interface for process readers. These are used to parse process descriptions from a workflow description language into the laborchestrator’s own structures. For exemplary use see pythonlab_reader.py.

class laborchestrator.process_reader.ProcessReader[source]

Bases: ABC

_abc_impl = <_abc._abc_data object>
static adjust_opacities(p: SMProcess)[source]

Utility function setting the opacities of all process steps that are unsure to be executed (depending on runtime decisions) to .5 :param p: :return:

static get_available_processes(file_dir: str) List[Any][source]

Searches a directory for available process descriptions. :param file_dir: :return: A list containing all found process descriptions (in their native language).

abstractmethod read_process(process: Any, **kwargs) SMProcess[source]

Reads a process written in some workflow description language into the orchestrators own format. :param process: :param kwargs: :return: