File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 44
55from dataclasses import dataclass
66
7- import numpy as np
8- from numpy .typing import NDArray
9-
107from power_grid_model_ds import Grid
118from power_grid_model_ds ._core .visualizer .main import visualize
12- from power_grid_model_ds .arrays import NodeArray
139from power_grid_model_ds .generators import RadialGridGenerator
14-
15-
16- class CoordinatedNodeArray (NodeArray ):
17- x : NDArray [np .float64 ]
18- y : NDArray [np .float64 ]
10+ from tests .unit .visualizer .test_parsers import CoordinatedNodeArray
1911
2012
2113@dataclass
Original file line number Diff line number Diff line change 22#
33# SPDX-License-Identifier: MPL-2.0
44
5+
6+ import numpy as np
7+ from numpy .typing import NDArray
8+
59from power_grid_model_ds ._core .model .arrays import LineArray , NodeArray
610from power_grid_model_ds ._core .visualizer .parsers import parse_branch_array , parse_node_array
7- from tests .integration .visualizer_tests import CoordinatedNodeArray
11+
12+
13+ class CoordinatedNodeArray (NodeArray ):
14+ x : NDArray [np .float64 ]
15+ y : NDArray [np .float64 ]
816
917
1018class TestParseNodeArray :
You can’t perform that action at this time.
0 commit comments