-
Notifications
You must be signed in to change notification settings - Fork 86
Allow for any barostat in SystemGenerator #414
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
Conversation
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #414 +/- ##
==========================================
+ Coverage 84.14% 84.17% +0.02%
==========================================
Files 5 5
Lines 776 771 -5
==========================================
- Hits 653 649 -4
+ Misses 123 122 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Sorry this was sitting here for a bit; I forgot someone needed to press a button to actually make the CI run. This looks good to me provided the tests are passing. Is it ready or still WIP? |
|
I think we should have at least one test: one that takes in a barostat (ideally of a different type than the default) and make sure that it comes out as expected |
|
Good point; I saw we already have a test here
but it only tests the standard |
|
Thanks! I added the |
|
Looks alright to me, although I haven't worked a lot on |
|
I don't use |
As described in this issue (#413) SystemGenerator currently only supports the MonteCarloBarostat.
Here, instead of re-creating the barostat in _modify_forces, the barostat is copied, however, there may be reasons why it was necessary to re-create the barostat?