Skip to content

Commit e82e7e1

Browse files
committed
Add pyiron_base_to_aiida_simple.ipynb
1 parent 34eb703 commit e82e7e1

File tree

1 file changed

+347
-0
lines changed

1 file changed

+347
-0
lines changed

pyiron_base_to_aiida_simple.ipynb

Lines changed: 347 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,347 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "code",
5+
"execution_count": 1,
6+
"id": "000bbd4a-f53c-4eea-9d85-76f0aa2ca10b",
7+
"metadata": {
8+
"trusted": true
9+
},
10+
"outputs": [
11+
{
12+
"data": {
13+
"text/plain": [
14+
"Profile<uuid='d106cde233334800a702a20040a6b629' name='adis'>"
15+
]
16+
},
17+
"execution_count": 1,
18+
"metadata": {},
19+
"output_type": "execute_result"
20+
}
21+
],
22+
"source": [
23+
"from aiida import load_profile\n",
24+
"\n",
25+
"load_profile()"
26+
]
27+
},
28+
{
29+
"cell_type": "code",
30+
"execution_count": 2,
31+
"id": "b4a78447-e87c-4fb4-8d17-d9a280eb7254",
32+
"metadata": {
33+
"trusted": true
34+
},
35+
"outputs": [],
36+
"source": [
37+
"from pyiron_base import Project, job"
38+
]
39+
},
40+
{
41+
"cell_type": "code",
42+
"execution_count": 3,
43+
"id": "06c2bd9e-b2ac-4b88-9158-fa37331c3418",
44+
"metadata": {
45+
"trusted": true
46+
},
47+
"outputs": [],
48+
"source": [
49+
"from python_workflow_definition.pyiron_base import write_workflow_json"
50+
]
51+
},
52+
{
53+
"cell_type": "code",
54+
"execution_count": 4,
55+
"id": "fb6dbdaa-8cab-48b2-8307-448003eca3f5",
56+
"metadata": {
57+
"trusted": true
58+
},
59+
"outputs": [],
60+
"source": [
61+
"from python_workflow_definition.aiida import load_workflow_json"
62+
]
63+
},
64+
{
65+
"cell_type": "code",
66+
"execution_count": 5,
67+
"id": "fb847d49-7bf9-4839-9b99-c116d1b0e9ee",
68+
"metadata": {
69+
"trusted": true
70+
},
71+
"outputs": [],
72+
"source": [
73+
"from simple_workflow import (\n",
74+
" add_x_and_y as _add_x_and_y, \n",
75+
" add_x_and_y_and_z as _add_x_and_y_and_z,\n",
76+
")"
77+
]
78+
},
79+
{
80+
"cell_type": "code",
81+
"execution_count": 6,
82+
"id": "8f95244e",
83+
"metadata": {},
84+
"outputs": [],
85+
"source": [
86+
"workflow_json_filename = \"workflow_simple_pyiron_base.json\""
87+
]
88+
},
89+
{
90+
"cell_type": "code",
91+
"execution_count": 7,
92+
"id": "07598344-0f75-433b-8902-bea21a42088c",
93+
"metadata": {
94+
"trusted": true
95+
},
96+
"outputs": [],
97+
"source": [
98+
"add_x_and_y = job(_add_x_and_y, output_key_lst=[\"x\", \"y\", \"z\"])\n",
99+
"add_x_and_y_and_z = job(_add_x_and_y_and_z)"
100+
]
101+
},
102+
{
103+
"cell_type": "code",
104+
"execution_count": 8,
105+
"id": "ecef1ed5-a8d3-48c3-9e01-4a40e55c1153",
106+
"metadata": {
107+
"trusted": true
108+
},
109+
"outputs": [
110+
{
111+
"data": {
112+
"application/vnd.jupyter.widget-view+json": {
113+
"model_id": "080b31b1d2ff47bfbabda6d012fc9e14",
114+
"version_major": 2,
115+
"version_minor": 0
116+
},
117+
"text/plain": [
118+
" 0%| | 0/17 [00:00<?, ?it/s]"
119+
]
120+
},
121+
"metadata": {},
122+
"output_type": "display_data"
123+
}
124+
],
125+
"source": [
126+
"pr = Project(\"test\")\n",
127+
"pr.remove_jobs(recursive=True, silently=True)"
128+
]
129+
},
130+
{
131+
"cell_type": "code",
132+
"execution_count": 9,
133+
"id": "2b88a30a-e26b-4802-89b7-79ca08cc0af9",
134+
"metadata": {
135+
"trusted": true
136+
},
137+
"outputs": [],
138+
"source": [
139+
"obj = add_x_and_y(x=1, y=2, pyiron_project=pr)"
140+
]
141+
},
142+
{
143+
"cell_type": "code",
144+
"execution_count": 10,
145+
"id": "a5e5ca63-2906-47c9-bac6-adebf8643cba",
146+
"metadata": {
147+
"trusted": true
148+
},
149+
"outputs": [],
150+
"source": [
151+
"w = add_x_and_y_and_z(x=obj.output.x, y=obj.output.y, z=obj.output.z, pyiron_project=pr)"
152+
]
153+
},
154+
{
155+
"cell_type": "code",
156+
"execution_count": 11,
157+
"id": "e464da97-16a1-4772-9a07-0a47f152781d",
158+
"metadata": {
159+
"trusted": true
160+
},
161+
"outputs": [],
162+
"source": [
163+
"write_workflow_json(delayed_object=w, file_name=workflow_json_filename)"
164+
]
165+
},
166+
{
167+
"cell_type": "code",
168+
"execution_count": 12,
169+
"id": "bca646b2-0a9a-4271-966a-e5903a8c9031",
170+
"metadata": {
171+
"trusted": true
172+
},
173+
"outputs": [
174+
{
175+
"name": "stdout",
176+
"output_type": "stream",
177+
"text": [
178+
"\u001b[38;5;238m───────┬────────────────────────────────────────────────────────────────────────\u001b[0m\n",
179+
" \u001b[38;5;238m│ \u001b[0mFile: \u001b[1mworkflow_simple_pyiron_base.json\u001b[0m\n",
180+
"\u001b[38;5;238m───────┼────────────────────────────────────────────────────────────────────────\u001b[0m\n",
181+
"\u001b[38;5;238m 1\u001b[0m \u001b[38;5;238m│\u001b[0m \u001b[38;5;231m{\u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;208mnodes\u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;231m:\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;231m{\u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;208m0\u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;231m:\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;186m\"\u001b[0m\u001b[38;5;186msimple_workflow.add_x_and_y_and_z\u001b[0m\u001b[38;5;186m\"\u001b[0m\u001b[38;5;231m,\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;208m1\u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;231m:\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;186m\"\u001b[0m\u001b[38;5;186msimple_workf\u001b[0m\n",
182+
"\u001b[38;5;238m \u001b[0m \u001b[38;5;238m│\u001b[0m \u001b[38;5;186mlow.add_x_and_y\u001b[0m\u001b[38;5;186m\"\u001b[0m\u001b[38;5;231m,\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;208m2\u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;231m:\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;141m1\u001b[0m\u001b[38;5;231m,\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;208m3\u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;231m:\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;141m2\u001b[0m\u001b[38;5;231m}\u001b[0m\u001b[38;5;231m,\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;208medges\u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;231m:\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;231m[\u001b[0m\u001b[38;5;231m{\u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;208mtarget\u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;231m:\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;141m0\u001b[0m\u001b[38;5;231m,\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;208mtargetHandl\u001b[0m\n",
183+
"\u001b[38;5;238m \u001b[0m \u001b[38;5;238m│\u001b[0m \u001b[38;5;208me\u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;231m:\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;186m\"\u001b[0m\u001b[38;5;186mx\u001b[0m\u001b[38;5;186m\"\u001b[0m\u001b[38;5;231m,\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;208msource\u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;231m:\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;141m1\u001b[0m\u001b[38;5;231m,\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;208msourceHandle\u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;231m:\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;186m\"\u001b[0m\u001b[38;5;186mx\u001b[0m\u001b[38;5;186m\"\u001b[0m\u001b[38;5;231m}\u001b[0m\u001b[38;5;231m,\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;231m{\u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;208mtarget\u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;231m:\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;141m1\u001b[0m\u001b[38;5;231m,\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;208mtargetHandle\u001b[0m\n",
184+
"\u001b[38;5;238m \u001b[0m \u001b[38;5;238m│\u001b[0m \u001b[38;5;208m\"\u001b[0m\u001b[38;5;231m:\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;186m\"\u001b[0m\u001b[38;5;186mx\u001b[0m\u001b[38;5;186m\"\u001b[0m\u001b[38;5;231m,\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;208msource\u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;231m:\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;141m2\u001b[0m\u001b[38;5;231m,\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;208msourceHandle\u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;231m:\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;141mnull\u001b[0m\u001b[38;5;231m}\u001b[0m\u001b[38;5;231m,\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;231m{\u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;208mtarget\u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;231m:\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;141m1\u001b[0m\u001b[38;5;231m,\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;208mtargetHandle\u001b[0m\n",
185+
"\u001b[38;5;238m \u001b[0m \u001b[38;5;238m│\u001b[0m \u001b[38;5;208m\"\u001b[0m\u001b[38;5;231m:\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;186m\"\u001b[0m\u001b[38;5;186my\u001b[0m\u001b[38;5;186m\"\u001b[0m\u001b[38;5;231m,\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;208msource\u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;231m:\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;141m3\u001b[0m\u001b[38;5;231m,\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;208msourceHandle\u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;231m:\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;141mnull\u001b[0m\u001b[38;5;231m}\u001b[0m\u001b[38;5;231m,\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;231m{\u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;208mtarget\u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;231m:\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;141m0\u001b[0m\u001b[38;5;231m,\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;208mtargetHandle\u001b[0m\n",
186+
"\u001b[38;5;238m \u001b[0m \u001b[38;5;238m│\u001b[0m \u001b[38;5;208m\"\u001b[0m\u001b[38;5;231m:\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;186m\"\u001b[0m\u001b[38;5;186my\u001b[0m\u001b[38;5;186m\"\u001b[0m\u001b[38;5;231m,\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;208msource\u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;231m:\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;141m1\u001b[0m\u001b[38;5;231m,\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;208msourceHandle\u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;231m:\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;186m\"\u001b[0m\u001b[38;5;186my\u001b[0m\u001b[38;5;186m\"\u001b[0m\u001b[38;5;231m}\u001b[0m\u001b[38;5;231m,\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;231m{\u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;208mtarget\u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;231m:\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;141m0\u001b[0m\u001b[38;5;231m,\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;208mtargetHandle\u001b[0m\u001b[38;5;208m\"\u001b[0m\n",
187+
"\u001b[38;5;238m \u001b[0m \u001b[38;5;238m│\u001b[0m \u001b[38;5;231m:\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;186m\"\u001b[0m\u001b[38;5;186mz\u001b[0m\u001b[38;5;186m\"\u001b[0m\u001b[38;5;231m,\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;208msource\u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;231m:\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;141m1\u001b[0m\u001b[38;5;231m,\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;208msourceHandle\u001b[0m\u001b[38;5;208m\"\u001b[0m\u001b[38;5;231m:\u001b[0m\u001b[38;5;231m \u001b[0m\u001b[38;5;186m\"\u001b[0m\u001b[38;5;186mz\u001b[0m\u001b[38;5;186m\"\u001b[0m\u001b[38;5;231m}\u001b[0m\u001b[38;5;231m]\u001b[0m\u001b[38;5;231m}\u001b[0m\n",
188+
"\u001b[38;5;238m───────┴────────────────────────────────────────────────────────────────────────\u001b[0m\n"
189+
]
190+
}
191+
],
192+
"source": [
193+
"!cat {workflow_json_filename}"
194+
]
195+
},
196+
{
197+
"cell_type": "code",
198+
"execution_count": 13,
199+
"id": "8f2a621d-b533-4ddd-8bcd-c22db2f922ec",
200+
"metadata": {
201+
"trusted": true
202+
},
203+
"outputs": [
204+
{
205+
"data": {
206+
"application/vnd.jupyter.widget-view+json": {
207+
"model_id": "757587875b9b4d64ab8edadd59a31058",
208+
"version_major": 2,
209+
"version_minor": 1
210+
},
211+
"text/plain": [
212+
"NodeGraphWidget(settings={'minimap': True}, style={'width': '90%', 'height': '600px'}, value={'name': 'WorkGra…"
213+
]
214+
},
215+
"execution_count": 13,
216+
"metadata": {},
217+
"output_type": "execute_result"
218+
}
219+
],
220+
"source": [
221+
"wg = load_workflow_json(filename=workflow_json_filename)\n",
222+
"wg"
223+
]
224+
},
225+
{
226+
"cell_type": "code",
227+
"execution_count": null,
228+
"id": "cf80267d-c2b0-4236-bf1d-a57596985fc1",
229+
"metadata": {
230+
"trusted": true
231+
},
232+
"outputs": [
233+
{
234+
"name": "stderr",
235+
"output_type": "stream",
236+
"text": [
237+
"03/21/2025 12:36:41 PM <3704092> aiida.orm.nodes.process.workflow.workchain.WorkChainNode: [REPORT] [12791|WorkGraphEngine|continue_workgraph]: Continue workgraph.\n",
238+
"03/21/2025 12:36:41 PM <3704092> aiida.orm.nodes.process.workflow.workchain.WorkChainNode: [REPORT] [12791|WorkGraphEngine|continue_workgraph]: tasks ready to run: pickle_node3,pickle_node4\n",
239+
"03/21/2025 12:36:41 PM <3704092> aiida.orm.nodes.process.workflow.workchain.WorkChainNode: [REPORT] [12791|WorkGraphEngine|run_tasks]: Run task: pickle_node3, type: PYTHONJOB\n"
240+
]
241+
},
242+
{
243+
"name": "stdout",
244+
"output_type": "stream",
245+
"text": [
246+
"------------------------------------------------------------\n",
247+
"kwargs: {'value': 1}\n"
248+
]
249+
},
250+
{
251+
"name": "stderr",
252+
"output_type": "stream",
253+
"text": [
254+
"03/21/2025 12:36:42 PM <3704092> aiida.orm.nodes.process.workflow.workchain.WorkChainNode: [REPORT] [12791|WorkGraphEngine|run_tasks]: Run task: pickle_node4, type: PYTHONJOB\n"
255+
]
256+
},
257+
{
258+
"name": "stdout",
259+
"output_type": "stream",
260+
"text": [
261+
"------------------------------------------------------------\n",
262+
"kwargs: {'value': 2}\n"
263+
]
264+
},
265+
{
266+
"name": "stderr",
267+
"output_type": "stream",
268+
"text": [
269+
"03/21/2025 12:36:43 PM <3704092> aiida.orm.nodes.process.workflow.workchain.WorkChainNode: [REPORT] [12791|WorkGraphEngine|on_wait]: Process status: Waiting for child processes: 12799, 12807\n",
270+
"03/21/2025 12:36:46 PM <3704092> aiida.orm.nodes.process.workflow.workchain.WorkChainNode: [REPORT] [12791|WorkGraphEngine|update_task_state]: Task: pickle_node3 finished.\n",
271+
"03/21/2025 12:36:46 PM <3704092> aiida.orm.nodes.process.workflow.workchain.WorkChainNode: [REPORT] [12791|WorkGraphEngine|update_task_state]: Task: pickle_node4 finished.\n",
272+
"03/21/2025 12:36:47 PM <3704092> aiida.orm.nodes.process.workflow.workchain.WorkChainNode: [REPORT] [12791|WorkGraphEngine|continue_workgraph]: Continue workgraph.\n",
273+
"03/21/2025 12:36:47 PM <3704092> aiida.orm.nodes.process.workflow.workchain.WorkChainNode: [REPORT] [12791|WorkGraphEngine|continue_workgraph]: tasks ready to run: add_x_and_y2\n",
274+
"03/21/2025 12:36:47 PM <3704092> aiida.orm.nodes.process.workflow.workchain.WorkChainNode: [REPORT] [12791|WorkGraphEngine|run_tasks]: Run task: add_x_and_y2, type: PYTHONJOB\n"
275+
]
276+
},
277+
{
278+
"name": "stdout",
279+
"output_type": "stream",
280+
"text": [
281+
"------------------------------------------------------------\n",
282+
"kwargs: {'register_pickle_by_value': True, 'x': <Int: uuid: a197c161-4f9c-4b77-840a-78e0f5fda92a (pk: 12814) value: 1>, 'y': <Int: uuid: bbd7b68e-1a28-43e6-aea1-01884c7ac644 (pk: 12815) value: 2>}\n"
283+
]
284+
},
285+
{
286+
"name": "stderr",
287+
"output_type": "stream",
288+
"text": [
289+
"03/21/2025 12:36:48 PM <3704092> aiida.orm.nodes.process.workflow.workchain.WorkChainNode: [REPORT] [12791|WorkGraphEngine|on_wait]: Process status: Waiting for child processes: 12822\n",
290+
"03/21/2025 12:36:50 PM <3704092> aiida.orm.nodes.process.workflow.workchain.WorkChainNode: [REPORT] [12791|WorkGraphEngine|update_task_state]: Task: add_x_and_y2 finished.\n",
291+
"03/21/2025 12:36:51 PM <3704092> aiida.orm.nodes.process.workflow.workchain.WorkChainNode: [REPORT] [12791|WorkGraphEngine|continue_workgraph]: Continue workgraph.\n",
292+
"03/21/2025 12:36:51 PM <3704092> aiida.orm.nodes.process.workflow.workchain.WorkChainNode: [REPORT] [12791|WorkGraphEngine|continue_workgraph]: tasks ready to run: add_x_and_y_and_z1\n",
293+
"03/21/2025 12:36:51 PM <3704092> aiida.orm.nodes.process.workflow.workchain.WorkChainNode: [REPORT] [12791|WorkGraphEngine|run_tasks]: Run task: add_x_and_y_and_z1, type: PYTHONJOB\n"
294+
]
295+
},
296+
{
297+
"name": "stdout",
298+
"output_type": "stream",
299+
"text": [
300+
"------------------------------------------------------------\n",
301+
"kwargs: {'register_pickle_by_value': True, 'x': <Int: uuid: 2318418c-c5c0-4b15-81db-13f22402c82d (pk: 12826) value: 1>, 'y': <Int: uuid: 8736ff13-a51f-4e90-9253-54538c58b40a (pk: 12827) value: 2>, 'z': <Int: uuid: a8b70753-79e0-48e6-a39b-b2c6501bac2c (pk: 12828) value: 3>}\n"
302+
]
303+
},
304+
{
305+
"name": "stderr",
306+
"output_type": "stream",
307+
"text": [
308+
"03/21/2025 12:36:51 PM <3704092> aiida.orm.nodes.process.workflow.workchain.WorkChainNode: [REPORT] [12791|WorkGraphEngine|on_wait]: Process status: Waiting for child processes: 12835\n"
309+
]
310+
}
311+
],
312+
"source": [
313+
"\n",
314+
"wg.run()"
315+
]
316+
},
317+
{
318+
"cell_type": "code",
319+
"execution_count": null,
320+
"id": "10c2a6c3",
321+
"metadata": {},
322+
"outputs": [],
323+
"source": []
324+
}
325+
],
326+
"metadata": {
327+
"kernelspec": {
328+
"display_name": "ADIS",
329+
"language": "python",
330+
"name": "python3"
331+
},
332+
"language_info": {
333+
"codemirror_mode": {
334+
"name": "ipython",
335+
"version": 3
336+
},
337+
"file_extension": ".py",
338+
"mimetype": "text/x-python",
339+
"name": "python",
340+
"nbconvert_exporter": "python",
341+
"pygments_lexer": "ipython3",
342+
"version": "3.10.12"
343+
}
344+
},
345+
"nbformat": 4,
346+
"nbformat_minor": 5
347+
}

0 commit comments

Comments
 (0)