-
Notifications
You must be signed in to change notification settings - Fork 1
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
HTF migration #24
HTF migration #24
Conversation
This is still in a very WIP status. I plan to work on this in the following days. Currently I created a Currently I copied/pasted the |
Htf migration openfe patches
perses version hasn't been touched since April '22
and modernise to pytest
port openfe version of LambdaProtocol into feflow
Temporarily we will be relying on I tried organizing/modularizing things a bit, but not sure if this is what we want. I'm imagining this as having one module for more integration/science tests in For now the |
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.
Very first glance - I believe we're missing the tests for the virtual sites?
|
||
sys_gen_config = {} | ||
sys_gen_config["forcefields"] = ["amber/ff14SB.xml", | ||
"amber/tip3p_standard.xml", |
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.
the best place to deal with environment virtual sites is here - I can probably spend the hour tomorrow porting over a set of tests that will deal with this (it's mostly atom counting and ensuring coordinates & particle properties are set properly).
raise ValueError(errmsg) | ||
else: | ||
virtual_site = self._old_system.getVirtualSite( | ||
particle_idx) |
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.
Just a random thought - if you like autoformatters @ijpulidos, now might be a good time to pass this file through black
or similar.
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.
This is whatever my IDE uses (I think it's not black
), but you are right, maybe we should set up a pre-commit hooks bot here for formatting the code. Hopefully one that doesn't get in the way so much, I'll try setting that up.
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.
Couple more things, omm topology is kinda new / fixed and probably needs at least a smoke test, and we should maybe add the one or two more tests for lambda protocol.
I can add those to my todo list tomorrow morning.
* Vsites tests * temporarily try to get CI working * Add lambda schedule tests * add basic tests for mdt and omm topology attributes * try to fix scope issues * more scope limiting * fix lambda_schedule check * missing self entry * make gufe_data_dir session scoped * fix to_openmm calls * Add gitignore and fix tests * Update ci.yaml
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.
lgtm!
Changes to adopt the
HybridTopologyFactory
class/object fromopenfe
.The idea is migrating the class and also adapt it to meet the work from Fleck et alThese changes are a starting point where we can test our implementation of HTF, at least minimally to what perses was testing, and gradually improving upon that.