|
298 | 298 | "source": "## Load Workflow with pyiron_base",
|
299 | 299 | "metadata": {}
|
300 | 300 | },
|
301 |
| - { |
302 |
| - "id": "fdde6b82-b51d-434a-a9a8-5a8c31bbb429", |
303 |
| - "cell_type": "code", |
304 |
| - "source": "from pyiron_base import Project", |
305 |
| - "metadata": { |
306 |
| - "trusted": true |
307 |
| - }, |
308 |
| - "outputs": [], |
309 |
| - "execution_count": 20 |
310 |
| - }, |
311 | 301 | {
|
312 | 302 | "id": "be4d5d93-e9f6-4072-a6be-0ee5dc93590f",
|
313 | 303 | "cell_type": "code",
|
|
318 | 308 | "outputs": [],
|
319 | 309 | "execution_count": 21
|
320 | 310 | },
|
321 |
| - { |
322 |
| - "id": "4db75587-5f4c-416d-a1f6-c949077fa2ca", |
323 |
| - "cell_type": "code", |
324 |
| - "source": "pr = Project(\"test\")\npr.remove_jobs(recursive=True, silently=True)", |
325 |
| - "metadata": { |
326 |
| - "trusted": true |
327 |
| - }, |
328 |
| - "outputs": [ |
329 |
| - { |
330 |
| - "output_type": "display_data", |
331 |
| - "data": { |
332 |
| - "text/plain": "0it [00:00, ?it/s]", |
333 |
| - "application/vnd.jupyter.widget-view+json": { |
334 |
| - "version_major": 2, |
335 |
| - "version_minor": 0, |
336 |
| - "model_id": "744782e84c574359874689c2242fb2d8" |
337 |
| - } |
338 |
| - }, |
339 |
| - "metadata": {} |
340 |
| - } |
341 |
| - ], |
342 |
| - "execution_count": 22 |
343 |
| - }, |
344 | 311 | {
|
345 | 312 | "id": "4452a648-d4c3-4f5f-8678-ffb54bef17dc",
|
346 | 313 | "cell_type": "code",
|
347 | 314 | "source": [
|
348 |
| - "delayed_object_lst = load_workflow_json(project=pr, file_name=workflow_json_filename)\n", |
| 315 | + "delayed_object_lst = load_workflow_json(file_name=workflow_json_filename)\n", |
349 | 316 | "delayed_object_lst[-1].draw()"
|
350 | 317 | ],
|
351 | 318 | "metadata": {
|
|
386 | 353 | }
|
387 | 354 | ],
|
388 | 355 | "execution_count": 24
|
389 |
| - }, |
390 |
| - { |
391 |
| - "id": "b3bba27e-ece9-4c02-834c-53e69844b140", |
392 |
| - "cell_type": "code", |
393 |
| - "source": "pr.job_table()", |
394 |
| - "metadata": { |
395 |
| - "trusted": true |
396 |
| - }, |
397 |
| - "outputs": [ |
398 |
| - { |
399 |
| - "execution_count": 25, |
400 |
| - "output_type": "execute_result", |
401 |
| - "data": { |
402 |
| - "text/plain": " id status chemicalformula \\\n0 1 finished None \n1 2 finished None \n2 3 finished None \n3 4 finished None \n4 5 finished None \n5 6 finished None \n\n job \\\n0 generate_mesh_0b48cf5155cd6802c17d20bb58104132 \n1 convert_to_xdmf_29ad6ec6927268429dc9aef8166fde43 \n2 poisson_a0224b23ceb2119d105a5d98ef37f93e \n3 plot_over_line_82b37a42e0747f11d9a7f6318f63ac6b \n4 substitute_macros_874fc185ecec04b4cb9537c58b7efb7b \n5 compile_paper_3cee534ffe692833d37faf1fd2170cb6 \n\n subjob projectpath \\\n0 /generate_mesh_0b48cf5155cd6802c17d20bb58104132 None \n1 /convert_to_xdmf_29ad6ec6927268429dc9aef8166fde43 None \n2 /poisson_a0224b23ceb2119d105a5d98ef37f93e None \n3 /plot_over_line_82b37a42e0747f11d9a7f6318f63ac6b None \n4 /substitute_macros_874fc185ecec04b4cb9537c58b7efb7b None \n5 /compile_paper_3cee534ffe692833d37faf1fd2170cb6 None \n\n project timestart timestop totalcputime \\\n0 /home/jovyan/test/ 2025-04-12 11:32:18.725836 None None \n1 /home/jovyan/test/ 2025-04-12 11:32:21.567671 None None \n2 /home/jovyan/test/ 2025-04-12 11:32:24.772144 None None \n3 /home/jovyan/test/ 2025-04-12 11:32:30.023925 None None \n4 /home/jovyan/test/ 2025-04-12 11:32:34.237777 None None \n5 /home/jovyan/test/ 2025-04-12 11:32:36.156992 None None \n\n computer \\\n0 pyiron@jupyter-pyiron-dev-pyth-flow-definition-a8grxfsa#1 \n1 pyiron@jupyter-pyiron-dev-pyth-flow-definition-a8grxfsa#1 \n2 pyiron@jupyter-pyiron-dev-pyth-flow-definition-a8grxfsa#1 \n3 pyiron@jupyter-pyiron-dev-pyth-flow-definition-a8grxfsa#1 \n4 pyiron@jupyter-pyiron-dev-pyth-flow-definition-a8grxfsa#1 \n5 pyiron@jupyter-pyiron-dev-pyth-flow-definition-a8grxfsa#1 \n\n hamilton hamversion parentid masterid \n0 PythonFunctionContainerJob 0.4 None None \n1 PythonFunctionContainerJob 0.4 None None \n2 PythonFunctionContainerJob 0.4 None None \n3 PythonFunctionContainerJob 0.4 None None \n4 PythonFunctionContainerJob 0.4 None None \n5 PythonFunctionContainerJob 0.4 None None ", |
403 |
| - "text/html": "<div>\n<style scoped>\n .dataframe tbody tr th:only-of-type {\n vertical-align: middle;\n }\n\n .dataframe tbody tr th {\n vertical-align: top;\n }\n\n .dataframe thead th {\n text-align: right;\n }\n</style>\n<table border=\"1\" class=\"dataframe\">\n <thead>\n <tr style=\"text-align: right;\">\n <th></th>\n <th>id</th>\n <th>status</th>\n <th>chemicalformula</th>\n <th>job</th>\n <th>subjob</th>\n <th>projectpath</th>\n <th>project</th>\n <th>timestart</th>\n <th>timestop</th>\n <th>totalcputime</th>\n <th>computer</th>\n <th>hamilton</th>\n <th>hamversion</th>\n <th>parentid</th>\n <th>masterid</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <th>0</th>\n <td>1</td>\n <td>finished</td>\n <td>None</td>\n <td>generate_mesh_0b48cf5155cd6802c17d20bb58104132</td>\n <td>/generate_mesh_0b48cf5155cd6802c17d20bb58104132</td>\n <td>None</td>\n <td>/home/jovyan/test/</td>\n <td>2025-04-12 11:32:18.725836</td>\n <td>None</td>\n <td>None</td>\n <td>pyiron@jupyter-pyiron-dev-pyth-flow-definition-a8grxfsa#1</td>\n <td>PythonFunctionContainerJob</td>\n <td>0.4</td>\n <td>None</td>\n <td>None</td>\n </tr>\n <tr>\n <th>1</th>\n <td>2</td>\n <td>finished</td>\n <td>None</td>\n <td>convert_to_xdmf_29ad6ec6927268429dc9aef8166fde43</td>\n <td>/convert_to_xdmf_29ad6ec6927268429dc9aef8166fde43</td>\n <td>None</td>\n <td>/home/jovyan/test/</td>\n <td>2025-04-12 11:32:21.567671</td>\n <td>None</td>\n <td>None</td>\n <td>pyiron@jupyter-pyiron-dev-pyth-flow-definition-a8grxfsa#1</td>\n <td>PythonFunctionContainerJob</td>\n <td>0.4</td>\n <td>None</td>\n <td>None</td>\n </tr>\n <tr>\n <th>2</th>\n <td>3</td>\n <td>finished</td>\n <td>None</td>\n <td>poisson_a0224b23ceb2119d105a5d98ef37f93e</td>\n <td>/poisson_a0224b23ceb2119d105a5d98ef37f93e</td>\n <td>None</td>\n <td>/home/jovyan/test/</td>\n <td>2025-04-12 11:32:24.772144</td>\n <td>None</td>\n <td>None</td>\n <td>pyiron@jupyter-pyiron-dev-pyth-flow-definition-a8grxfsa#1</td>\n <td>PythonFunctionContainerJob</td>\n <td>0.4</td>\n <td>None</td>\n <td>None</td>\n </tr>\n <tr>\n <th>3</th>\n <td>4</td>\n <td>finished</td>\n <td>None</td>\n <td>plot_over_line_82b37a42e0747f11d9a7f6318f63ac6b</td>\n <td>/plot_over_line_82b37a42e0747f11d9a7f6318f63ac6b</td>\n <td>None</td>\n <td>/home/jovyan/test/</td>\n <td>2025-04-12 11:32:30.023925</td>\n <td>None</td>\n <td>None</td>\n <td>pyiron@jupyter-pyiron-dev-pyth-flow-definition-a8grxfsa#1</td>\n <td>PythonFunctionContainerJob</td>\n <td>0.4</td>\n <td>None</td>\n <td>None</td>\n </tr>\n <tr>\n <th>4</th>\n <td>5</td>\n <td>finished</td>\n <td>None</td>\n <td>substitute_macros_874fc185ecec04b4cb9537c58b7efb7b</td>\n <td>/substitute_macros_874fc185ecec04b4cb9537c58b7efb7b</td>\n <td>None</td>\n <td>/home/jovyan/test/</td>\n <td>2025-04-12 11:32:34.237777</td>\n <td>None</td>\n <td>None</td>\n <td>pyiron@jupyter-pyiron-dev-pyth-flow-definition-a8grxfsa#1</td>\n <td>PythonFunctionContainerJob</td>\n <td>0.4</td>\n <td>None</td>\n <td>None</td>\n </tr>\n <tr>\n <th>5</th>\n <td>6</td>\n <td>finished</td>\n <td>None</td>\n <td>compile_paper_3cee534ffe692833d37faf1fd2170cb6</td>\n <td>/compile_paper_3cee534ffe692833d37faf1fd2170cb6</td>\n <td>None</td>\n <td>/home/jovyan/test/</td>\n <td>2025-04-12 11:32:36.156992</td>\n <td>None</td>\n <td>None</td>\n <td>pyiron@jupyter-pyiron-dev-pyth-flow-definition-a8grxfsa#1</td>\n <td>PythonFunctionContainerJob</td>\n <td>0.4</td>\n <td>None</td>\n <td>None</td>\n </tr>\n </tbody>\n</table>\n</div>" |
404 |
| - }, |
405 |
| - "metadata": {} |
406 |
| - } |
407 |
| - ], |
408 |
| - "execution_count": 25 |
409 | 356 | }
|
410 | 357 | ]
|
411 | 358 | }
|
0 commit comments