Skip to content

Commit fa1212a

Browse files
authored
Merge pull request #106 from openforcefield/sage-2.2.0
Sage 2.2.0 full release
2 parents 7850c38 + 08ecab8 commit fa1212a

File tree

6 files changed

+822
-11
lines changed

6 files changed

+822
-11
lines changed

.github/workflows/canary.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Find if any OFFXML files were added
3131
shell: bash -l {0}
3232
run: |
33-
if [[ $(git diff origin/master HEAD --name-only | grep "\.offxml") ]]; then
33+
if [[ $(git diff origin/main HEAD --name-only | grep "\.offxml") ]]; then
3434
echo "new_off_xml=true" >> $GITHUB_ENV
3535
fi
3636
echo $GITHUB_ENV
@@ -69,4 +69,4 @@ jobs:
6969
if: ${{ env.new_off_xml == 'true' }}
7070
shell: bash -l {0}
7171
run: |
72-
git diff origin/master --name-only | grep "\.offxml" | python canary/scripts/test_hmr.py
72+
git diff origin/main --name-only | grep "\.offxml" | python canary/scripts/test_hmr.py

.zenodo.json

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,7 @@
33
{
44
"orcid": "0000-0002-7210-1164",
55
"affiliation": "Open Force Field Consortium, Open Molecular Software Foundation, Davis, CA, USA",
6-
"name": "McIsaac, Alexandra"
7-
},
8-
{
9-
"orcid": "0000-0002-6878-0192",
10-
"affiliation": "Open Force Field Consortium, Open Molecular Software Foundation, Davis, CA, USA",
11-
"name": "Westbrook, Brent"
6+
"name": "McIsaac, Alexandra R."
127
},
138
{
149
"orcid": "0000-0001-6583-2148",
@@ -35,6 +30,26 @@
3530
"affiliation": "Open Force Field Consortium, Open Molecular Software Foundation, Davis, CA, USA",
3631
"name": "Wang, Lily"
3732
},
33+
{
34+
"orcid": "0000-0002-6878-0192",
35+
"affiliation": "Open Force Field Consortium, Open Molecular Software Foundation, Davis, CA, USA",
36+
"name": "Westbrook, Brent R."
37+
},
38+
{
39+
"orcid": "0000-0002-1460-3983",
40+
"affiliation": "Open Force Field Consortium, Open Molecular Software Foundation, Davis, CA, USA",
41+
"name": "Thompson, Matthew W."
42+
},
43+
{
44+
"orcid": "0000-0002-2732-457X",
45+
"affiliation": "Pharmaceutical Sciences, University of California Irvine, Irvine, CA, USA",
46+
"name": "Osato, Meghan"
47+
},
48+
{
49+
"orcid": "0000-0002-1736-7744",
50+
"affiliation": "Open Free Energy, Open Molecular Software Foundation, Davis, CA, USA",
51+
"name": "Baumann, Hannah M."
52+
},
3853
{
3954
"orcid": "0000-0002-1697-2918",
4055
"affiliation": "Department of Chemistry, University of California Davis, Davis, CA, USA",

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ Details for each force field in this repository can be found in the following ta
2828

2929
| Filename | DOI | FF line | Release Date | Major format changes? |
3030
|---------------------------------------------|-----------------------------------------------------------------------------------------------------------|---------|---------------|-----------------------|
31+
| `openff-2.2.0.offxml` | | Sage | April 18, 2024 | No |
32+
| `openff_unconstrained-2.2.0.offxml` | | Sage | April 18, 2024 | No |
33+
| `openff-2.2.0-rc1.offxml` | | Sage | March 6, 2024 | No |
34+
| `openff_unconstrained-2.2.0-rc1.offxml` | | Sage | March 6, 2024 | No |
3135
| `openff-2.1.1.offxml` | [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.10553473.svg)](https://doi.org/10.5281/zenodo.10553473) | Sage | Jan 22, 2024 | No |
3236
| `openff_unconstrained-2.1.1.offxml` | [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.10553473.svg)](https://doi.org/10.5281/zenodo.10553473) | Sage | Jan 22, 2024 | No |
3337
| `tip5p-1.0.0.offxml` | see `docs/water-models.md` | Ports | Nov 6, 2023 | No |
@@ -167,6 +171,8 @@ Force fields moving forward will be called `name-X.Y.Z`
167171

168172
- `2024.03.0`: This release adds `openff-2.2.0-rc1.offxml` and `openff_unconstrained-2.2.0-rc1.offxml`, Sage 2.2.0 Release Candidate 1, which modifies some small ring internal angles and remedies issues with sulfamide geometries.
169173

174+
- `2024.04.0`: This release adds `openff-2.2.0.offxml` and `openff_unconstrained-2.2.0.offxml`, Sage 2.2.0, with identical parameters to `openff-2.2.0-rc1.offxml`.
175+
170176
#### Acknowledgements
171177

172178
Project based on the

canary/scripts/test_hmr.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from simtk import openmm, unit
88
from simtk.openmm import app
99

10-
DATA_PATH = importlib.resources.files("openforcefields") / "canary" / "data"
10+
DATA_PATH = importlib.resources.files("canary") / "data"
1111
coverage_mols = DATA_PATH / "coverage.smi"
1212
propyne_mols = DATA_PATH / "propynes.smi"
1313

@@ -58,10 +58,10 @@ def hmr_driver(mol, ff_name):
5858
collision_rate = 1.0 / unit.picoseconds
5959
timestep = 4.0 * unit.femtoseconds
6060

61-
integrator = openmm.LangevinIntegrator(temperature, collision_rate, timestep)
61+
integrator = openmm.LangevinMiddleIntegrator(temperature, collision_rate, timestep)
6262
context = openmm.Context(system, integrator)
6363
mol.generate_conformers(n_conformers=1)
64-
context.setPositions(mol.conformers[0])
64+
context.setPositions(mol.conformers[0].to_openmm())
6565

6666
# Run for 10 ps
6767
integrator.step(2500)
@@ -99,6 +99,7 @@ def hmr_driver(mol, ff_name):
9999
hmr_driver(mol, ff_name)
100100
except NANEnergyError:
101101
failed_runs.append([mol.to_smiles(), ff_name, "NaN energy"])
102+
102103
except Exception:
103104
# OpenMM's OpenMMException cannot be caught as it does not
104105
# inherit from BaseException; therefore this clause may

0 commit comments

Comments
 (0)