Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Dobson committed Oct 3, 2024
1 parent 388ac40 commit 21cce50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wsimod/orchestration/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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_] = {}
Expand Down

0 comments on commit 21cce50

Please sign in to comment.