You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/releasehistory.md
+32-6Lines changed: 32 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,24 +13,50 @@ Please note that all releases prior to a version 1.0.0 are considered pre-releas
13
13
14
14
## Current development
15
15
16
-
*#1051 Updates `to_openmm_topology` to place virtual sites at the end, matching the behavior of `to_openmm_system`. The old behavior (collating within molecules) is available with `collate=True`.
17
-
18
16
## 0.4.0 - 2024
19
17
20
-
* Pydantic v2 is now used at runtime. As a consequence, models containing `Interchange`s cannot also use models from the v1 API.
18
+
### Breaking changes and behavior changes
19
+
20
+
* Pydantic v2 is now used at runtime:
21
+
* V2 must be installed, but other packages may use the `pydantic.v1` backdoor to access the v1 API.
22
+
* Models containing `Interchange`s cannot also use models from the v1 API.
21
23
*`Interchange.to_gromacs` and similar methods now raise an error if no box is defined.
22
24
* Previously, this was a warning.
23
25
* GROMACS dropped support for (proper) vacuum simulations in version 2020 and there are no immediate plans to re-introduce it.
24
26
* Users freqently approximate vacuum simulation with periodic boundary conditions by applying a large box. This has some performance issues and some non-bonded terms likely differ numerically compared to similar implementations in other engines.
27
+
* The `topology` attribute of the `Interchange` class is now required.
25
28
* The wrapped use of external readers and writers is removed, and with it arguments like `writer` in many `Interchange.to_x` calls.
26
29
* Several classes and methods which were deprecated in the 0.3 line of releases are now removed.
27
30
* Previously-deprecated examples are removed.
28
31
*`ProperTorsionKey` no longer accepts an empty tuple as atom indices.
29
-
* Default densities for Packmol wrapper functions have been lowered to 0.9 g/cc and 0.6 g/cc for water and non-water solvent, respectively.
30
-
* Argument `mass_density` to some packing functions has been renamed to `target_density` for consistency and to better reflect its usage.
31
-
* Topologies returned by packing functions have boxes scaled up by 10% in linear dimensions compared to the size implied by the target density.
32
+
* Packing functions have been overhauled:
33
+
* Argument `mass_density` to some packing functions has been renamed to `target_density` for consistency and to better reflect its usage.
34
+
* Default densities for Packmol wrapper functions using water as the primary solvent have been lowered to 0.9 g/cc.
35
+
*`target_density` is now a required argument to `solvate_topology_nonwater`.
36
+
* Topologies returned by packing functions have boxes scaled up by 10% in linear dimensions compared to the size implied by the target density.
37
+
* PACKMOL failures are now better reported to the user.
32
38
* An error is now raised when HMR would result in an OpenMM particle (aside from virtual sites) having negative (or zero) mass.
39
+
*`to_openmm_topology` now adds virtual sites to the end of the topology by default, matching the ordering of particles in `to_openmm_system`. Previous atom ordering can be forced with `collate=True`.
40
+
41
+
### Documentation improvements
42
+
43
+
* Documented that existing charges on input topologies are ignored.
44
+
* Adds an example of basic Amber usage.
45
+
46
+
### New features
47
+
48
+
*`hydrogen_mass` and `ewald_tolerance` are now arguments to `to_openmm_simulation`, passed on to `to_openmm_system`.
49
+
* Adds `Interchange.get_positions`, which includes positions of virtual sites by default.
50
+
* Adds `Interchange.to_amber`, which writes the parameter/topology, coordinate, and (`sander`) run/input files.
51
+
* Improves handling of residue metadata to OpenMM with virtual sites.
52
+
* Collections can now be indexed using tuples of atom indices.
0 commit comments