Skip to content

Commit 6548eda

Browse files
committed
Merge remote-tracking branch 'upstream/main' into aw
2 parents c829333 + f8ba185 commit 6548eda

File tree

17 files changed

+1591
-1326
lines changed

17 files changed

+1591
-1326
lines changed

.github/workflows/pipeline.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ jobs:
7171
papermill cwl.ipynb cwl_out.ipynb -k "python3"
7272
papermill jobflow.ipynb jobflow_out.ipynb -k "python3"
7373
papermill pyiron_base.ipynb pyiron_base_out.ipynb -k "python3"
74+
papermill pyiron_workflow.ipynb pyiron_workflow_out.ipynb -k "python3"
7475
papermill universal_workflow.ipynb universal_workflow_out.ipynb -k "python3"
7576
7677
quantumespresso:
@@ -105,6 +106,7 @@ jobs:
105106
papermill cwl.ipynb cwl_out.ipynb -k "python3"
106107
papermill jobflow.ipynb jobflow_out.ipynb -k "python3"
107108
papermill pyiron_base.ipynb pyiron_base_out.ipynb -k "python3"
109+
papermill pyiron_workflow.ipynb pyiron_workflow_out.ipynb -k "python3"
108110
papermill universal_workflow.ipynb universal_workflow_out.ipynb -k "python3"
109111
110112
arithmetic:
@@ -133,6 +135,7 @@ jobs:
133135
papermill cwl.ipynb cwl_out.ipynb -k "python3"
134136
papermill jobflow.ipynb jobflow_out.ipynb -k "python3"
135137
papermill pyiron_base.ipynb pyiron_base_out.ipynb -k "python3"
138+
papermill pyiron_workflow.ipynb pyiron_workflow_out.ipynb -k "python3"
136139
papermill universal_workflow.ipynb universal_workflow_out.ipynb -k "python3"
137140
138141
documentation:

binder/environment.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ channels:
33
dependencies:
44
- python =3.12
55
- click =8.1.8
6-
- pydantic =2.11.4
7-
- hatch =1.14.1
6+
- pydantic =2.12.3
87
- hatchling =1.27.0
98
- httpcore =1.0.7
109
- jobflow =0.2.0
1110
- pyiron_base =0.12.0
11+
- pyiron_workflow =0.13.0
1212
- pygraphviz =1.14
1313
- aiida-workgraph =0.7.4
1414
- conda_subprocess =0.0.7
15-
- networkx =3.4.2
15+
- networkx =3.5
1616
- cwltool =3.1.20250110105449

example_workflows/arithmetic/pyiron_base.ipynb

Lines changed: 36 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,15 +274,49 @@
274274
],
275275
"execution_count": 18
276276
},
277+
{
278+
"metadata": {},
279+
"cell_type": "markdown",
280+
"source": "## Load Workflow with pyiron_workflow",
281+
"id": "406fd07dd4bd8006"
282+
},
277283
{
278284
"id": "cf76f305-24de-45a7-be8e-cfe45cd6458e",
279285
"cell_type": "code",
280-
"source": "",
286+
"source": "from python_workflow_definition.pyiron_workflow import load_workflow_json",
281287
"metadata": {
282-
"trusted": true
288+
"trusted": true,
289+
"ExecuteTime": {
290+
"end_time": "2025-05-24T08:25:33.797570Z",
291+
"start_time": "2025-05-24T08:25:33.771214Z"
292+
}
283293
},
284294
"outputs": [],
285295
"execution_count": null
296+
},
297+
{
298+
"metadata": {},
299+
"cell_type": "code",
300+
"outputs": [],
301+
"execution_count": null,
302+
"source": "wf = load_workflow_json(file_name=workflow_json_filename)",
303+
"id": "5b442611457aa5a8"
304+
},
305+
{
306+
"metadata": {},
307+
"cell_type": "code",
308+
"outputs": [],
309+
"execution_count": null,
310+
"source": "wf.draw(size=(10,10))",
311+
"id": "2ca33c8590a54866"
312+
},
313+
{
314+
"metadata": {},
315+
"cell_type": "code",
316+
"outputs": [],
317+
"execution_count": null,
318+
"source": "wf.run()",
319+
"id": "d36522a1c315b7f5"
286320
}
287321
]
288322
}

example_workflows/arithmetic/pyiron_workflow.ipynb

Lines changed: 920 additions & 0 deletions
Large diffs are not rendered by default.

