Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: psf/black@stable
with:
options: "--check --diff"
src: ./python_workflow_definition/src/python_workflow_definition
src: ./src/python_workflow_definition
- uses: psf/black@stable
with:
options: "--check --diff"
Expand All @@ -35,7 +35,7 @@ jobs:
- name: Pip check
shell: bash -l {0}
run: |
pip install --no-deps --no-build-isolation -e python_workflow_definition
pip install --no-deps --no-build-isolation -e .
pip check

nfdi4ing:
Expand All @@ -53,7 +53,7 @@ jobs:
- name: Installation and setup
shell: bash -l {0}
run: |
pip install --no-deps --no-build-isolation -e python_workflow_definition
pip install --no-deps --no-build-isolation -e .
conda install -c conda-forge jupyter papermill
verdi presto --profile-name pwd
sudo apt-get install -y $(cat binder/apt.txt)
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
shell: bash -l {0}
run: |
pip install --no-deps --no-build-isolation -e example_workflows/quantum_espresso/qe_xml_parser
pip install --no-deps --no-build-isolation -e python_workflow_definition
pip install --no-deps --no-build-isolation -e .
conda install -c conda-forge jupyter papermill
verdi presto --profile-name pwd
- name: Tests
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
- name: Installation and setup
shell: bash -l {0}
run: |
pip install --no-deps --no-build-isolation -e python_workflow_definition
pip install --no-deps --no-build-isolation -e .
conda install -c conda-forge jupyter papermill
verdi presto --profile-name pwd
- name: Tests
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ jobs:
environment-file: binder/environment.yml
- name: Build
shell: bash -l {0}
run: |
cd python_workflow_definition
hatch build -t sdist -t wheel
run: hatch build -t sdist -t wheel
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ cython_debug/
input_tmp.in
pyiron.log
pyiron_draw.png
python_workflow_definition/src/python_workflow_definition/__pycache__/
src/python_workflow_definition/__pycache__/
test/
mini/
evcurve.png
Expand Down
1 change: 1 addition & 0 deletions binder/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ channels:
- conda-forge
dependencies:
- python =3.12
- click =8.1.8
- pydantic =2.11.4
- hatch =1.14.1
- hatchling =1.27.0
Expand Down
4 changes: 2 additions & 2 deletions example_workflows/quantum_espresso/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ dependencies:
- matplotlib=3.10.1
- xmlschema=3.4.3
- optimade=1.2.3
- qe=7.2
- qe-tools=2.0.0
- qe=7.4
- qe-tools=2.0.0
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ datecode 220603
<element type="qes:ekin_functionalType" name="ekin_functional" minOccurs="0" />
<element type="qes:matrixType" name="external_atomic_forces" minOccurs="0" />
<element type="qes:integerMatrixType" name="free_positions" minOccurs="0" />
<element type="qes:twochemType" name="twoch_" minOccurs="0" />
<element type="qes:matrixType" name="starting_atomic_velocities" minOccurs="0" />
<element type="qes:electric_fieldType" name="electric_field" minOccurs="0" />
<element type="qes:atomic_constraintsType" name="atomic_constraints" minOccurs="0" />
Expand Down Expand Up @@ -235,6 +236,7 @@ datecode 220603
<element type="qes:cellType" name="cell"/>
</sequence>
<attribute type="positiveInteger" name="nat" />
<attribute type="positiveInteger" name="num_of_atomic_wfc" />
<attribute type="double" name="alat" use="optional"/>
<attribute type="positiveInteger" name="bravais_index" use="optional"/>
<attribute type="string" name="alternative_axes" use="optional" />
Expand Down Expand Up @@ -908,6 +910,15 @@ datecode 220603
</simpleContent>
</complexType>

<complexType name="twochemType">
<sequence>
<element type="boolean" name="twochem" minOccurs="0"/>
<element type="integer" name="nbnd_cond" minOccurs="0"/>
<element type="double" name="degauss_cond" minOccurs="0"/>
<element type="double" name="nelec_cond" minOccurs="0"/>
</sequence>
</complexType>

<!-- OUTPUT TYPE -->

<complexType name="outputElectricFieldType">
Expand Down Expand Up @@ -997,6 +1008,7 @@ datecode 220603
<sequence>
<element type="qes:scf_convType" name="scf_conv"/>
<element type="qes:opt_convType" name="opt_conv" minOccurs="0"/>
<element type="boolean" name="wf_collected" minOccurs="0"/>
</sequence>
</complexType>
<complexType name="scf_convType">
Expand Down Expand Up @@ -1024,6 +1036,7 @@ datecode 220603
<complexType name="symmetriesType">
<sequence>
<element type="unsignedByte" name="nsym"/>
<element type="unsignedByte" name="colin_mag"/>
<element type="unsignedByte" name="nrot"/>
<element type="unsignedByte" name="space_group"/>
<element type="qes:symmetryType" name="symmetry" maxOccurs="48" minOccurs="1"/>
Expand Down Expand Up @@ -1101,8 +1114,9 @@ datecode 220603
<element type="nonNegativeInteger" name="nbnd_up" minOccurs="0" />
<element type="nonNegativeInteger" name="nbnd_dw" minOccurs="0" />
<element type="double" name="nelec"/>
<element type="double" name="fermi_energy"/>
<element type="integer" name = "num_of_atomic_wfc" minOccurs = "0"/>
<element type="boolean" name = "wf_collected" />
<element type="boolean" name = "wf_collected" minOccurs = "0"/>
<element type="double" name="fermi_energy" minOccurs="0" />
<element type="double" name="highestOccupiedLevel" minOccurs ="0"/>
<element type="double" name="lowestUnoccupiedLevel" minOccurs="0"/>
Expand Down Expand Up @@ -1367,4 +1381,4 @@ datecode 220603
<element type="double" name="left_buffer_v" minOccurs="0"/>
</sequence>
</complexType>
</schema>
</schema>
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ authors = [
{ name = "Marnik Bercx", email = "marnik.bercx@psi.ch" },
{ name = "Christina Ertural", email = "christina.ertural@bam.de" },
]
license = { file = "../LICENSE" }
license = { file = "LICENSE" }
dependencies = [
"numpy>=1.21,<2",
"pydantic>=2.7.0,<=2.11.4",
Expand Down
Loading