wei.core.workcell

A Class to represent a workcell object that contains the different WEI modules

Functions

find_step_module(workcell, step_module)

finds the full module information based on just it's name

get_workcell_dir(workcell_id)

Returns the directory where the workcell is stored

load_workcell_file(workcell_file)

Loads a workcell file and returns a Workcell object

set_config_from_workcell(workcell)

Sets the config from the workcell object

wei.core.workcell.find_step_module(workcell: Workcell, step_module: str) Module | None

finds the full module information based on just it’s name

Parameters:

step_module (str) – the name of the module

Returns:

module (Module) – The class with full information about the given module

wei.core.workcell.get_workcell_dir(workcell_id: str) Path

Returns the directory where the workcell is stored

wei.core.workcell.load_workcell_file(workcell_file: Path) Workcell

Loads a workcell file and returns a Workcell object

Parameters:

workcell_file (Path) – The path to the workcell file

Returns:

workcell (Workcell) – The workcell object

wei.core.workcell.set_config_from_workcell(workcell: Workcell) None

Sets the config from the workcell object