Skip to content

Commit 09fa6fd

Browse files
committed
rename notebooks
1 parent 4e4853c commit 09fa6fd

23 files changed

+1195
-42
lines changed

.github/workflows/pipeline.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -46,18 +46,18 @@ jobs:
4646
shell: bash -l {0}
4747
run: |
4848
cd example_workflows/nfdi/
49-
papermill aiida_nfdi.ipynb aiida_nfdi_out.ipynb -k "python3"
50-
papermill jobflow_nfdi.ipynb jobflow_nfdi_out.ipynb -k "python3"
51-
papermill pyiron_base_nfdi.ipynb pyiron_base_nfdi_out.ipynb -k "python3"
52-
papermill universal_workflow_nfdi.ipynb universal_workflow_nfdi_out.ipynb -k "python3"
49+
papermill aiida.ipynb aiida_out.ipynb -k "python3"
50+
papermill jobflow.ipynb jobflow_out.ipynb -k "python3"
51+
papermill pyiron_base.ipynb pyiron_base_out.ipynb -k "python3"
52+
papermill universal_workflow.ipynb universal_workflow_out.ipynb -k "python3"
5353
5454
quantumespresso:
5555
runs-on: ubuntu-latest
5656
steps:
5757
- uses: actions/checkout@v4
5858
- name: Setup environment
5959
shell: bash -l {0}
60-
run: tail --lines=+4 example_workflows/quantum_espresso/environment_qe.yml >> binder/environment.yml
60+
run: tail --lines=+4 example_workflows/quantum_espresso/environment.yml >> binder/environment.yml
6161
- uses: conda-incubator/setup-miniconda@v3
6262
with:
6363
auto-update-conda: true
@@ -77,10 +77,10 @@ jobs:
7777
export ESPRESSO_PSEUDO=$(pwd)/espresso/pseudo
7878
cp -r example_workflows/quantum_espresso/espresso .
7979
cd example_workflows/quantum_espresso
80-
papermill aiida_qe.ipynb aiida_qe_out.ipynb -k "python3"
81-
papermill jobflow_qe.ipynb jobflow_qe_out.ipynb -k "python3"
82-
papermill pyiron_base_qe.ipynb pyiron_base_qe_out.ipynb -k "python3"
83-
papermill universal_workflow_qe.ipynb universal_workflow_qe_out.ipynb -k "python3"
80+
papermill aiida.ipynb aiida_out.ipynb -k "python3"
81+
papermill jobflow.ipynb jobflow_out.ipynb -k "python3"
82+
papermill pyiron_base.ipynb pyiron_base_out.ipynb -k "python3"
83+
papermill universal_workflow.ipynb universal_workflow_out.ipynb -k "python3"
8484
8585
arithmetic:
8686
runs-on: ubuntu-latest
@@ -102,10 +102,10 @@ jobs:
102102
shell: bash -l {0}
103103
run: |
104104
cd example_workflows/arithmetic
105-
papermill aiida_arithmetic.ipynb aiida_arithmetic_out.ipynb -k "python3"
106-
papermill jobflow_arithmetic.ipynb jobflow_arithmetic_out.ipynb -k "python3"
107-
papermill pyiron_base_arithmetic.ipynb pyiron_base_arithmetic_out.ipynb -k "python3"
108-
papermill universal_workflow_arithmetic.ipynb universal_workflow_arithmetic_out.ipynb -k "python3"
105+
papermill aiida.ipynb aiida_out.ipynb -k "python3"
106+
papermill jobflow.ipynb jobflow_out.ipynb -k "python3"
107+
papermill pyiron_base.ipynb pyiron_base_out.ipynb -k "python3"
108+
papermill universal_workflow.ipynb universal_workflow_out.ipynb -k "python3"
109109
110110
book:
111111
runs-on: ubuntu-latest

