Skip to content

Commit edac8c6

Browse files
committed
Update the examples
Signed-off-by: GitHub Actions Bot <[email protected]>
1 parent cd0dcfb commit edac8c6

File tree

4 files changed

+64
-64
lines changed

4 files changed

+64
-64
lines changed

examples/Generic Branch Example.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
" | |\n",
4040
" 0 Br9,T2 0 Br10, T3\n",
4141
" 0 0\n",
42-
" | | \n",
42+
" | |\n",
4343
" ---- -----> 7, Load\n",
4444
" |\n",
4545
" |\n",
@@ -48,7 +48,7 @@
4848
" |\n",
4949
" ----- 11, Station1\n",
5050
" |\n",
51-
" ----> 6, Load \n",
51+
" ----> 6, Load\n",
5252
"\n",
5353
"\n",
5454
"========================================\n",
@@ -162,7 +162,7 @@
162162
" | |\n",
163163
" 0 Br9,T2 0 Br10, T3\n",
164164
" 0 0\n",
165-
" | | \n",
165+
" | |\n",
166166
" ---- -----> 7, Load\n",
167167
" |\n",
168168
" |\n",
@@ -171,7 +171,7 @@
171171
" |\n",
172172
" ----- 11, Station1\n",
173173
" |\n",
174-
" ----> 6, Load \n",
174+
" ----> 6, Load\n",
175175
"\n",
176176
"\"\"\"\n",
177177
"# Voltage levels of the transformer\n",

examples/Make Test Dataset.ipynb

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -278,8 +278,7 @@
278278
],
279279
"source": [
280280
"# we can display the json file\n",
281-
"\n",
282-
"with open(temp_path / \"input.json\", \"r\") as f:\n",
281+
"with (temp_path / \"input.json\").open(\"r\") as f:\n",
283282
" print(f.read())"
284283
]
285284
},
@@ -395,7 +394,7 @@
395394
"\n",
396395
"json_serialize_to_file(temp_path / \"update_batch.json\", time_series_mutation)\n",
397396
"\n",
398-
"with open(temp_path / \"update_batch.json\", \"r\") as f:\n",
397+
"with (temp_path / \"update_batch.json\").open(\"r\") as f:\n",
399398
" print(f.read())"
400399
]
401400
},
@@ -531,7 +530,7 @@
531530
"name": "python",
532531
"nbconvert_exporter": "python",
533532
"pygments_lexer": "ipython3",
534-
"version": "3.13.5"
533+
"version": "3.13.3"
535534
}
536535
},
537536
"nbformat": 4,

0 commit comments

Comments
 (0)