-
Notifications
You must be signed in to change notification settings - Fork 75
Fix vsite fits #315
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
Merged
Merged
Fix vsite fits #315
Changes from 66 commits
Commits
Show all changes
77 commits
Select commit
Hold shift + click to select a range
d901d44
update smirnoff for vsites
lilyminium 38b5d02
add tests
lilyminium 6977614
add tests
lilyminium 9abc5b4
this has to move in lockstep with evaluator
lilyminium f210213
undo py313
lilyminium 1a8db42
pin pint
lilyminium f84cf66
oops use right branch
lilyminium c0fcaa4
add evaluator to env for dependencies
lilyminium bc464d3
Revert "add evaluator to env for dependencies"
lilyminium 276aa2e
install package higher to trigger error earlier
lilyminium 040c763
add evaluator dependencies
lilyminium 99f616b
widen tolerance of evaluator test and wait for server
lilyminium 1c34afa
undo fancy wait method
lilyminium b8c2d35
try pinning dask
lilyminium bdff323
temporarily remove gmx and other tests to iterate faster
lilyminium 7057664
Revert "temporarily remove gmx and other tests to iterate faster"
lilyminium 5b648aa
get stdout output
lilyminium 94a5ab2
don't use context manager
lilyminium 2f1f4ab
Reapply "temporarily remove gmx and other tests to iterate faster"
lilyminium 0d527b4
monitor server and change port
lilyminium 9abf676
fix port
lilyminium c324a8b
only run this one test
lilyminium c054c25
give up on evaluator bromine test
lilyminium 8de0b00
Revert "fix port"
lilyminium c947c34
Revert "monitor server and change port"
lilyminium 3d769c8
Revert "don't use context manager"
lilyminium ba27332
Revert "get stdout output"
lilyminium 23dc054
expand pythons
lilyminium c3595f2
ignore files from running tests locally
lilyminium b794c1b
try making evaluator test more robust
lilyminium ba45a74
add diagnostic log
lilyminium 5db7e84
more diagnostics
lilyminium d7c3f42
pin setuptools if py<3.11
lilyminium b5feb5e
fix evaluator test: bypass _Multiprocessor fork-safety deadlock
lilyminium 000b73f
use spawn
lilyminium 8fe3107
more diagnostics
lilyminium a582e7a
fix path
lilyminium ab34285
update evaluator version
lilyminium f174c38
work around ambertools not being available on python 3.9
lilyminium ed807d9
oops, use micromamba
lilyminium 689f59d
remove ambertools
lilyminium f2156b7
add rdkit
lilyminium 9bfd725
pin below 2025.09?
lilyminium d95bcb7
give up; separate env files
lilyminium 44db401
this has to move in lockstep with evaluator
lilyminium ed76618
widen tolerance of evaluator test and wait for server
lilyminium cb95c39
undo fancy wait method
lilyminium 34daa23
monitor server and change port
lilyminium db21dc9
fix port
lilyminium 45b8e45
Revert "fix port"
lilyminium 471b403
Revert "monitor server and change port"
lilyminium ed5840b
draft new test
lilyminium c79515a
fix parameter eval
lilyminium 02ccda0
update import
lilyminium e70857c
add initial test files
lilyminium 606534c
add more test files
lilyminium 2e57aba
add targets
lilyminium 8c1d0e1
update python env files
lilyminium b8b6086
undo perturbation experiment
lilyminium 7d56b3e
add pickle fix
lilyminium b74a0a6
update test with Liquid
lilyminium 751443d
use interchange env with fixed vsites
lilyminium 3ddee47
test with nagl
lilyminium 083d81f
try shorten liquid tests more
lilyminium 167b67d
try to make fit smaller
lilyminium 0e9a701
tidy tests a bit
lilyminium 12309cd
more tidying
lilyminium 36c3ba0
update script to be accurate
lilyminium a770175
fix teardown
lilyminium 9ac70c8
fix wq blocking
lilyminium c991c2a
Merge branch 'master' into fix-vsite-fits
lilyminium 8b19797
compress targets
lilyminium def6686
update branch to released version
lilyminium 0c637fd
update compression and ci
lilyminium a0937d9
add gmx back
lilyminium 913a63d
no gmx v4 or v5
lilyminium 536146b
make ci steps clearer
lilyminium File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| name: forcebalance-test | ||
| channels: | ||
| - conda-forge | ||
| - openeye | ||
| dependencies: | ||
| # Base depends | ||
| - python | ||
| - pip | ||
| # Testing | ||
| - pytest | ||
| - pytest-cov | ||
| - codecov | ||
| - numpy | ||
| - scipy | ||
| - lxml | ||
| - networkx | ||
| - zlib | ||
| - swig | ||
| - future | ||
| - pymbar =3 | ||
| - openmm >= 8 | ||
| # ambertools has no Python 3.9 builds on conda-forge | ||
| - ndcctools | ||
| - geometric | ||
| # - gromacs =2019.1 | ||
| # openff packages require Python >= 3.11; tests are skipped on 3.9 and 3.10 | ||
| # - openff-toolkit-base | ||
| # - openff-evaluator-base | ||
| # - openff-recharge | ||
| # - openeye-toolkits (Don't have a license file to use with GH Actions.) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -747,7 +747,7 @@ def addff_xml(self, ffname): | |
| res = re.search(r'^[-+]?[0-9]*\.?[0-9]*([eEdD][-+]?[0-9]+)?', quantity_str) | ||
| value_str, unit_str = quantity_str[:res.end()], quantity_str[res.end():] | ||
| # LPW 2023-01-23: Behavior of parameter unit string for "evaluated" parameter is undefined. | ||
| unit_str = "" | ||
| # unit_str = "" | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixes parameter_eval |
||
| quantity_str = e.get(parameter_name) | ||
| self.offxml_unit_strs[dest] = unit_str | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -270,6 +270,11 @@ def GetVirtualSiteParameters(system): | |
| vsprm.append(_openmm.OutOfPlaneSite_getWeight12(vs)) | ||
| vsprm.append(_openmm.OutOfPlaneSite_getWeight13(vs)) | ||
| vsprm.append(_openmm.OutOfPlaneSite_getWeightCross(vs)) | ||
| elif vstype == 'LocalCoordinatesSite': | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OpenFF vsites are convereted to localcoordinatesites |
||
| vsprm.extend(_openmm.LocalCoordinatesSite_getOriginWeights(vs)) | ||
| vsprm.extend(_openmm.LocalCoordinatesSite_getXWeights(vs)) | ||
| vsprm.extend(_openmm.LocalCoordinatesSite_getYWeights(vs)) | ||
| vsprm.extend(_openmm.LocalCoordinatesSite_getLocalPosition(vs)) | ||
| return np.array(vsprm) | ||
|
|
||
| def GetDrudeParameters(system): | ||
|
|
||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We will aim to get this merged and into a release ASAP, but this branch needed to be developed in tandem with the Evaluator one for testing to work (hence the same name)