Skip to content

Commit 4702516

Browse files
committed
Refactor quantum espresso parser
1 parent c572cfc commit 4702516

File tree

13 files changed

+25
-34
lines changed

13 files changed

+25
-34
lines changed

.github/workflows/aiida.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
- name: Installation and setup
2222
shell: bash -l {0}
2323
run: |
24-
pip install -e adis_tools
24+
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 adis
27+
verdi presto --profile-name pwd
2828
- name: Tests
2929
shell: bash -l {0}
3030
run: |

.github/workflows/executorlib.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Tests
2222
shell: bash -l {0}
2323
run: |
24-
pip install -e adis_tools
24+
pip install -e qe_xml_parser
2525
pip install -e python_workflow_definition
2626
conda install -c conda-forge jupyter papermill
2727
export ESPRESSO_PSEUDO=$(pwd)/espresso/pseudo

.github/workflows/jobflow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
- name: Installation and setup
2222
shell: bash -l {0}
2323
run: |
24-
pip install -e adis_tools
24+
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 adis
27+
verdi presto --profile-name pwd
2828
- name: Tests
2929
shell: bash -l {0}
3030
run: |

.github/workflows/pyiron.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
- name: Installation and setup
2222
shell: bash -l {0}
2323
run: |
24-
pip install -e adis_tools
24+
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 adis
27+
verdi presto --profile-name pwd
2828
- name: Tests
2929
shell: bash -l {0}
3030
run: |

.github/workflows/python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Tests
2222
shell: bash -l {0}
2323
run: |
24-
pip install -e adis_tools
24+
pip install -e qe_xml_parser
2525
pip install -e python_workflow_definition
2626
conda install -c conda-forge jupyter papermill
2727
export ESPRESSO_PSEUDO=$(pwd)/espresso/pseudo

adis_tools/pyproject.toml

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

postBuild

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
pip install -e adis_tools
1+
pip install -e qe_xml_parser
22
pip install -e python_workflow_definition
3-
verdi presto --profile-name adis
3+
verdi presto --profile-name pwd

qe_xml_parser/pyproject.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[build-system]
2+
requires = ["hatchling"]
3+
build-backend = "hatchling.build"
4+
5+
[project]
6+
name = "qe_xml_parser"
7+
version = "0.0.1"
8+
description = "Quantum Espresso xml output parser"
9+
authors = [
10+
{ name = "Marnik Bercx", email = "marnik.bercx@psi.ch" },
11+
]
12+
license = { text = "MIT" }
13+
dependencies = ["numpy", "xmlschema", "qe_tools", "ase"]
File renamed without changes.

adis_tools/src/adis_tools/parsers.py renamed to qe_xml_parser/src/qe_xml_parser/parsers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from ase import Atoms
77
from importlib.resources import files
88

9-
from . import schemas
9+
from qe_xml_parser.schemas import schemas
1010

1111

1212
def parse_pw(xml_file):

0 commit comments

Comments
 (0)