CADETProcess.dataStructure.nested_dict.set_nested_list_value#
- CADETProcess.dataStructure.nested_dict.set_nested_list_value(ls: Sequence[Any], idx_tuple: tuple[int, ...], value: Any) None[source]#
Set a value in a nested list structure using an index tuple.
- Parameters:
- lsSequence[Any]
The nested list structure.
- idx_tupletuple[int, …]
A tuple of indices specifying the path to the value to be set.
- valueAny
The new value to assign.
- Raises:
- IndexError
If any index in the path is out of range.