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

change in record level #385

Closed
wants to merge 1 commit into from
Closed

change in record level #385

wants to merge 1 commit into from

Conversation

fgrunewald
Copy link
Member

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.

Copy link
Collaborator

@csbrasnett csbrasnett left a 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

Comment on lines 150 to +152
[['A1', 'N-ter']],
True
True,
None
Copy link
Member Author

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?

Copy link
Collaborator

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.

https://github.com/marrink-lab/polyply_1.0/pull/385/files#diff-8eedddf55f9448422f33f35d28b9802477875269f38ab760b26e9c38600ee6bbL63

csbrasnett added a commit to csbrasnett/polyply_1.0 that referenced this pull request Oct 8, 2024
- -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
csbrasnett added a commit to csbrasnett/polyply_1.0 that referenced this pull request Oct 8, 2024
- -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
@fgrunewald
Copy link
Member Author

this has been resolved with #389 thanks to @csbrasnett going strong!

@fgrunewald fgrunewald closed this Oct 15, 2024
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