Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enforce charges generated by input conformer #587

Merged
merged 1 commit into from Oct 27, 2023

Conversation

IAlibay
Copy link
Contributor

@IAlibay IAlibay commented Oct 26, 2023

I guess that should do it?

Waiting on tests to see if that fixes things.

Developers certificate of origin

@@ -561,17 +561,13 @@ def run(self, *, dry=False, verbose=True,
for smc, mol in chain(off_small_mols['stateA'],
off_small_mols['stateB'],
off_small_mols['both']):
# robustly calculate partial charges;
if mol.partial_charges is not None and np.any(mol.partial_charges):
Copy link
Contributor Author

Choose a reason for hiding this comment

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

surprised that didn't cause issues

@codecov
Copy link

codecov bot commented Oct 26, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (f19ea3c) 92.08% compared to head (2ad7157) 92.07%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #587      +/-   ##
==========================================
- Coverage   92.08%   92.07%   -0.01%     
==========================================
  Files         123      123              
  Lines        8196     8189       -7     
==========================================
- Hits         7547     7540       -7     
  Misses        649      649              
Files Coverage Δ
openfe/protocols/openmm_afe/base.py 94.73% <100.00%> (-0.09%) ⬇️
openfe/protocols/openmm_rfe/equil_rfe_methods.py 93.39% <100.00%> (-0.12%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@richardjgowers richardjgowers left a comment

Choose a reason for hiding this comment

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

To clarify, this is changing behaviour so that partial charges are, for now, always generated off the initial conformer?

@IAlibay
Copy link
Contributor Author

IAlibay commented Oct 27, 2023

To clarify, this is changing behaviour so that partial charges are, for now, always generated off the initial conformer?

Yes - unless folks are passing user generated charges.

@richardjgowers richardjgowers merged commit 844d5de into main Oct 27, 2023
9 checks passed
@richardjgowers richardjgowers deleted the enfore-charge-conf branch October 27, 2023 08:49
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.

None yet

2 participants