Changelog¶
All notable changes to cage_isomer_builder. Versions follow
semantic versioning; while the version is below
1.0, any release can change the API.
0.1.4 - 2026-11-10¶
Added¶
- Vertex-label tables (
cage_isomer_builder.utils.vertex_table): every symmetry-unique isomer with its vertex name, environment labels, mirror labels and chirality, without building any structures. CageBuilder.vertex_table()for a built cage: the same isomers, in the same order, asenumerate_isomers()(orenumerate_rgroup_isomers()withgroupsorlinker_patterns).ideal_cage()for an ideal polyhedron: a named one (POLYHEDRA: tetrahedron, octahedron, cube, trigonal prism, square antiprism, cuboctahedron, icosahedron, dodecahedron) or any convex polyhedron given by its vertex coordinates, with phenylene, biphenyl or fumarate linkers (LINKERS) or any site offsets.VertexTable.label_counts(),environment_counts()andwrite()(tab-separated, optionally gzipped).- For cages too large to list:
count_isomers()andcount_environments()(exact, Burnside's lemma) andsample_labels()(label distribution from weighted random placements, with standard errors). cage-vertex-tablecommand for all of the above from the shell (--count,--environments,--sample,--groups,--linker,--linker-patterns,--xyz,--list).- Vertex codes for any number of groups per linker:
5when both sites next to a vertex carry a group, one character per depth on longer linkers (biphenyl), and a pair of group letters per depth for several kinds of group (AB.00.00-...). Newmirror_code(),VertexScheme.view()andVertexScheme.depths(). enumerate_rgroup_isomers(naming="vertex")names R-group isomer files by their vertex names. Whenever the cage has vertex codes, the files record both names, the environment labels and the vertex scheme.cage-vertex-nameconverts R-group isomer names (NH2-0-4_OH-1-5) as well as single-group ones.vertex_codes.site_name()andgeometry.fibonacci_sphere().write_rgroup_isomer_file()takesnameandinfo.- Documentation: vertex-label tables in the Build & enumerate guide, an
API page for
vertex_table, and how to run the tests.
Changed¶
VertexScheme.name()andcodes()accept two groups on one linker and{group: sites}isomers instead of raising an error. Isomer files written by 0.1.3 still read correctly.largest_window()and the docking rotation grid share one set of Fibonacci-sphere directions. Window estimates can differ slightly from 0.1.3 (the UiO-66 tetrahedral pore now reports 4.3 A instead of 4.1 A; the estimate depends on the number of directions sampled).pytestandmatplotlibare no longer installed with the package; they are in thedevdependency group.
Removed¶
cage_isomer_builder.cage.base.is_ase_atoms,file_to_smilesandmake_building_block_with_factory. Useisinstance(x, ase.Atoms),atoms_to_smiles(file_to_atoms(path))andstk.BuildingBlockdirectly.
Fixed¶
- Typo in the topology table:
Tri2²Tri2isTri2-2Tri2(Tri2_2Tri2CageBuilder).