Skip to content

Commit 17a323a

Browse files
authored
Reduce number of notebooks (#31)
* Reduce number of notebooks * Add files via upload
1 parent 8e34393 commit 17a323a

18 files changed

+2840
-1151
lines changed

.github/workflows/aiida.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,5 @@ jobs:
2929
shell: bash -l {0}
3030
run: |
3131
export ESPRESSO_PSEUDO=$(pwd)/espresso/pseudo
32-
33-
papermill universal_simple_to_aiida.ipynb universal_simple_to_aiida_out.ipynb -k "python3"
34-
papermill universal_qe_to_aiida.ipynb universal_qe_to_aiida_out.ipynb -k "python3"
35-
3632
papermill aiida_simple.ipynb aiida_simple_out.ipynb -k "python3"
3733
papermill aiida_qe.ipynb aiida_qe_out.ipynb -k "python3"

.github/workflows/jobflow.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,5 @@ jobs:
2929
shell: bash -l {0}
3030
run: |
3131
export ESPRESSO_PSEUDO=$(pwd)/espresso/pseudo
32-
33-
papermill universal_simple_to_jobflow.ipynb universal_simple_to_jobflow_out.ipynb -k "python3"
34-
papermill universal_qe_to_jobflow.ipynb universal_qe_to_jobflow_out.ipynb -k "python3"
35-
3632
papermill jobflow_simple.ipynb jobflow_simple_out.ipynb -k "python3"
3733
papermill jobflow_qe.ipynb jobflow_qe_out.ipynb -k "python3"

.github/workflows/executorlib.yml renamed to .github/workflows/load.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: executorlib
1+
name: universal
22

33
on:
44
push:
@@ -18,12 +18,16 @@ jobs:
1818
python-version: "3.12"
1919
environment-file: environment.yml
2020
auto-activate-base: false
21-
- name: Tests
21+
- name: Installation and setup
2222
shell: bash -l {0}
2323
run: |
2424
pip install -e qe_xml_parser
2525
pip install -e python_workflow_definition
2626
conda install -c conda-forge jupyter papermill
27+
verdi presto --profile-name pwd
28+
- name: Tests
29+
shell: bash -l {0}
30+
run: |
2731
export ESPRESSO_PSEUDO=$(pwd)/espresso/pseudo
28-
papermill universal_simple_to_executorlib.ipynb universal_simple_to_executorlib_out.ipynb -k "python3"
29-
papermill universal_qe_to_executorlib.ipynb universal_qe_to_executorlib_out.ipynb -k "python3"
32+
papermill universal_workflow_simple.ipynb universal_workflow_simple_out.ipynb -k "python3"
33+
papermill universal_workflow_qe.ipynb universal_workflow_qe_out.ipynb -k "python3"

.github/workflows/pyiron.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,5 @@ jobs:
2929
shell: bash -l {0}
3030
run: |
3131
export ESPRESSO_PSEUDO=$(pwd)/espresso/pseudo
32-
33-
papermill universal_simple_to_pyiron_base.ipynb universal_simple_to_pyiron_base_out.ipynb -k "python3"
34-
papermill universal_qe_to_pyiron_base.ipynb universal_qe_to_pyiron_base_out.ipynb -k "python3"
35-
3632
papermill pyiron_base_simple.ipynb pyiron_base_simple_out.ipynb -k "python3"
3733
papermill pyiron_base_qe.ipynb pyiron_base_qe_out.ipynb -k "python3"

.github/workflows/python.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

README.md

Lines changed: 13 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -58,31 +58,23 @@ As the workflow does not require any additional resources, the `environment.yml`
5858

5959
The corresponding Jupyter notebooks demonstrate this functionality:
6060

61-
| Example | Explanation |
62-
|--------------------------------------------------------------------------------|------------------------------------------------------------------------------|
63-
| [aiida_simple.ipynb](aiida_simple.ipynb) | Define Workflow with aiida and execute it with jobflow and pyiron_base. |
64-
| [jobflow_simple.ipynb](jobflow_simple.ipynb) | Define Workflow with jobflow and execute it with aiida and pyiron_base. |
65-
| [pyiron_base_simple.ipynb](pyiron_base_simple.ipynb) | Define Workflow with pyiron_base and execute it with aiida and jobflow. |
66-
| [universal_simple_to_aiida.ipynb](universal_simple_to_aiida.ipynb) | Execute workflow defined in the Python Workflow Definition with aiida. |
67-
| [universal_simple_to_jobflow.ipynb](universal_simple_to_jobflow.ipynb) | Execute workflow defined in the Python Workflow Definition with jobflow. |
68-
| [universal_simple_to_pyiron_base.ipynb](universal_simple_to_pyiron_base.ipynb) | Execute workflow defined in the Python Workflow Definition with pyrion_base. |
69-
| [universal_simple_to_python.ipynb](universal_simple_to_python.ipynb) | Execute workflow defined in the Python Workflow Definition with Python. |
70-
| [universal_simple_to_executorlib.ipynb](universal_simple_to_executorlib.ipynb) | Execute workflow defined in the Python Workflow Definition with executorlib. |
61+
| Example | Explanation |
62+
|--------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------|
63+
| [aiida_simple.ipynb](aiida_simple.ipynb) | Define Workflow with aiida and execute it with jobflow and pyiron_base. |
64+
| [jobflow_simple.ipynb](jobflow_simple.ipynb) | Define Workflow with jobflow and execute it with aiida and pyiron_base. |
65+
| [pyiron_base_simple.ipynb](pyiron_base_simple.ipynb) | Define Workflow with pyiron_base and execute it with aiida and jobflow. |
66+
| [universal_workflow_simple.ipynb](universal_workflow_simple.ipynb) | Execute workflow defined in the Python Workflow Definition with aiida, executorlib, jobflow, pyiron_base and pure Python. |
7167

7268
### Quantum Espresso Workflow
7369
The second workflow example is the calculation of an energy volume curve with Quantum Espresso. In the first step the
74-
initial structure is relaxed, afterwards it is strained and the total energy is calculated.
70+
initial structure is relaxed, afterward it is strained and the total energy is calculated.
7571
* [quantum_espresso_workflow.py](quantum_espresso_workflow.py) Python functions
7672
* [workflow_qe.json](workflow_qe.json) Workflow definition in the Python Workflow Definition.
7773
* [environment.yml](environment.yml) Conda environment
7874

79-
| Example | Explanation |
80-
|------------------------------------------------------------------------|------------------------------------------------------------------------------|
81-
| [aiida_qe.ipynb](aiida_qe.ipynb) | Define Workflow with aiida and execute it with jobflow and pyiron_base. |
82-
| [jobflow_qe.ipynb](jobflow_qe.ipynb) | Define Workflow with jobflow and execute it with aiida and pyiron_base. |
83-
| [pyiron_base_qe.ipynb](pyiron_base_qe.ipynb) | Define Workflow with pyiron_base and execute it with aiida and jobflow. |
84-
| [universal_qe_to_aiida.ipynb](universal_qe_to_aiida.ipynb) | Execute workflow defined in the Python Workflow Definition with aiida. |
85-
| [universal_qe_to_jobflow.ipynb](universal_qe_to_jobflow.ipynb) | Execute workflow defined in the Python Workflow Definition with jobflow. |
86-
| [universal_qe_to_pyiron_base.ipynb](universal_qe_to_pyiron_base.ipynb) | Execute workflow defined in the Python Workflow Definition with pyrion_base. |
87-
| [universal_qe_to_python.ipynb](universal_qe_to_python.ipynb) | Execute workflow defined in the Python Workflow Definition with Python. |
88-
| [universal_qe_to_executorlib.ipynb](universal_qe_to_executorlib.ipynb) | Execute workflow defined in the Python Workflow Definition with executorlib. |
75+
| Example | Explanation |
76+
|------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------|
77+
| [aiida_qe.ipynb](aiida_qe.ipynb) | Define Workflow with aiida and execute it with jobflow and pyiron_base. |
78+
| [jobflow_qe.ipynb](jobflow_qe.ipynb) | Define Workflow with jobflow and execute it with aiida and pyiron_base. |
79+
| [pyiron_base_qe.ipynb](pyiron_base_qe.ipynb) | Define Workflow with pyiron_base and execute it with aiida and jobflow. |
80+
| [universal_workflow_qe.ipynb](universal_workflow_qe.ipynb) | Execute workflow defined in the Python Workflow Definition with aiida, executorlib, jobflow, pyiron_base and pure Python. |

0 commit comments

Comments
 (0)