-
Notifications
You must be signed in to change notification settings - Fork 23
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
change in record level #385
Conversation
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.
Looks sensible thanks. Agree we need an extra test
[['A1', 'N-ter']], | ||
True | ||
True, | ||
None |
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.
@csbrasnett I don't understand what this test is doing?
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.
I'm about 95% certain it's meant to be testing this line, in that the meta_mol force field doesn't have any modifications present. I guess it's kinda redundant because the next test ends up actually testing the same behaviour too, I'm not quite sure why I thought it was important as well.
- -mods flag now only read once for all modifications - patch all molecule termini as proteins, so any modification in addition to these ones are also applied. - add more modifications from vermouth to martini3 forcefield - change logging level and fix tests as per marrink-lab#385
- -mods flag now only read once for all modifications - patch all molecule termini as proteins, so any modification in addition to these ones are also applied. - add more modifications from vermouth to martini3 forcefield - change logging level and fix tests as per marrink-lab#385
this has been resolved with #389 thanks to @csbrasnett going strong! |
this PR changes the record level regarding the modifications. It is a bit excessive that a warning is issued for the cases when we get expected default behavior.
@csbrasnett there is one broken test: In the last test the modification 'A1' is provided. It was tested to give a warning. However, the warning was an incorrect one. I think the A1 should actually raise an error or a different warning.
Besides that I think we are missing a warning for the case when a protein residue is given but no modifications.