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

Unit tests for Bias and Umbrella, umbrella sampling over n windows #7

Merged
merged 9 commits into from
Dec 7, 2021

Conversation

tristan-j-wood
Copy link
Collaborator

@tristan-j-wood tristan-j-wood commented Dec 2, 2021

Tests the harmonic bias with image and grad functions. Tests umbrella sampling with n windows. Added warning if >1 configurations are identical in US. Umbrella sampling over n windows with bias potential. Fits a Gaussian and plots the data.

@tristan-j-wood tristan-j-wood changed the title Unit tests for bias.py and umbrella.py Unit tests for Bias and Umbrella, umbrella sampling over n windows Dec 2, 2021
@t-young31
Copy link
Member

t-young31 commented Dec 2, 2021

Needs a rebase, also, do we want to try and run GAP on CI? I can envision licencing problems..

Pushed one commit just to make the tests work on my laptop 👍

Run umbrella sampling simulations over n windows with a chosen bias. Fits Gaussians and plots data. Included updates to doc strings in bias.py
Tests the harmonic bias with image and grad functions. Tests umbrella sampling with n windows. Added warning if >1 configurations are identical in US
tristan-j-wood and others added 2 commits December 3, 2021 14:42
Updates on PR comments on umbrella, bias and tests for both
Copy link
Collaborator Author

@tristan-j-wood tristan-j-wood left a comment

Choose a reason for hiding this comment

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

This looks good overall. I think the separation of the gaussian functions and reference setting makes sense, as well as everything in a sampling class. The input of the function is slightly confusing to me so could be clearer what is expected from the user

@t-young31 t-young31 merged commit 3e1fea1 into duartegroup:main Dec 7, 2021
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.

2 participants