SEAMM Training Structures Plug-in
A SEAMM plug-in for Training Structures
Free software: BSD-3-Clause
Documentation: https://molssi-seamm.github.io/training_structures_step/index.html
Code: https://github.com/molssi-seamm/training_structures_step
Features
The Training Structures step makes distorted structures of a molecule for training a machine-learned potential: energy-targeted normal-mode samples, relaxed torsion scans of the heavy rotors and bond stretches, each checked to keep the molecule’s bonds and to lie in a chosen energy window.
The points are configurations of a new system, one per molecule, named by kind (‘sample 3’, ‘scan 1 C2-C3 +45’, ‘stretch C-H -‘), for labelling by a later step.
Acknowledgements
This package was created with the molssi-seamm/cookiecutter-seamm-plugin tool, which is based on the excellent Cookiecutter.
Developed by the Molecular Sciences Software Institute (MolSSI), which receives funding from the National Science Foundation under award CHE-2136142.
History
- 2026.11.25.2 – A redraw pass for molecules that lost too many samples
Training Structures can name its system ‘for a redraw’ (‘<molecule> redraw’), for a second pass of samples from the first pass’s minimum, e.g. with a lower maximum target energy, no scans and no stretches.
Export Training Set merges a molecule’s redraw with its first pass: the redraw’s samples replace the first pass’s (marked ‘replaced by the redraw’), the scans and stretches are kept, and both passes must share the minimum’s energy and settings. The record says where the samples came from.
Export Training Set gives the molecules to redraw as a regular expression (‘redraw regexp’), for a Loop over those systems in the same flowchart.
- 2026.11.25.1 – Export Training Set: labelled points to extended-XYZ files
A new step, Export Training Set, for the points of Training Structures after an Energy step has labelled them: each point’s energy above its molecule’s minimum, a check that a molecule’s points share one settings fingerprint (no mixed levels), and filters for an energy window (10 kcal/mol) and, for open shells, a change of <S**2> (0.05). Dropped points are marked on their configurations, not deleted.
One extended-XYZ file per molecule (REF_energy, REF_forces, delta_energy and the point’s details, full-precision positions; keys that ASE reads as data, not as a calculator’s results), with a JSON record of how it was made: model chemistry, settings fingerprint, the calculation record, how the Hessian was made and checked, the random seed, and the points kept and dropped.
A coverage table of elements and bonded pairs (molecules, points, the bond lengths sampled) against minimum counts; molecules that lost too many samples are reported for a redraw, and points below a molecule’s minimum are reported.
Training Structures now stores its random seed on the minimum.
- 2026.11.25 – Initial release
Distorted structures of a molecule for training a machine-learned potential, from the Hessian of the Model Chemistry: energy-targeted normal-mode samples, relaxed torsion scans of up to a set number of heavy rotors at a cheap generator level, and two stretches of the median bond of each bonded element pair, or a stretch grid for a diatomic.
Every point must keep the molecule’s bonds and lie within a set energy of the minimum at the generator level; refused points are counted with the reasons.
The Hessian is checked against finite differences of the gradient for open-shell molecules (and a fraction of closed-shell ones) and replaced by a finite-difference Hessian if it fails.
The points are configurations of one new system, named by kind, with their generation details as properties.
Metadata
Release files for training-structures-step 2026.11.25.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 |
|---|---|---|---|---|
| training_structures_step-2026.11.25.2.tar.gz | 341.2 kB | Without provenance | Details for training_structures_step-2026.11.25.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| training_structures_step-2026.11.25.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for training_structures_step-2026.11.25.2-py2.py3-none-any.whl |
Total release size: 388.7 kB
Release files / training_structures_step-2026.11.25.2.tar.gz
| Download URL | training_structures_step-2026.11.25.2.tar.gz |
|---|---|
| Size | 341.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fd9744c8f656450c22a7068c59b81f3d46ba92bed3854a8f43fc30fff90293fd
|
|
BLAKE2b-256 checksum How to use checksums |
e86a1b42e8684431b6bab9818557ba634f36d05077fcc19a58a5e96e567f8373
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / training_structures_step-2026.11.25.2-py2.py3-none-any.whl
| Download URL | training_structures_step-2026.11.25.2-py2.py3-none-any.whl |
|---|---|
| Size | 47.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
590996da7088bce39d24da43eac7f0babd5a0bf3e8947994f46b5e5025fc7d18
|
|
BLAKE2b-256 checksum How to use checksums |
14a64abceb47457873e088707f99a50fb3cb9a8c359a1d8dd87b7be426956c97
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Security for training-structures-step 2026.11.25.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.