We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5cb043 commit 002f81dCopy full SHA for 002f81d
src/pownet/input.py
@@ -876,7 +876,7 @@ def check_data(self):
876
for nodes, node_type in nodes_to_check:
877
if not set(getattr(self, nodes).values()).issubset(self.nodes):
878
raise ValueError(
879
- f"PowNet: {node_type} must be connected to the grid: {set(getattr(self, nodes)) - self.nodes}"
+ f"PowNet: {node_type} must be connected to the grid: {set(getattr(self, nodes).values()) - self.nodes}"
880
)
881
882
##################################
0 commit comments