Merged
Conversation
chryswoods
approved these changes
Nov 7, 2023
Contributor
chryswoods
left a comment
There was a problem hiding this comment.
That is a surprising API - I would have expected compare to return a bool too.
|
@chryswoods Do you mind back port this into the main as well, please? Thank you. |
Contributor
|
Yes - although I will delegate ;-) @lohedges - do you have time to do this tomorrow? I'm at a meeting in London all day. |
Contributor
Author
|
Yes, no problem. |
Contributor
|
Thanks :-) |
lohedges
added a commit
that referenced
this pull request
Nov 9, 2023
Contributor
Author
|
This is now backported into |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR closes #122 by fixing the use of
QString::comparewhen comparing molecular properties. We added a new (as yet unused)is_non_searchable_waterproperty to allow a user to preserve water topologies, e.g. by excluding them from a search. However, I don't want to keep this property when swapping topology, so don't copy it to the new water template. I was incorrectly usingQString::comparesince I hadn't realised that it returned anint, not abool. The return value is zero only when the strings match.This will be tested via BioSimSpace.
develinto this branch before issuing this pull request (e.g. by runninggit pull origin devel): [y]Suggested reviewers:
@chryswoods