Skip to content

Plan rbfe#95

Merged
jaclark5 merged 81 commits intomainfrom
plan_rbfe
Feb 10, 2026
Merged

Plan rbfe#95
jaclark5 merged 81 commits intomainfrom
plan_rbfe

Conversation

@jaclark5
Copy link
Collaborator

@jaclark5 jaclark5 commented Jan 29, 2026

Close #89
Close #54

  • Make initial draft of BenchmarkSystem and derived class RBFEBenchmarkSystem
  • Make an example notebook to illustrate it's use and how to apply a custom network or partial charges that aren't currently represented in openfe_benchmarks.data
  • Resolve use of adaptive settings

Please feel free to be nitpicky about naming and terminology.

@jaclark5 jaclark5 linked an issue Feb 5, 2026 that may be closed by this pull request
benchmark_sys.ligands[PARTIAL_CHARGE], return_dict=False
)

# apply new partial charges
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably left over from example in meeting?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes but I thought it would be good to leave for a future OpenFF person

Copy link
Member

@IAlibay IAlibay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Base on our meeting today, this seems fine. I did have the one question re: the pytest helper function, but it's fully up to you.

# __________________________ Pytest Validation Function ________________________________


def validate_rbfe_network(script_dir, config):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is something that came from Josh's review?
Just checking that this makes sense for you - i.e. it's not confusing to folks that might look at this example file.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It did come from Josh's review. I do like it because it's a check to make sure you have what you think you have. At OpenFF we decided to keep it, but have main call validation, I'll be making these changes shortly.

BENCHMARK_SET = "mcs_docking_set"
BENCHMARK_SYS = "hne"
PARTIAL_CHARGE = "nagl_openff-gnn-am1bcc-1.0.0.pt" # for the ligand and cofactors
FORCEFIELD = "openff-2.3.0" # available in openff-forcefields
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the comment referring to openff-forcefields, or openmmforcefields (where one can find all the supported forcefields)?

Copy link
Contributor

@hannahbaumann hannahbaumann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @jaclark5 , LGTM, just the two small comments.

Base automatically changed from data_factory to main February 6, 2026 15:13
@jaclark5 jaclark5 merged commit 1ceff01 into main Feb 10, 2026
6 checks passed
@jaclark5 jaclark5 deleted the plan_rbfe branch February 10, 2026 16:00
jaclark5 added a commit that referenced this pull request Feb 10, 2026
* Simple plan_rbfe
* Add example script testing
* pin gufe

Co-authored-by: Hannah Baumann <43765638+hannahbaumann@users.noreply.github.com>

* Update plan_rbfe script to include validation without pytest complexity

---------

Co-authored-by: jaclark5 <jennifer.clark@openforcefield.org>
Co-authored-by: Hannah Baumann <43765638+hannahbaumann@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create initial plan_rbfe_network python script scripts (NTH): CI to test scripts

4 participants