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
* API: Update default packing behavior
* FIX: Fix box scale-up test
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* FIX: Fix tests
* Lint
* DOC: Update packed box example
* API: Avoid changing private function default
* ENH: Use PBCs in Packmol wrappers
* DOC: Document behavior changes
* FIX: Try to be backwards-compatible with older Packmol
* FIX: Remove temporary code
* DOC: Update release history
* MAINT: Try a build without AmberTools?
* Revert "MAINT: Try a build without AmberTools?"
This reverts commit f16de82.
* MAINT: Debug
* Fix?
* FIX: Fix parsing output if no error
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* LINT
* REF: Only use Packmol PBCs with rectangular boxes
* Apply suggestion from @Yoshanuikabundi
Co-authored-by: Josh A. Mitchell <[email protected]>
* Apply suggestion from @Yoshanuikabundi
Co-authored-by: Josh A. Mitchell <[email protected]>
* Apply suggestion from @Yoshanuikabundi
Co-authored-by: Josh A. Mitchell <[email protected]>
* FIX: Fix double-uninstall
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* DOC: Update docstrings
* FIX: Simpler version parsing
* Apply suggestions from code review
Co-authored-by: Josh A. Mitchell <[email protected]>
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Josh A. Mitchell <[email protected]>
Copy file name to clipboardExpand all lines: docs/releasehistory.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,16 @@ Please note that all releases prior to a version 1.0.0 are considered pre-releas
33
33
34
34
## 0.4.8 - 2025-10-09
35
35
36
+
### Behavior changes
37
+
38
+
*#1332 Introduces the following behavior changes to the private Packmol wrappers:
39
+
* Packmol version 20.15.0 or newer is recommended.
40
+
* Periodic boundary conditions are accounted for when placing molecules if the box is orthorhombic and Packmol version 20.15.0 or newer is installed; this is the minimum version supporting this feature.
41
+
* This is functionally the same as the previous behavior, so no workaround is needed to recover it.
42
+
* The `tolerance` parameter is subtracted from computed box lengths when placing molecules if a Packmol version older than 20.15.0 is installed; this is the previous behavior.
43
+
* The `target_density` is used in box size calculations with modification; previously, box volumes were scaled up by a factor of 1.1.
44
+
* The previous behavior can be restored by passing scaling the `target_density` argument down by a factor of 1.1.
45
+
36
46
### Bug fixes
37
47
38
48
*#1340 Fixes JSON deserialization issues when charges come from `NAGLCharges` or `ChargeIncrementModel`.
Copy file name to clipboardExpand all lines: examples/packed_box/packed_box.ipynb
+23-13Lines changed: 23 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -107,14 +107,6 @@
107
107
"cell_type": "markdown",
108
108
"id": "9",
109
109
"metadata": {},
110
-
"source": [
111
-
"We can get the positions as an array from the PDB file object:"
112
-
]
113
-
},
114
-
{
115
-
"cell_type": "markdown",
116
-
"id": "10",
117
-
"metadata": {},
118
110
"source": [
119
111
"## Parametrize with Interchange\n",
120
112
"\n",
@@ -124,7 +116,7 @@
124
116
{
125
117
"cell_type": "code",
126
118
"execution_count": null,
127
-
"id": "11",
119
+
"id": "10",
128
120
"metadata": {},
129
121
"outputs": [],
130
122
"source": [
@@ -135,7 +127,7 @@
135
127
},
136
128
{
137
129
"cell_type": "markdown",
138
-
"id": "12",
130
+
"id": "11",
139
131
"metadata": {},
140
132
"source": [
141
133
"We can visualize it (though, since we can't see the stored physics parameters, it'll look the same):"
@@ -144,7 +136,7 @@
144
136
{
145
137
"cell_type": "code",
146
138
"execution_count": null,
147
-
"id": "13",
139
+
"id": "12",
148
140
"metadata": {},
149
141
"outputs": [],
150
142
"source": [
@@ -153,16 +145,34 @@
153
145
},
154
146
{
155
147
"cell_type": "markdown",
148
+
"id": "13",
149
+
"metadata": {},
150
+
"source": [
151
+
"Packmol places molecules at random positions in the box, satisfying geometric constraints but no thermodynamic considerations. The resulting configurations need to be subject to energy minimization and equilibration routines before being used in production simulations. A full equilibration routine is outside the scope of this example, but a brief energy minimization immediately after packing lessens the likelihood of unfavorable energetics or crashes."
152
+
]
153
+
},
154
+
{
155
+
"cell_type": "code",
156
+
"execution_count": null,
156
157
"id": "14",
157
158
"metadata": {},
159
+
"outputs": [],
160
+
"source": [
161
+
"interchange.minimize(max_iterations=1000)"
162
+
]
163
+
},
164
+
{
165
+
"cell_type": "markdown",
166
+
"id": "15",
167
+
"metadata": {},
158
168
"source": [
159
169
"And we can calculate and compare energies with different MD engines! (The LAMMPS exporter isn't optimized yet for large systems, so we're only looking at OpenMM, GROMACS, and Amber.)"
0 commit comments