cpalgnodes.containerinfo module
- class cpalgnodes.containerinfo.ContainerInfo
Bases:
objectHelper class holding information about the current state of a container
- input_name: str
The name of the container when input to the node
- output_name: str
The name of the container that the node should output
- property preselection: Expression
The preselection that the node should use
- selection_counts: Dict[str, int | None]
The number of counts for each selection defined on the container
- selection_to_property_value(selection: str | Expression) str
Convert a selection expression to a string property value
This will add all of the necessary as_char or as_bool strings
- cpalgnodes.containerinfo.mk_temp_name(base_name: str) str
Create a unique name for a temporary container
- Parameters:
base_name (str) – A base name to use for the container
- Returns:
The unique name
- Return type:
str