19 Commits

Author SHA1 Message Date
Alyssa Travitz
588f552ca9 add ruff isort linting rule (#1665)
* isort for docs and utils

* isort for top-level openfe, analysis, setup

* isort setup/

* isort storage/

* isort protocols

* isort openn_afe

* isort openmm_rfe

* isort all protocols

* apply isort to openfe/tests

* apply isort to openfecli

* apply isort to devtools/

* add TODO for setup init
2025-11-10 21:58:30 +00:00
Alyssa Travitz
3a08b6809f Ci/add ruff format to openfe protocols (#1604)
* add more checks

* make precommit manual

* apply formatting to pyproject.toml

* add TODO

* remove unneeded, add a few more

* add ruff, but turn everything off

* add openfe known first party

* format highest-level files

* first half of openfe protocols

* second half of openfe protocols

* openfe protocols formatting, with alyssa's fmt skips

* add ruff formatter to precommit

* fmt: off all vendored _rfe_utils code

* addressing review comments
2025-10-22 16:04:13 -07:00
Irfan Alibay
66d14f61bc ABFE protocol (#1045)
Add an Absolute Binding Free Energy Protocol to openfe.

Key features & limitations:
* Automatic Boresch restraint assignment.
* Does not handle net charge corrections yet.

---------

Co-authored-by: Irfan Alibay <IAlibay@users.noreply.github.com>
Co-authored-by: hannahbaumann <hbaumann@uci.edu>
Co-authored-by: Hannah Baumann <43765638+hannahbaumann@users.noreply.github.com>
2025-10-21 11:45:37 +01:00
Irfan Alibay
6581c95423 Disable user supplied host & guest atoms in restraint settings (#1557)
* Disable user supplied host & guest atoms in restraint settings

* disable validator

* Fix some tests

* Store selection indices

* Add partial test

* Update serialized results

* try to make mypy happy

* Update equil_septop_method.py
2025-10-09 15:20:17 +01:00
Hannah Baumann
fb6ac950da Add SepTop to gen serialized results (#1560)
* Add SepTop in gen serialized results
2025-10-09 09:37:57 +01:00
Richard Gowers
0a64694fa5 Update fetch results (#779)
* update rbfe_results.tar.gz for new settings schema

* re-enable test_gather tests

* devscript for updating rbfe_results.tar.gz

* cli: gather: rework raw gather to work off protocol_result dict

this allows us to later deduplicate and remove the unit_results key from results dicts

* cli: gather: update expected gather results

current raw results are only one replicate, should probably have multiple repeats to test raw output

* cli: gather: use \t escape code in gather raw test

could instead normalise the whitespace to be more permissive...

* Apply suggestions from code review

Co-authored-by: Mike Henry <11765982+mikemhenry@users.noreply.github.com>

* rerun ci

---------

Co-authored-by: Mike Henry <11765982+mikemhenry@users.noreply.github.com>
2024-03-26 19:08:02 -07:00
richard gowers
7cd609332f devtools: add script to update Settings in data files 2024-02-19 21:30:32 +00:00
hannahbaumann
f26ae6290e merge conflicts 2024-02-14 11:15:41 +01:00
IAlibay
e7edc5ffdc Revert "Revert "temporary halfway point as we fix checkpointing""
This reverts commit 5774daede6.
2024-02-11 12:53:58 +00:00
IAlibay
5774daede6 Revert "temporary halfway point as we fix checkpointing"
This reverts commit 61732ae928.
2024-02-11 12:02:30 +00:00
IAlibay
61732ae928 temporary halfway point as we fix checkpointing 2024-02-10 20:39:24 +00:00
IAlibay
1b455cb410 fix devtools partial charge assignment variation 2024-02-10 00:43:11 +00:00
IAlibay
8b7d34079d Fix devtools for #666 changes 2024-02-08 12:05:50 +00:00
IAlibay
7e268de85c Regenerate results JSON files 2024-02-08 12:05:02 +00:00
richard gowers
cc3e22e9d8 revert changes to gen-serialized-results.py 2024-02-06 00:10:04 +00:00
richard gowers
03c4a1707c shorten AHFE time in dev scripts 2024-02-05 16:52:15 +00:00
richard gowers
55981bb288 document dev scripts for generating jsons 2024-02-05 10:20:01 +00:00
hannahbaumann
a82a679a2a adapt gen-serialized-results for new LambdaSettings 2024-01-31 11:55:40 +01:00
Irfan Alibay
cfcc924de8 Add devtools for json results generation + replace old ones (#691)
* Add devtools for json results generation + replace old ones

* remove extra gzip files
2024-01-29 10:37:03 +00:00