README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ tmp_dict = get_prod_and_div(x=1, y=2)
2828
result = get_sum(x=tmp_dict["prod"], y=tmp_dict["div"])
2929
```
3030
For the workflow representation of these Python functions the Python functions are stored in the [arithmetic_workflow.py](example_workflows/arithmetic/arithmetic_workflow.py)
31-
Python module. The connection of the Python functions are stored in the [workflow_arithmetic.json](example_workflows/arithmetic/workflow_arithmetic.json)
31+
Python module. The connection of the Python functions are stored in the [workflow_arithmetic.json](example_workflows/arithmetic/workflow.json)
3232
JSON file:
3333
```
3434
{
@@ -59,30 +59,30 @@ The corresponding Jupyter notebooks demonstrate this functionality:
5959

6060
| Example | Explanation |
6161
|----------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------|
62-
| [aiida_arithmetic.ipynb](example_workflows/arithmetic/aiida_arithmetic.ipynb) | Define Workflow with aiida and execute it with jobflow and pyiron_base. |
63-
| [jobflow_arithmetic.ipynb](example_workflows/arithmetic/jobflow_arithmetic.ipynb) | Define Workflow with jobflow and execute it with aiida and pyiron_base. |
64-
| [pyiron_base_arithmetic.ipynb](example_workflows/arithmetic/pyiron_base_arithmetic.ipynb) | Define Workflow with pyiron_base and execute it with aiida and jobflow. |
65-
| [universal_workflow_arithmetic.ipynb](example_workflows/arithmetic/universal_workflow_arithmetic.ipynb) | Execute workflow defined in the Python Workflow Definition with aiida, executorlib, jobflow, pyiron_base and pure Python. |
62+
| [aiida_arithmetic.ipynb](example_workflows/arithmetic/aiida.ipynb) | Define Workflow with aiida and execute it with jobflow and pyiron_base. |
63+
| [jobflow_arithmetic.ipynb](example_workflows/arithmetic/jobflow.ipynb) | Define Workflow with jobflow and execute it with aiida and pyiron_base. |
64+
| [pyiron_base_arithmetic.ipynb](example_workflows/arithmetic/pyiron_base.ipynb) | Define Workflow with pyiron_base and execute it with aiida and jobflow. |
65+
| [universal_workflow_arithmetic.ipynb](example_workflows/arithmetic/universal_workflow.ipynb) | Execute workflow defined in the Python Workflow Definition with aiida, executorlib, jobflow, pyiron_base and pure Python. |
6666

6767
### Quantum Espresso Workflow
6868
The second workflow example is the calculation of an energy volume curve with Quantum Espresso. In the first step the
6969
initial structure is relaxed, afterward it is strained and the total energy is calculated.
7070
* [quantum_espresso_workflow.py](example_workflows/quantum_espresso/quantum_espresso_workflow.py) Python functions
71-
* [workflow_qe.json](example_workflows/quantum_espresso/workflow_qe.json) Workflow definition in the Python Workflow Definition.
72-
* [environment_qe.yml](example_workflows/quantum_espresso/environment_qe.yml) Conda environment
71+
* [workflow_qe.json](example_workflows/quantum_espresso/workflow.json) Workflow definition in the Python Workflow Definition.
72+
* [environment_qe.yml](example_workflows/quantum_espresso/environment.yml) Conda environment
7373

7474
| Example | Explanation |
7575
|------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------|
76-
| [aiida_qe.ipynb](example_workflows/quantum_espresso/aiida_qe.ipynb) | Define Workflow with aiida and execute it with jobflow and pyiron_base. |
77-
| [jobflow_qe.ipynb](example_workflows/quantum_espresso/jobflow_qe.ipynb) | Define Workflow with jobflow and execute it with aiida and pyiron_base. |
78-
| [pyiron_base_qe.ipynb](example_workflows/quantum_espresso/pyiron_base_qe.ipynb) | Define Workflow with pyiron_base and execute it with aiida and jobflow. |
79-
| [universal_workflow_qe.ipynb](example_workflows/quantum_espresso/universal_workflow_qe.ipynb) | Execute workflow defined in the Python Workflow Definition with aiida, executorlib, jobflow, pyiron_base and pure Python. |
76+
| [aiida_qe.ipynb](example_workflows/quantum_espresso/aiida.ipynb) | Define Workflow with aiida and execute it with jobflow and pyiron_base. |
77+
| [jobflow_qe.ipynb](example_workflows/quantum_espresso/jobflow.ipynb) | Define Workflow with jobflow and execute it with aiida and pyiron_base. |
78+
| [pyiron_base_qe.ipynb](example_workflows/quantum_espresso/pyiron_base.ipynb) | Define Workflow with pyiron_base and execute it with aiida and jobflow. |
79+
| [universal_workflow_qe.ipynb](example_workflows/quantum_espresso/universal_workflow.ipynb) | Execute workflow defined in the Python Workflow Definition with aiida, executorlib, jobflow, pyiron_base and pure Python. |
8080

8181
### NFDI4Ing Scientific Workflow Requirements
8282
To demonstrate the compatibility of the Python Workflow Definition to file based workflows, the workflow benchmark developed as part of [NFDI4Ing](https://github.com/BAMresearch/NFDI4IngScientificWorkflowRequirements)
8383
is implemented for all three simulation codes based on a shared workflow definition.
8484
* [nfdi_ing_workflow.py](example_workflows/nfdi/nfdi_ing_workflow.py) Python functions
85-
* [workflow_nfdi.json](example_workflows/nfdi/workflow_nfdi.json) Workflow definition in the Python Workflow Definition.
85+
* [workflow_nfdi.json](example_workflows/nfdi/workflow.json) Workflow definition in the Python Workflow Definition.
8686

8787
Additional source files provided with the workflow benchmark:
8888
* [source/envs/preprocessing.yaml](example_workflows/nfdi/source/envs/preprocessing.yaml) Conda environment for preprocessing
@@ -97,7 +97,7 @@ Additional source files provided with the workflow benchmark:
9797

9898
| Example | Explanation |
9999
|----------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------|
100-
| [aiida_nfdi.ipynb](example_workflows/nfdi/aiida_nfdi.ipynb) | Define Workflow with aiida and execute it with jobflow and pyiron_base. |
101-
| [jobflow_nfdi.ipynb](example_workflows/nfdi/jobflow_nfdi.ipynb) | Define Workflow with jobflow and execute it with aiida and pyiron_base. |
102-
| [pyiron_base_nfdi.ipynb](example_workflows/nfdi/pyiron_base_nfdi.ipynb) | Define Workflow with pyiron_base and execute it with aiida and jobflow. |
103-
| [universal_workflow_nfdi.ipynb](example_workflows/nfdi/universal_workflow_nfdi.ipynb) | Execute workflow defined in the Python Workflow Definition with aiida, executorlib, jobflow, pyiron_base and pure Python. |
100+
| [aiida_nfdi.ipynb](example_workflows/nfdi/aiida.ipynb) | Define Workflow with aiida and execute it with jobflow and pyiron_base. |
101+
| [jobflow_nfdi.ipynb](example_workflows/nfdi/jobflow.ipynb) | Define Workflow with jobflow and execute it with aiida and pyiron_base. |
102+
| [pyiron_base_nfdi.ipynb](example_workflows/nfdi/pyiron_base.ipynb) | Define Workflow with pyiron_base and execute it with aiida and jobflow. |
103+
| [universal_workflow_nfdi.ipynb](example_workflows/nfdi/universal_workflow.ipynb) | Execute workflow defined in the Python Workflow Definition with aiida, executorlib, jobflow, pyiron_base and pure Python. |

binder/postBuild

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
conda env create -n preprocessing -f example_workflows/nfdi/source/envs/preprocessing.yaml -y
22
conda env create -n processing -f example_workflows/nfdi/source/envs/processing.yaml -y
33
conda env create -n postprocessing -f example_workflows/nfdi/source/envs/postprocessing.yaml -y
4-
conda env update --name base --file example_workflows/quantum_espresso/environment_qe.yml
4+
conda env update --name base --file example_workflows/quantum_espresso/environment.yml
55
pip install -e example_workflows/quantum_espresso/qe_xml_parser
66
pip install -e python_workflow_definition
77
verdi presto --profile-name pwd

book/_toc.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@ chapters:
44
- file: intro.md
55
- file: arithmetic.md
66
sections:
7-
- file: example_workflows/arithmetic/aiida_arithmetic.ipynb
8-
- file: example_workflows/arithmetic/jobflow_arithmetic.ipynb
9-
- file: example_workflows/arithmetic/pyiron_base_arithmetic.ipynb
7+
- file: example_workflows/arithmetic/aiida.ipynb
8+
- file: example_workflows/arithmetic/jobflow.ipynb
9+
- file: example_workflows/arithmetic/pyiron_base.ipynb
1010
- file: evcurve.md
1111
sections:
12-
- file: example_workflows/quantum_espresso/aiida_qe.ipynb
13-
- file: example_workflows/quantum_espresso/jobflow_qe.ipynb
14-
- file: example_workflows/quantum_espresso/pyiron_base_qe.ipynb
12+
- file: example_workflows/quantum_espresso/aiida.ipynb
13+
- file: example_workflows/quantum_espresso/jobflow.ipynb
14+
- file: example_workflows/quantum_espresso/pyiron_base.ipynb
1515
- file: nfdi.md
1616
sections:
17-
- file: example_workflows/nfdi/aiida_nfdi.ipynb
18-
- file: example_workflows/nfdi/jobflow_nfdi.ipynb
19-
- file: example_workflows/nfdi/pyiron_base_nfdi.ipynb
17+
- file: example_workflows/nfdi/aiida.ipynb
18+
- file: example_workflows/nfdi/jobflow.ipynb
19+
- file: example_workflows/nfdi/pyiron_base.ipynb
2020
- file: conclusion.md
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)