pyiron_workflow_assyst
A workflow package for ASSYST (Automated Small SYmmetric Structure Training) using VASP calculations, integrated with pyiron_workflow.
Overview
This package implements the ASSYST methodology as described in:
Poul, M., Huber, L., & Neugebauer, J. (2024). Automated Generation of Structure Datasets for Machine Learning Potentials and Alloys. Research Square
ASSYST is a strategy for generating unbiased and systematically extendable training data for machine learning interatomic potentials (MLIP) for multicomponent alloys. It explores the full space of random crystal structures with space groups, facilitating the construction of training sets for MLIPs in an automatic way without prior knowledge of the material.
Features
- Automated generation of training structures for MLIPs
- Systematic exploration of crystal structure space
- Integration with VASP for DFT calculations
- Workflow-based implementation using pyiron_workflow
- Support for multicomponent alloys
- Structure validation and filtering
Installation
pip install pyiron_workflow_assyst
For development installation (with the test dependencies):
git clone https://github.com/ligerzero-ai/pyiron_workflow_assyst.git
cd pyiron_workflow_assyst
pip install -e ".[test]"
pytest
The VASP-facing parts of the workflow read POTCARs through
pyiron_workflow_vasp's ~/.pyiron_vasp_config (or the file named by
PYIRON_VASP_CONFIG); see that package for how to set it up. The test suite
does not need one.
Dependencies
- numpy>=1.20.0
- pandas>=1.3.0
- pymatgen>=2023.0.0
- ase>=3.22.0
- pyiron_workflow>=0.19,<0.21
- flowrep>=0.6,<0.7
- pyiron_workflow_vasp>=0.2.0,<0.3
Usage
run_ASSYST_on_structure is a flowrep
@fr.workflow function, not a callable macro object -- under
pyiron_workflow>=0.19, it must be wrapped with pyiron_workflow.node(...)
and run with keyword arguments, not called or .run()-ed directly:
import pyiron_workflow as pwf
from pymatgen.io.vasp.inputs import Incar
from pyiron_workflow_assyst import run_ASSYST_on_structure
incar = Incar.from_dict({"ENCUT": 400, "ISIF": 7, "NSW": 100, ...})
node = pwf.node(run_ASSYST_on_structure)
run = node.run(
structure=your_structure, # pymatgen Structure or ase Atoms
incar=incar,
potcar_paths=None, # or an explicit list of POTCAR paths
job_name="/absolute/path/to/job_dir",
vasp_command="mpiexec -n 40 vasp_std",
ionic_steps=100,
n_stretch_permutations=2,
n_rattle_permutations=2,
rattle_displacement=0.1,
)
train_df = run.outputs.train_df # pandas.DataFrame of accurate-statics results
See examples/example.py for a complete example (edit its cluster-specific
POTCAR path, output directory and vasp_command before running it), and
tests/test_workflow.py for the full set of keyword arguments
run_ASSYST_on_structure accepts.
Documentation
For detailed documentation, please refer to the documentation.
Releasing
Releases go to PyPI from GitHub Actions via trusted publishing, so no API token is stored anywhere.
- Bump
__version__inpyiron_workflow_assyst/__init__.py(the only place the version lives) and add an entry toCHANGELOG.md. - Open a PR and merge it to
main. Thereleaseworkflow builds the sdist and wheel and runstwine check --stricton every PR as a dry run. - Create a GitHub release with tag
v<version>(e.g.v0.2.0). Publishing the release builds again, checks that the tag matches the package version (avorpyiron_workflow_assyst-prefix is stripped), and uploads to PyPI.
One-time setup: on PyPI, add a trusted publisher for pyiron_workflow_assyst with owner
ligerzero-ai, repository pyiron_workflow_assyst, workflow release.yml and environment
pypi, and create a pypi environment in the GitHub repository settings
(optionally with required reviewers).
Contributing
We welcome contributions! Please open an issue or pull request on GitHub.
License
This project is licensed under the BSD-3-Clause License - see the LICENSE file for details.
Citation
If you use this package in your research, please cite:
@article{poul2024automated,
title={Automated Generation of Structure Datasets for Machine Learning Potentials and Alloys},
author={Poul, Marvin and Huber, Liam and Neugebauer, J{\"o}rg},
journal={Research Square},
year={2024},
doi={10.21203/rs.3.rs-4732459/v1}
}
Contact
For questions or support, please contact the pyiron team at pyiron@mpie.de
Metadata
Release files for pyiron-workflow-assyst 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyiron_workflow_assyst-0.2.2.tar.gz | 76.2 kB | With provenance | Details for pyiron_workflow_assyst-0.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyiron_workflow_assyst-0.2.2-py3-none-any.whl | Python 3 | none | any | Details for pyiron_workflow_assyst-0.2.2-py3-none-any.whl |
Total release size: 99.3 kB
Release files / pyiron_workflow_assyst-0.2.2.tar.gz
| Download URL | pyiron_workflow_assyst-0.2.2.tar.gz |
|---|---|
| Size | 76.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
81fbd8e85aa5c87f74498061920263de357e1c9e39e818dc77afc9da81f9cd5f
|
|
BLAKE2b-256 checksum How to use checksums |
8802077f708465762672a5de7e003a33d74ec478f37396fdd74d3619225c2a95
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.
Transparency logRelease files / pyiron_workflow_assyst-0.2.2-py3-none-any.whl
| Download URL | pyiron_workflow_assyst-0.2.2-py3-none-any.whl |
|---|---|
| Size | 23.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0cec9aa138e28cea4bc1524b25dcea65da7f7cb1315a910e69c48107c3740243
|
|
BLAKE2b-256 checksum How to use checksums |
370ede35e680b6055666bf343b3f8b4427bf6e3648395ee98c6ee67f1aa68b9e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.
Transparency logSecurity for pyiron-workflow-assyst 0.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for pyiron_workflow_assyst-0.2.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.