example_workflows/arithmetic/universal_workflow.ipynb

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,39 @@
288288
],
289289
"execution_count": 17
290290
},
291+
{
292+
"metadata": {},
293+
"cell_type": "markdown",
294+
"source": "## Load Workflow with pyiron_workflow"
295+
},
296+
{
297+
"metadata": {},
298+
"cell_type": "code",
299+
"outputs": [],
300+
"execution_count": null,
301+
"source": "from python_workflow_definition.pyiron_workflow import load_workflow_json"
302+
},
303+
{
304+
"metadata": {},
305+
"cell_type": "code",
306+
"outputs": [],
307+
"execution_count": null,
308+
"source": "wf = load_workflow_json(file_name=\"workflow.json\")"
309+
},
310+
{
311+
"metadata": {},
312+
"cell_type": "code",
313+
"outputs": [],
314+
"execution_count": null,
315+
"source": "wf.draw(size=(10,10))"
316+
},
317+
{
318+
"metadata": {},
319+
"cell_type": "code",
320+
"outputs": [],
321+
"execution_count": null,
322+
"source": "wf.run()"
323+
},
291324
{
292325
"cell_type": "markdown",
293326
"source": "## Python",

example_workflows/nfdi/aiida.ipynb

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,44 @@
355355
}
356356
],
357357
"execution_count": 24
358+
},
359+
{
360+
"metadata": {},
361+
"cell_type": "markdown",
362+
"source": "## Load Workflow with pyiron_workflow",
363+
"id": "afaf2bc0b3a491ca"
364+
},
365+
{
366+
"metadata": {},
367+
"cell_type": "code",
368+
"outputs": [],
369+
"execution_count": null,
370+
"source": "from python_workflow_definition.pyiron_workflow import load_workflow_json",
371+
"id": "6172b410eb776fc4"
372+
},
373+
{
374+
"metadata": {},
375+
"cell_type": "code",
376+
"outputs": [],
377+
"execution_count": null,
378+
"source": "wf = load_workflow_json(file_name=workflow_json_filename)",
379+
"id": "668fe64b18b4d604"
380+
},
381+
{
382+
"metadata": {},
383+
"cell_type": "code",
384+
"outputs": [],
385+
"execution_count": null,
386+
"source": "wf.draw(size=(10,10))",
387+
"id": "8c4fd72394841ffa"
388+
},
389+
{
390+
"metadata": {},
391+
"cell_type": "code",
392+
"outputs": [],
393+
"execution_count": null,
394+
"source": "wf.run()",
395+
"id": "c1427e3ce0716f64"
358396
}
359397
]
360398
}

example_workflows/nfdi/jobflow.ipynb

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,44 @@
327327
}
328328
],
329329
"execution_count": 22
330+
},
331+
{
332+
"metadata": {},
333+
"cell_type": "markdown",
334+
"source": "## Load Workflow with pyiron_workflow",
335+
"id": "8e73fa07cebd7b72"
336+
},
337+
{
338+
"metadata": {},
339+
"cell_type": "code",
340+
"outputs": [],
341+
"execution_count": null,
342+
"source": "from python_workflow_definition.pyiron_workflow import load_workflow_json",
343+
"id": "aa99fbd94b03a869"
344+
},
345+
{
346+
"metadata": {},
347+
"cell_type": "code",
348+
"outputs": [],
349+
"execution_count": null,
350+
"source": "wf = load_workflow_json(file_name=workflow_json_filename)",
351+
"id": "728b8684fee475b5"
352+
},
353+
{
354+
"metadata": {},
355+
"cell_type": "code",
356+
"outputs": [],
357+
"execution_count": null,
358+
"source": "wf.draw(size=(10,10))",
359+
"id": "7b814f0f74f0b15a"
360+
},
361+
{
362+
"metadata": {},
363+
"cell_type": "code",
364+
"outputs": [],
365+
"execution_count": null,
366+
"source": "wf.run()",
367+
"id": "447506cdca5080e6"
330368
}
331369
]
332370
}

example_workflows/nfdi/pyiron_base.ipynb

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,44 @@
312312
}
313313
],
314314
"execution_count": 22
315+
},
316+
{
317+
"metadata": {},
318+
"cell_type": "markdown",
319+
"source": "## Load Workflow with pyiron_workflow",
320+
"id": "385acbf585763632"
321+
},
322+
{
323+
"metadata": {},
324+
"cell_type": "code",
325+
"outputs": [],
326+
"execution_count": null,
327+
"source": "from python_workflow_definition.pyiron_workflow import load_workflow_json",
328+
"id": "927d0118cc4edfba"
329+
},
330+
{
331+
"metadata": {},
332+
"cell_type": "code",
333+
"outputs": [],
334+
"execution_count": null,
335+
"source": "wf = load_workflow_json(file_name=workflow_json_filename)",
336+
"id": "50055483ca2c9909"
337+
},
338+
{
339+
"metadata": {},
340+
"cell_type": "code",
341+
"outputs": [],
342+
"execution_count": null,
343+
"source": "wf.draw(size=(10,10))",
344+
"id": "7d25a578c431e0f5"
345+
},
346+
{
347+
"metadata": {},
348+
"cell_type": "code",
349+
"outputs": [],
350+
"execution_count": null,
351+
"source": "wf.run()",
352+
"id": "fff9513c4a127a96"
315353
}
316354
]
317355
}

example_workflows/nfdi/pyiron_workflow.ipynb

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

example_workflows/nfdi/universal_workflow.ipynb

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,9 +289,42 @@
289289
"execution_count": 17
290290
},
291291
{
292+
"metadata": {},
292293
"cell_type": "markdown",
293-
"source": "## Python",
294-
"metadata": {}
294+
"source": "## Load Workflow with pyiron_workflow"
295+
},
296+
{
297+
"metadata": {},
298+
"cell_type": "code",
299+
"outputs": [],
300+
"execution_count": null,
301+
"source": "from python_workflow_definition.pyiron_workflow import load_workflow_json"
302+
},
303+
{
304+
"metadata": {},
305+
"cell_type": "code",
306+
"outputs": [],
307+
"execution_count": null,
308+
"source": "wf = load_workflow_json(file_name=\"workflow.json\")"
309+
},
310+
{
311+
"metadata": {},
312+
"cell_type": "code",
313+
"outputs": [],
314+
"execution_count": null,
315+
"source": "wf.draw(size=(10,10))"
316+
},
317+
{
318+
"metadata": {},
319+
"cell_type": "code",
320+
"outputs": [],
321+
"execution_count": null,
322+
"source": "wf.run()"
323+
},
324+
{
325+
"metadata": {},
326+
"cell_type": "markdown",
327+
"source": "## Python"
295328
},
296329
{
297330
"cell_type": "code",

0 commit comments

Comments
 (0)