Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion tensorpowerflow/grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ def __init__(
self.iterations = iterations
self.tolerance = tolerance

if node_file_path is None and lines_file_path is None:
if (node_file_path is None and lines_file_path is None
and nodes_frame is None and lines_frame is None):
# here node frame and line frame are given to the inverse value
_nodes_frame, _lines_frame = _load_default_34_node_case()
self.branch_info = _nodes_frame
Expand Down