Skip to content

Commit 545fd33

Browse files
committed
Merge remote-tracking branch 'origin/main' into test/pymbar-with-numba
2 parents d26adc3 + ad07917 commit 545fd33

File tree

355 files changed

+8843
-5954
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

355 files changed

+8843
-5954
lines changed

.github/pull_request_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ see https://regro.github.io/rever-docs/news.html for details on how to add news
1414
Checklist
1515
* [ ] All new code is appropriately documented (user-facing code _must_ have complete docstrings).
1616
* [ ] Added a ``news`` entry, or the changes are not user-facing.
17-
* [ ] Ran pre-commit by making a comment with `pre-commit.ci autofix` before requesting review.
17+
* [ ] Ran pre-commit: you can run [pre-commit](https://pre-commit.com) locally or comment on this PR with `pre-commit.ci autofix`.
1818

1919
Manual Tests: these are slow so don't need to be run every commit, only before merging and when relevant changes are made (generally at reviewer-discretion).
2020
* [ ] [GPU integration tests](https://github.com/OpenFreeEnergy/openfe/actions/workflows/gpu-integration-tests.yaml)

.github/workflows/ci.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
strategy:
3636
fail-fast: false
3737
matrix:
38-
os: ["ubuntu-latest", "macos-latest"]
38+
os: ["ubuntu-latest"]
3939
openeye: ["no"]
4040
python-version:
4141
- "3.11"
@@ -45,6 +45,9 @@ jobs:
4545
- os: "ubuntu-latest"
4646
python-version: "3.13"
4747
openeye: "yes"
48+
- os: "macos-latest"
49+
python-version: "3.12"
50+
openeye: "no"
4851

4952
env:
5053
OE_LICENSE: ${{ github.workspace }}/oe_license.txt

.github/workflows/conda_cron.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,15 @@ jobs:
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
os: ['ubuntu-latest', 'macos-latest']
23+
os: ['ubuntu-latest']
2424
python-version:
2525
- "3.11"
2626
- "3.12"
2727
- "3.13"
28+
include:
29+
- os: "macos-latest"
30+
python-version: "3.12"
31+
openeye: "no"
2832
steps:
2933
- name: Checkout Code
3034
uses: actions/checkout@v4

.github/workflows/cpu-long-tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
DUECREDIT_ENABLE: 'yes'
9393
OFE_INTEGRATION_TESTS: FALSE
9494
run: |
95-
pytest -n logical -vv --durations=10 --runslow openfecli/tests/ openfe/tests/
95+
pytest -n logical -vv --durations=10 --runslow src/openfecli/tests/ src/openfe/tests/
9696
9797
stop-aws-runner:
9898
runs-on: ubuntu-latest

.github/workflows/gpu-integration-tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
OFE_INTEGRATION_TESTS: TRUE
9797
run: |
9898
# The -m flag will only run tests with @pytest.mark.integration
99-
pytest -n logical -vv --durations=10 -m integration openfecli/tests/ openfe/tests/
99+
pytest -n logical -vv --durations=10 -m integration src/openfecli/tests/ src/openfe/tests/
100100
101101
stop-aws-runner:
102102
runs-on: ubuntu-latest

.github/workflows/test-example-notebooks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ defaults:
1212
shell: bash -leo pipefail {0}
1313

1414
jobs:
15-
test-conda-build:
15+
test-example-notebooks:
1616
runs-on: ubuntu-latest
1717

1818
steps:

.pre-commit-config.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ repos:
1010
rev: v6.0.0
1111
hooks:
1212
- id: check-added-large-files
13+
args: ["--maxkb=900"]
1314
- id: check-case-conflict
1415
- id: check-executables-have-shebangs
1516
- id: check-symlinks
@@ -19,12 +20,12 @@ repos:
1920
- id: debug-statements
2021

2122
- repo: https://github.com/tox-dev/pyproject-fmt
22-
rev: "v2.8.0"
23+
rev: "v2.11.1"
2324
hooks:
2425
- id: pyproject-fmt
2526

2627
- repo: https://github.com/astral-sh/ruff-pre-commit
27-
rev: v0.13.3
28+
rev: v0.14.10
2829
hooks:
2930
# Run the linter.
3031
- id: ruff

MANIFEST.in

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
recursive-include openfe/tests/data/ *.sdf
2-
recursive-include openfe/tests/data/ *.bz2
3-
recursive-include openfe/tests/data/ *.csv
4-
recursive-include openfe/tests/data/ *.pdb
5-
recursive-include openfe/tests/data/ *.mol2
6-
recursive-include openfe/tests/data/ *.xml
7-
recursive-include openfe/tests/data/ *.graphml
8-
recursive-include openfe/tests/data/ *.edge
9-
recursive-include openfe/tests/data/ *.dat
10-
recursive-include openfe/tests/data/ *.txt
11-
recursive-include openfe/tests/data/ *.gz
12-
recursive-include openfe/tests/data/ *json_results.gz
13-
include openfecli/tests/data/*.json
14-
include openfecli/tests/data/*.tar.gz
15-
include openfecli/tests/commands/test_gather/*.tsv
16-
recursive-include openfecli/tests/ *.sdf
17-
recursive-include openfecli/tests/ *.pdb
18-
include openfe/tests/data/openmm_rfe/vacuum_nocoord.nc
1+
recursive-include src/openfe/tests/data/ *.sdf
2+
recursive-include src/openfe/tests/data/ *.bz2
3+
recursive-include src/openfe/tests/data/ *.csv
4+
recursive-include src/openfe/tests/data/ *.pdb
5+
recursive-include src/openfe/tests/data/ *.mol2
6+
recursive-include src/openfe/tests/data/ *.xml
7+
recursive-include src/openfe/tests/data/ *.graphml
8+
recursive-include src/openfe/tests/data/ *.edge
9+
recursive-include src/openfe/tests/data/ *.dat
10+
recursive-include src/openfe/tests/data/ *.txt
11+
recursive-include src/openfe/tests/data/ *.gz
12+
recursive-include src/openfe/tests/data/ *json_results.gz
13+
include src/openfecli/tests/data/*.json
14+
include src/openfecli/tests/data/*.tar.gz
15+
include src/openfecli/tests/commands/test_gather/*.tsv
16+
recursive-include src/openfecli/tests/ *.sdf
17+
recursive-include src/openfecli/tests/ *.pdb
18+
include src/openfe/tests/data/openmm_rfe/vacuum_nocoord.nc

docs/CHANGELOG.rst

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,55 @@ Changelog
44

55
.. current developments
66
7+
8+
9+
10+
v1.9.0
11+
====================
12+
13+
**Added:**
14+
15+
* The ``validate`` method for the RelativeHybridTopologyProtocol has been implemented.
16+
This means that settings and system validation can mostly be done prior to Protocol execution by calling ``RelativeHybridTopologyProtocol.validate(stateA, stateB, mapping)`` (`PR 1740 <https://github.com/OpenFreeEnergy/openfe/pull/1740>`_).
17+
18+
* Added ``openfe test --download-only`` flag, which downloads all test data stored remotely to the local cache (`PR 1814 <https://github.com/OpenFreeEnergy/openfe/pull/1814>`_).
19+
20+
**Changed:**
21+
22+
* The absolute free energy protocols (AbsoluteBindingProtocol and AbsoluteSolvationProtocol) have been broken into multiple
23+
protocol units, allowing for setup, run, and analysis to happen
24+
separately in the future when relevant changes to protocol execution are
25+
made (`PR 1776 <https://github.com/OpenFreeEnergy/openfe/pull/1776>`_).
26+
* The relative free energy protocol (RelativeHybridTopologyProtocol) has been
27+
broken into multiple protocol units, allowing for the setup, run, analysis to happen
28+
separately (`PR 1773 <https://github.com/OpenFreeEnergy/openfe/pull/1773>`_).
29+
30+
**Fixed:**
31+
32+
* Fixed bug in ligand network visualization (such as with ``openfe view-ligand-network``) so that ligand names are no longer cut off by the plot border (`PR 1822 <https://github.com/OpenFreeEnergy/openfe/pull/1822>`_).
33+
* Endstates in the RelativeHybridTopologyProtocol are now being created
34+
in a manner that allows for isomorphic molecules that differ between
35+
endstates to have different parameters (`PR 1772 <https://github.com/OpenFreeEnergy/openfe/pull/1772>`_).
36+
37+
38+
39+
v1.8.1
40+
====================
41+
42+
**Added:**
43+
44+
* Added a progress bar for ``openfe gather`` JSON loading (`PR #1786 <https://github.com/OpenFreeEnergy/openfe/pull/1786>`_).
45+
46+
**Fixed:**
47+
48+
* Due to issues with OpenFF's handling of toolkit registries
49+
with NAGL, the use of NAGL models (e.g. AshGC) when OpenEye
50+
is installed but not requested as the charge backend has been
51+
disabled (Issue #1760, `PR #1762 <https://github.com/OpenFreeEnergy/openfe/pull/1762>`_).
52+
* Fixed bug in ligand network visualization (such as with ``openfe view-ligand-network``) so that ligand names are no longer cut off by the plot border (`PR #1822 <https://github.com/OpenFreeEnergy/openfe/pull/1822>`_).
53+
54+
55+
756
v1.8.0
857
====================
958

@@ -14,6 +63,7 @@ v1.8.0
1463
* Added experimental features ``openfe gather-septop`` and ``openfe gather-abfe``, which are analogous to ``openfe gather`` and allow for gathering results generated by the Separated Topologies and Absolute Binding Free Energy protocols, respectively. These commands are experimental and are liable to be changed in a future release.
1564
* Emit a clarifying log message when a user gets a warning from JAX (`PR #1585 <https://github.com/OpenFreeEnergy/openfe/pull/1585>`_, fixes `Issue #1499 <https://github.com/OpenFreeEnergy/openfe/issues/1499>`_).
1665
* Disable JAX acceleration by default, see https://docs.openfree.energy/en/latest/guide/troubleshooting.html#pymbar-disable-jax for more information (`PR #1694 <https://github.com/OpenFreeEnergy/openfe/pull/1692>`_).
66+
* New options have been added to the ``AlchemicalSettings`` of the ``SepTopProtocol``, ``AbsoluteSolvationProtocol`` and ``AbsoluteBindingProtocol``. Notably, these options allow users to control the softcore parameters as well as the use of long range dispersion corrections (`PR #1742 <https://github.com/OpenFreeEnergy/openfe/pull/1742>`_).
1767

1868
**Changed:**
1969

docs/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@
103103

104104
autodoc_mock_imports = [
105105
"cinnabar",
106+
"dill",
106107
"MDAnalysis",
107108
"matplotlib",
108109
"mdtraj",
@@ -192,7 +193,7 @@
192193
else:
193194
repo = git.Repo.clone_from(
194195
"https://github.com/OpenFreeEnergy/ExampleNotebooks.git",
195-
branch="2025.12.04",
196+
branch="2026.01.26",
196197
to_path=example_notebooks_path,
197198
)
198199
except Exception as e:

0 commit comments

Comments
 (0)