Changelog
This changelog is generated automatically from GitHub Releases.
v0.0.32
2026-11-11 · GitHub
Deprecated
- automol is deprecated, and this is its last release. Its name clashes with the
automolmodule of the older AutoMech codes, so the code continues under new names:- autogeom holds the Geometry model and the functions that operate on it;
- autostorage holds the identity framework (Algorithm, AlgorithmRegistry, IdentityKind, and the built-in algorithms).
- Importing automol raises a
FutureWarningthat points to autogeom. Nothing else in the code has changed since 0.0.31.
v0.0.31
2026-11-09 · GitHub
Changed
- Breaking: automol requires Python 3.13 or later, following SPEC 0.
- Minimum dependency versions follow SPEC 0 and are tested against the lowest allowed versions: numpy 2.2 (was 2.0), scipy 1.15 (was 1.13), and pydantic 2.9 (was 2.5, the oldest with Python 3.13 support).
- rdkit requires 2025.3.3 or later, since earlier releases fail to embed allenes (e.g.
C=C=C). - The conda package is published to the
avcopan/automechchannel on prefix.dev instead of theavcopanchannel on anaconda.org. Install it withpixi workspace channel add https://repo.prefix.dev/avcopan/automechandpixi add automol. As before, xyzrender (for geom.render_svg and geom.render_gif) comes from PyPI. - The documentation site is built with Great Docs, with a rewritten installation page and self-contained, tested examples in the user guide.
- The project follows the copier-pixi-python template, which also adds the README, license, and repository and documentation links to the PyPI page.
Removed
- The unused
ipythondependency.
v0.0.30
2026-11-03 · GitHub
Added
- geom.twist, which rotates the group on one side of a bond about it (e.g. a methyl or amine group), and geom.twist_angle, the twist that turns one direction onto another, as the signed angle between their projections perpendicular to the bond.
v0.0.29
2026-11-02 · GitHub
Added
- Multi-frame xyz I/O, e.g. for conformer lists: geom.from_xyz_trajectory_block, geom.from_xyz_trajectory_file, geom.xyz_trajectory_block, geom.xyz_trajectory_file, and geom.xyz_trajectory_comments (for per-frame values on the comment line, such as CREST’s energies).
- geom.axis_alignment_rotation, the smallest rotation that points the vector between two atoms along an axis, e.g. to put a molecular axis along y before spinning about it.
v0.0.28
2026-10-30 · GitHub
Added
- geom.select_atoms, geom.remove_atoms, and geom.join for selecting and combining atoms. Selections keep the charge, and keep the spin when it is still consistent with the electron count (otherwise the lowest consistent spin).
- geom.distance, geom.angle, and geom.dihedral to measure specific atoms by index.
- geom.center, geom.principal_axes, geom.inertial_frame_rotation, and geom.alignment_rotation (Kabsch).
originparameter on geom.rotate and geom.reflect, to rotate about a point or reflect across a plane that doesn’t contain the origin.
Fixed
import automolno longer fails in conda environments, which don’t have xyzrender (it is only on PyPI). xyzrender is now imported only by geom.render_svg and geom.render_gif, which explain how to install it if it’s missing, and the conda package leaves it out explicitly (pypi-conda-map).
v0.0.27
2026-10-02 · GitHub
v0.0.26
2026-10-01 · GitHub
Added
rd.mol.from_connectivity(symbols, bonds, *, charge, spin, coords)— builds a sanitized RDKitMolfrom connectivity alone, perceiving bond orders, formal charges, and radical electrons that exactly match the requested charge and spin via an integer linear program (scipy.optimize.milp). RaisesNotImplementedErrorfor metals.utils.element.electronegativity()(Pauling) andutils.element.is_metal(), backed by newelectronegativity/metalfields in the generated element data.- Geometry validation: symbols are checked against the periodic table and canonicalized (
"cl"→"Cl"), andspinmust be non-negative and consistent with the electron count. Cross-field checks now also run on assignment, and a failed assignment leaves the geometry unchanged. - Value-based Geometry.__eq__. Previously,
==raisedValueErroron the coordinate arrays. rd.mol.max_bond_count(), the maximum number of bonds to an atom allowing formal charges of ±1.seedparameter onrd.mol.add_coordinates()(defaultrd.mol.EMBED_SEED;Nonefor random).- geom.translate, geom.rotate, geom.reflect, geom.view, geom.render_svg, and geom.render_gif exported from
automol.geom. - from_xyz_block accepts atomic numbers and lowercase symbols as atom labels, and floats with a leading dot (
.74). - A
datapixi environment withmendeleevandsqlalchemyfor theelements-datatask.
Fixed
adjacency_matrix(..., flood_fill=True, enforce_valence=True)no longer loops forever when valence caps prevent fragments from connecting.rdkit_smiles.identity_fnno longer raisesStopIterationwhen noother_geosentry matches.- hill_formula follows strict Hill order: without carbon, all elements (including H) are alphabetical (e.g.
ClH). - Geometry.relabel_atoms rejects indices that aren’t a permutation and keeps subclass fields.
- from_xyz_block checks the atom count line, and rejects multi-frame blocks and fused tokens such as
H1 0 0 0with a clear XYZFormatError. - Invalid SMILES/InChI/xyz input to
rd.mol.from_smiles/from_inchi/ from_xyz_block and thegeometry_fns raisesValueErrorinstead of an RDKitArgumentError. Failed InChI generation raises instead of returning"". rd.mol.add_coordinatesraisesGeometryConversionErrorwhen embedding fails, after retrying with random initial coordinates.- geom.reflect rejects a zero normal vector instead of returning NaN coordinates.
- View labels and styles apply only to the most recently added geometry.
- center_of_mass / inertia_tensor handle empty geometries, and bonds / angles / dihedrals return correctly shaped empty arrays.
Element.groupis typedint | None. It isNonefor lanthanides and actinides.
Changed
- Breaking: The
automol.geom.core,automol.geom.analysis, andautomol.geom.iosubmodules are merged into a singleautomol.geommodule. Import fromautomol.geominstead (e.g. geom.reflect, notgeom.core.reflect). The public names are unchanged. automol.utils.elementis now a single module (utils/element.py), soautomol.utils.element.coreno longer exists. The publicutils.element.*functions are unchanged.rd/mol.pyis reorganized into sections (conversion, accessors, coordinates, stereochemistry, Lewis structure perception). There are no API changes.- Documentation: Docstrings use Google style, validated by Ruff and rendered by Sphinx through Napoleon. Types come from annotations and are no longer repeated in
Returns:orAttributes:, and emptyReturns: Nonesections are omitted. Module docstrings and comments are clearer and shorter. - geom.rdkit_mol no longer depends on
stereomolgraph: connectivity comes from adjacency_matrix, the Lewis structure fromrd.mol.from_connectivity, and stereochemistry from the 3D coordinates. Radicals, charged species, and closed-shell singlet carbenes are now represented faithfully. - Breaking: geom.dihedrals returns rows
[z1, z2, z3, z4, phi]keyed by atomic numbers, oriented canonically and sorted, consistent with bonds and angles. Previously, rows held atom indices. adjacency_matrix(enforce_valence=True)caps bonds atrd.mol.max_bond_countinstead of the valence-electron count, and keeps the shortest bonds (relative to covalent radii). The result no longer depends on atom order.- angles and dihedrals are built from neighbor lists instead of dense O(N³)/O(N⁴) tensors, and inertia_tensor is vectorized.
rd.mol.from_smiles/from_inchi(and sogeometry_fn) embed coordinates with a fixed seed, so the results are reproducible.- Algorithm validates that
identity_fnaccepts(geo, other_geos)andgeometry_fnaccepts(value). - xyz_file writes a trailing newline. xyz_block rejects multi-line comments.
rd.mol.from_inchisanitizes the parsed molecule.- The
elements-datatask moved to the newdataenvironment.
Removed
AlgorithmRegistry.get(),.all_algorithms(),.algorithms_for_kind()— unused lookup helpers; algorithms are now accessed via their module-level Algorithm instances (e.g. rdkit_inchi, rdkit_smiles, hill_formula) instead of by name.geom.inertia_moments(),inertia_axes(),rotational_analysis(),rotation_to_inertia_axes(), andeckart_frame().geom.mass_weight_vector(),translational_normal_modes(),rotational_normal_modes(),normal_mode_projection(),vibrational_analysis(), andharmonic_zpv().geom.bond_graph(),orbit_classes(),kabsch_align(),hungarian_correspondence(), andassignment_rmsd().geom.stereo_mol_graph(),from_stereo_mol_graph(),set_bond(), andtransition().pynautyandstereomolgraphdependencies.Algorithm.deterministicand thedeterministicparameter ofAlgorithmRegistry.register(...).- Unused
HashGenerationError,UnknownAlgorithmError, andXTBErrorexceptions, and the unusedgeom.analysis.RMSD_THRESHOLDconstant. - Public internals
geom.FLOOD_FILL_STEP, the xyz grammar constants (SYMBOL,FLOAT,XYZ_LINE), andutils.element.ELEMENT_BY_NUMBER/ELEMENT_BY_SYMBOL/PERIOD_SHELL_CAPACITYare now private.
v0.0.25
2026-09-20 · GitHub
Added
- Algorithm
BaseModelrepresenting a registered algorithm as a standalone instance (name,kind,identity_fn,geometry_fn,parent_algorithm,deterministic), replacing theAlgorithmDefdataclass /AlgorithmFnsABC pair. IdentityProtocol/GeometryProtocol([@runtime](https://github.com/runtime)_checkableProtocols) describing theidentity_fn/geometry_fncallable shapes, replacing theCallable[...]type aliases used byAlgorithmDef.parent_algorithmfield on Algorithm / parameter onAlgorithmRegistry.register(...)so a non-canonical algorithm (e.g. rdkit_smiles, hill_formula) can disambiguateother_geosvia a canonical parent (e.g. rdkit_inchi); rdkit_smiles’sidentity_fnnow returns the original (possibly non-canonical) SMILES fromother_geoswhen its InChI matches, instead of always returning RDKit’s canonical form.deterministicfield on Algorithm / parameter onAlgorithmRegistry.register(...)(defaultTrue) flagging whether an algorithm produces deterministic strings; rdkit_smiles and hill_formula are registered as non-deterministic.- Module-level rdkit_inchi, rdkit_smiles, hill_formula Algorithm instances, exported from the top-level
automolnamespace and called directly (rdkit_inchi.identity_fn(...),.geometry_fn(...)) instead of through iIdentity. OTHER_GEOStype alias (Mapping[str, Geometry] | None) for theother_geosparameter.
Changed
AlgorithmRegistry.register(...)is now a plain classmethod that registers an Algorithm instance directly (AlgorithmRegistry.register(name=..., kind=..., identity_fn=..., geometry_fn=...)), instead of a decorator applied to anAlgorithmFnssubclass.- AlgorithmRegistry stores algorithms in a public
algorithms: ClassVar[list[Algorithm]]instead of a private_algorithms: ClassVar[dict[str, AlgorithmDef]].
Removed
IdentityBaseModel(.from_geometry(),.from_value(),.geometry(), and thekind/algorithmconsistency validator) — replaced by callingidentity_fn/geometry_fndirectly on the registered Algorithm instances.AlgorithmDefdataclass andAlgorithmFnsABC — superseded by the Algorithm model andIdentityProtocol/GeometryProtocol.AlgorithmRegistry.register_def()— folded into AlgorithmRegistry.register().RDKIT_INCHI,RDKIT_SMILES,HILL_FORMULAstring constants — replaced by the rdkit_inchi, rdkit_smiles, hill_formula Algorithm instances.
v0.0.24
2026-09-11 · GitHub
Added
- IdentityKind
StrEnumfor categorizing identity types (FORMULA, STEREOISOMER, CONFORMER, ISOMER). AlgorithmDef,AlgorithmFns, AlgorithmRegistry exported from top-levelautomolnamespace.other_geosparameter type (dict[str, Geometry] | None) inAlgorithmFns.identity_fnto support named reference geometries for conformer identity generation.
Changed
- Algorithm
StrEnumremoved; algorithms are now plain string identifiers, so higher-level packages can register their own viaAlgorithmRegistry.register(algorithm, kind)without modifyingautomol.ident. Built-in algorithms are exposed as module-level constants (RDKIT_INCHI,RDKIT_SMILES,HILL_FORMULA) instead of enum members.
v0.0.23
2026-09-02 · GitHub
Removed
geom.is_duplicate_conformer()andirmsddependency. (Brokennumpyreference in solvedirmsdversion).Algorithm.IRMSDconformer-group identity algorithm.
Fixed
- Dependencies listed in
pixi.tomlinstead ofpyproject.toml
v0.0.22
2026-08-28 · GitHub
Added
- Geometry.relabel_atoms() for reordering atoms by index.
geom.analysis.bond_graph()/orbit_classes()for pynauty-based graph construction and automorphism-orbit detection.geom.analysis.kabsch_align(),hungarian_correspondence(),assignment_rmsd()for atom-correspondence-aware structural alignment and RMSD.Algorithm.HILL_FORMULA/HillFormulafor Hill-ordered molecular formula identity via theidentregistry.pynautydependency.
Changed
geom.{comparison,inertia,internal,properties,transform}consolidated intogeom.analysis(distance/inertia/vibration/comparison/graph analysis); geom.view renamed togeom.ioand merged with xyz block/file I/O.geom.hill_formula()->Algorithm.HILL_FORMULA/HillFormula, matching the pattern used by InChI/SMILES/SMG_HASH.geom.transform.{translate,reflect,rotate,transition}andgeom.internal.set_bond()moved togeom.core.- xyz parsing (from_xyz_block) reimplemented without
pyparsing. .gitignore: dropexperimental, add.scratch.
Removed
automol.viewtop-level re-export (useautomol.geom.io/ automol.View).
v0.0.21
2026-07-26 · GitHub
Added
geom.transform.transition()for determining the transition-state geometry between two geometries viaStereoCondensedReactionGraph.Algorithm.SMG_HASH/StereoMolGraphHashfor enantiomer-invariant conformer identity viaStereoMolGraphhashing.
Changed
geom.internal.set_distance()->set_bond()for clarity.geom.comparison.is_duplicate_conformer()now returns a list the same length asgeos, appendingFalsefor symbol-count mismatches instead of skipping them.
v0.0.20
2026-07-25 · GitHub
Added
geom.transform.transition()for determining the transition-state geometry between two geometries viaStereoCondensedReactionGraph.
v0.0.19
2026-07-17 · GitHub
Added
Algorithm.IRMSDfor tagging conformer-group identities (unregistered algorithm; built directly viaIdentity.from_valuerather thanfrom_geometry).geom.comparison.is_duplicate_conformer()for iRMSD-based conformer matching.geom.adjacency_matrix(..., flood_fill=True)option for connectivity-based flood filling.rd.mol.set_coordinates()for replacing an RDKit mol’s conformer coordinates.geom.inertia,geom.internal,geom.vibrationmodules (experimental): moments of inertia, internal coordinates, and vibrational analysis.docs/source/*pages (geometry, identity, interoperability, visualization, installation) and expanded README.
Changed
automol.element->automol.utils.elementto fit module layering.automol.view-> automol.geom.view since it consumes Geometry directly.tests/test_geom.py->tests/{test_core,test_properties,test_transform,test_comparison}.py+tests/conftest.pyto organize growing test suite.
Removed
automol.geom.canon,automol.geoms,automol.graph(includinggraph.ts) — superseded by currentgeom/identdesign.
v0.0.18
2026-07-02 · GitHub
Added
Changed
Geometry.canonical_form(self, *, in_place=True)->.canonical_form(self, *, delta ...)to support method chaining and discourage in-place operations on SQLModel subclasses._float_array_validator(...)returnsnp.array(obj, dtype...)instead ofnp.asarray(obj, dtype...)due to instantiation concerns when hashing.
Fixed
- Bug with
... for targets in nx.all_pairs_shortest_path...exposed when operating on purely cyclic molecules. - Premature raise on
Geometry.validate_coordinates_shape(...)model validator exposed when validating SQLModel subclasses. - Premature hash setting on
Geometry.set_hash()model validator exposed when validating SQLModel subclasses. - Instance building on
Geometry.canonical_form()exposed when canonicalizing SQLModel subclasses. test__deterministic_canonical_order(...)to reflect updates.
Removed
Geometry.sort().
v0.0.17
2026-06-29 · GitHub
Added
elements,constants, andidentfromautomatics(package discontinued).canonical_frametogeommodule for expandingeckart_framelogic to include sign choices.canonical_sortingtogeommodule for initial implementation of standardized atom sorting.
Changed
geom.py->geom/*to better organize growing codebase.
Fixed
teststo reflect changes in update.
Removed
is_similardue to canonical framing and sorting.
v0.0.16
2026-06-18 · GitHub
Added
automatics.geommodule exports withinautomol.geomto avoid namespace clash.harmonic_zpv(harmonic zero point vibrational energy) method.xyzrenderas a developer / optional dependency.
Changed
- Propyl oxirane test fixtures to read objects from data files.
- Bump
automaticsto v0.0.6.
v0.0.15
2026-06-17 · GitHub
Added
geom.vibrational_analysis()and corresponding functions to calculate frequencies from a Geometry and its Hessian.
Changed
- Unit conversions import from
automatics. kabsch()andis_similar()relocated fromgeomtogeoms.
Fixed
- Bump
automaticsto v0.0.5. - Layering to incorporate new
geomsmodule.
Removed
- Minor comments in src files.
v0.0.14
2026-06-12 · GitHub
Added
- Dependency on automatics (0.0.4).
Changed
- Update tests to reflect refactors.
Removed
- Geometry, Identity, and View relocated to automatics for consistent source of truth in autosuite.
- Miscellaneous utility scripts pertaining to Geometry, Identity, and View.
v0.0.13
2026-06-03 · GitHub
- Implemented Identity class with boilerplate for handling conversions between Geometry and chemical identifiers such as InChI / SMILES.
- Converted qcdata to an optional dependency with conversion methods placed in geom.py.
- Implemented a decorator for optional qc data dependency.
- Dropped qccompute from pixi.toml pypi-dependency list.
v0.0.12
2026-05-20 · GitHub
- geom.is_similar() checks InChI first, no longer considers moment of inertia deviation, and ensures that geometry symbols are identically ordered between geo1 and geo2 (kabsch implentation is order dependent).
- Added nvalence, covalent radius, and group to elements-data.
- geom.determine_neighbors() as a first attempt at defining connectivity from geometries.
v0.0.11
2026-05-04 · GitHub
- Added missing pyparsing dependency
v0.0.10
2026-04-30 · GitHub
- Renames functions and arguments for clarity and consistency
v0.0.9
2026-04-19 · GitHub
- Overhaul graph API with better design and better typing as Graph[Atom, Bond]
- Implement graph.ts submodule with brute-force reaction mapping algorithm
v0.0.8
2026-04-17 · GitHub
- Added view submodule for building view objects
- Added geometry functions (translation, rotation, reflection, dihedral angles, etc.)
- Added graph submodule with conversion to/from RDKit Mol and SMILES/InChI
v0.0.7
2026-04-08 · GitHub
- Added inertia moments, kabsch alignment, and center of mass algebraic methods to geom.py
- Added similarity analysis to geom.py (mirroring first two steps of prism_pruner)
- Added distance setting to geom.py
v0.0.6
2026-04-01 · GitHub
v0.0.5
2026-01-29 · GitHub
Added
- Geometry hash function to root namespace
v0.0.4
2026-01-29 · GitHub
Changed
- Renamed geometry hash function to
geometry_hash()to avoid shadowing built-inhash()
v0.0.3
2026-01-29 · GitHub
Added
- Geometry hash function
v0.0.2
2026-01-28 · GitHub
Fixed
- Fix Geometry.coordinate type annotation
v0.0.1
2026-01-26 · GitHub
Added
- Generate Geometry from SMILES
- Calculate Geometry center of mass