|
10 | 10 | },
|
11 | 11 | {
|
12 | 12 | "cell_type": "code",
|
13 |
| - "execution_count": 1, |
| 13 | + "execution_count": null, |
14 | 14 | "id": "2e646c1c",
|
15 | 15 | "metadata": {},
|
16 | 16 | "outputs": [
|
17 | 17 | {
|
18 |
| - "data": { |
19 |
| - "text/html": [ |
20 |
| - "<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #800080; text-decoration-color: #800080; font-weight: bold\">Connecting engine server -> </span><span style=\"color: #800080; text-decoration-color: #800080; font-weight: bold; text-decoration: underline\">http://localhost:8081</span>\n", |
21 |
| - "</pre>\n" |
22 |
| - ], |
23 |
| - "text/plain": [ |
24 |
| - "\u001b[1;35mConnecting engine server -> \u001b[0m\u001b[1;4;35mhttp://localhost:8081\u001b[0m\n" |
25 |
| - ] |
26 |
| - }, |
27 |
| - "metadata": {}, |
28 |
| - "output_type": "display_data" |
29 |
| - }, |
30 |
| - { |
31 |
| - "data": { |
32 |
| - "text/html": [ |
33 |
| - "<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">✅<span style=\"color: #008000; text-decoration-color: #008000; font-weight: bold\">Connected, local lib:0.</span><span style=\"color: #008000; text-decoration-color: #008000; font-weight: bold\">26.4</span><span style=\"color: #008000; text-decoration-color: #008000; font-weight: bold\">, server:</span><span style=\"color: #008000; text-decoration-color: #008000; font-weight: bold\">0.27</span><span style=\"color: #008000; text-decoration-color: #008000; font-weight: bold\">.</span><span style=\"color: #008000; text-decoration-color: #008000; font-weight: bold\">4</span>\n", |
34 |
| - "</pre>\n" |
35 |
| - ], |
36 |
| - "text/plain": [ |
37 |
| - "✅\u001b[1;32mConnected, local li\u001b[0m\u001b[1;32mb:0\u001b[0m\u001b[1;32m.\u001b[0m\u001b[1;32m26.4\u001b[0m\u001b[1;32m, server:\u001b[0m\u001b[1;32m0.27\u001b[0m\u001b[1;32m.\u001b[0m\u001b[1;32m4\u001b[0m\n" |
38 |
| - ] |
39 |
| - }, |
40 |
| - "metadata": {}, |
41 |
| - "output_type": "display_data" |
| 18 | + "ename": "", |
| 19 | + "evalue": "", |
| 20 | + "output_type": "error", |
| 21 | + "traceback": [ |
| 22 | + "\u001b[1;31mRunning cells with 'Python 3.12.3' requires the ipykernel package.\n", |
| 23 | + "\u001b[1;31mRun the following command to install 'ipykernel' into the Python environment. \n", |
| 24 | + "\u001b[1;31mCommand: '/opt/homebrew/bin/python3.12 -m pip install ipykernel -U --user --force-reinstall'" |
| 25 | + ] |
42 | 26 | }
|
43 | 27 | ],
|
44 | 28 | "source": [
|
|
73 | 57 | }
|
74 | 58 | ],
|
75 | 59 | "source": [
|
76 |
| - "import absbox.examples as examples" |
| 60 | + "import absbox.examples.base as base" |
77 | 61 | ]
|
78 | 62 | },
|
79 | 63 | {
|
|
88 | 72 | " ,None)\n",
|
89 | 73 | "\n",
|
90 | 74 | "\n",
|
91 |
| - "r = localAPI.run(examples.test01\n", |
| 75 | + "r = localAPI.run(base.test01\n", |
92 | 76 | " ,poolAssump=myAssumption\n",
|
93 | 77 | " ,read=True)"
|
94 | 78 | ]
|
|
132 | 116 | " ,None\n",
|
133 | 117 | " ,None)\n",
|
134 | 118 | "\n",
|
135 |
| - "r = localAPI.runByScenarios(examples.test01\n", |
| 119 | + "r = localAPI.runByScenarios(base.test01\n", |
136 | 120 | " ,poolAssump={\"00\":myAssumption\n",
|
137 | 121 | " ,\"stressed\":myAssumption2}\n",
|
138 | 122 | " ,read=True)"
|
|
1189 | 1173 | "metadata": {},
|
1190 | 1174 | "outputs": [],
|
1191 | 1175 | "source": [
|
1192 |
| - "r = localAPI.runStructs({\"A\":examples.test01\n", |
1193 |
| - " ,\"B\":examples.test02}\n", |
| 1176 | + "r = localAPI.runStructs({\"A\":base.test01\n", |
| 1177 | + " ,\"B\":base.test02}\n", |
1194 | 1178 | " ,read=True)"
|
1195 | 1179 | ]
|
1196 | 1180 | },
|
|
0 commit comments