diff --git a/wsimod/orchestration/model.py b/wsimod/orchestration/model.py index df6b985..bab3198 100644 --- a/wsimod/orchestration/model.py +++ b/wsimod/orchestration/model.py @@ -443,7 +443,7 @@ def add_nodes(self, nodelist): del data["type_"] if node_type not in NODES_REGISTRY.keys(): - raise ValueError(f"Node type {type_} not recognised") + raise ValueError(f"Node type {node_type} not recognised") if type_ not in self.nodes_type.keys(): self.nodes_type[type_] = {}