Skip to content

Commit 177f9cb

Browse files
committed
another file
Signed-off-by: Thijs Baaijen <[email protected]>
1 parent 5682429 commit 177f9cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/performance/graph_performance_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def perftest_initialize():
1717
def perftest_get_components():
1818
code_to_test = (
1919
"from power_grid_model_ds.enums import NodeType;"
20-
+ "feeder_node_ids=grid.node.filter(node_type=NodeType.SUBSTATION_NODE).id;"
20+
+ "feeder_node_ids=grid.node.filter(node_type=NodeType.SUBSTATION_NODE)['id'];"
2121
+ "grid.graphs.active_graph.get_components(feeder_node_ids)"
2222
)
2323
do_performance_test(code_to_test, GRAPH_SIZES, 100, setup_codes=GRAPH_SETUP_CODES)

0 commit comments

Comments
 (0)