Skip to content

Commit 7b55828

Browse files
authored
Sort by workflows (#38)
* Sort by workflows * fix simple workflow * fix environment * remove quantum espresso parser from simple workflow * update readme
1 parent 6f0dec1 commit 7b55828

File tree

7 files changed

+22
-80
lines changed

7 files changed

+22
-80
lines changed

.github/workflows/aiida.yml

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

.github/workflows/jobflow.yml

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

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

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: universal
1+
name: quantum espresso
22

33
on:
44
push:
@@ -12,6 +12,9 @@ jobs:
1212

1313
steps:
1414
- uses: actions/checkout@v4
15+
- name: Setup environment
16+
shell: bash -l {0}
17+
run: tail --lines=+4 environment_qe.yml >> environment.yml
1518
- uses: conda-incubator/setup-miniconda@v3
1619
with:
1720
auto-update-conda: true
@@ -29,5 +32,7 @@ jobs:
2932
shell: bash -l {0}
3033
run: |
3134
export ESPRESSO_PSEUDO=$(pwd)/espresso/pseudo
32-
papermill universal_workflow_simple.ipynb universal_workflow_simple_out.ipynb -k "python3"
35+
papermill aiida_qe.ipynb aiida_qe_out.ipynb -k "python3"
36+
papermill jobflow_qe.ipynb jobflow_qe_out.ipynb -k "python3"
37+
papermill pyiron_base_qe.ipynb pyiron_base_qe_out.ipynb -k "python3"
3338
papermill universal_workflow_qe.ipynb universal_workflow_qe_out.ipynb -k "python3"

.github/workflows/pyiron.yml renamed to .github/workflows/simple.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: pyiron
1+
name: simple
22

33
on:
44
push:
@@ -21,13 +21,13 @@ jobs:
2121
- name: Installation and setup
2222
shell: bash -l {0}
2323
run: |
24-
pip install -e qe_xml_parser
2524
pip install -e python_workflow_definition
2625
conda install -c conda-forge jupyter papermill
2726
verdi presto --profile-name pwd
2827
- name: Tests
2928
shell: bash -l {0}
3029
run: |
31-
export ESPRESSO_PSEUDO=$(pwd)/espresso/pseudo
30+
papermill aiida_simple.ipynb aiida_simple_out.ipynb -k "python3"
31+
papermill jobflow_simple.ipynb jobflow_simple_out.ipynb -k "python3"
3232
papermill pyiron_base_simple.ipynb pyiron_base_simple_out.ipynb -k "python3"
33-
papermill pyiron_base_qe.ipynb pyiron_base_qe_out.ipynb -k "python3"
33+
papermill universal_workflow_simple.ipynb universal_workflow_simple_out.ipynb -k "python3"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ The second workflow example is the calculation of an energy volume curve with Qu
7070
initial structure is relaxed, afterward it is strained and the total energy is calculated.
7171
* [quantum_espresso_workflow.py](quantum_espresso_workflow.py) Python functions
7272
* [workflow_qe.json](workflow_qe.json) Workflow definition in the Python Workflow Definition.
73-
* [environment.yml](environment.yml) Conda environment
73+
* [environment_qe.yml](environment_qe.yml) Conda environment
7474

7575
| Example | Explanation |
7676
|------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------|

environment.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,9 @@ channels:
22
- conda-forge
33
dependencies:
44
- python=3.12
5-
- pyiron_base=0.11.8
6-
- qe=7.2
7-
- qe-tools=2.0.0
8-
- ase=3.24.0
9-
- matplotlib=3.10.1
10-
- xmlschema=3.4.3
115
- jobflow=0.1.19
6+
- pyiron_base=0.11.8
127
- pygraphviz=1.14
13-
- optimade=1.2.3
148
- pip
159
- pip:
1610
- aiida-workgraph==0.5.1

environment_qe.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
channels:
2+
- conda-forge
3+
dependencies:
4+
- ase=3.24.0
5+
- matplotlib=3.10.1
6+
- xmlschema=3.4.3
7+
- optimade=1.2.3
8+
- qe=7.2
9+
- qe-tools=2.0.0

0 commit comments

Comments
 (0)