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

Fix #208 #210

Merged
merged 4 commits into from
Dec 4, 2023
Merged

Fix #208 #210

merged 4 commits into from
Dec 4, 2023

Conversation

lohedges
Copy link
Contributor

@lohedges lohedges commented Nov 22, 2023

This PR closes #208 by fixing the renumber option in BioSImSpace._SireWrappers.Molecule.extract. The idea behind this was to allow the user to extract a partial molecule then update the same original molecule in a system in one step, rather than needing to remove the old molecule and add the new one, which would (potentially) change the order. (There are ways to preserve this, i.e. you can update by index.)

Since this option was already broken, and hasn't seemed to cause any issue, perhaps it's better to remove it entirely and just deal with a different number, e.g. updating by index as suggested above. (There is code to do this and preserve the existing molecular order, i.e. you just replace the molecule in its existing position in the system.)

I've also added a quick fix that closes #213 by using the sire.legacy.IO.GroTop parser to reconstruct the intrascale matrices for the end states when loading a perturbable system from file. This has been tested via somd2.

  • I confirm that I have merged the latest version of devel into this branch before issuing this pull request (e.g. by running git pull origin devel): [y]
  • I confirm that I have permission to release this code under the GPL3 license: [y]

Suggested reviewers:

@chryswoods

@lohedges lohedges added the bug Something isn't working label Nov 22, 2023
@lohedges lohedges requested a review from chryswoods November 22, 2023 12:02
@lohedges lohedges temporarily deployed to biosimspace-build November 22, 2023 12:02 — with GitHub Actions Inactive
@lohedges lohedges temporarily deployed to biosimspace-build November 22, 2023 12:02 — with GitHub Actions Inactive
@lohedges lohedges temporarily deployed to biosimspace-build November 22, 2023 12:02 — with GitHub Actions Inactive
@lohedges lohedges temporarily deployed to biosimspace-build November 22, 2023 12:02 — with GitHub Actions Inactive
@lohedges lohedges temporarily deployed to biosimspace-build November 22, 2023 12:03 — with GitHub Actions Inactive
@lohedges lohedges temporarily deployed to biosimspace-build December 1, 2023 15:43 — with GitHub Actions Inactive
@lohedges lohedges temporarily deployed to biosimspace-build December 1, 2023 15:43 — with GitHub Actions Inactive
@lohedges lohedges temporarily deployed to biosimspace-build December 1, 2023 15:43 — with GitHub Actions Inactive
@lohedges lohedges temporarily deployed to biosimspace-build December 1, 2023 15:43 — with GitHub Actions Inactive
@lohedges lohedges temporarily deployed to biosimspace-build December 1, 2023 16:46 — with GitHub Actions Inactive
@lohedges lohedges temporarily deployed to biosimspace-build December 1, 2023 16:46 — with GitHub Actions Inactive
@lohedges lohedges temporarily deployed to biosimspace-build December 1, 2023 16:46 — with GitHub Actions Inactive
@lohedges lohedges temporarily deployed to biosimspace-build December 1, 2023 16:46 — with GitHub Actions Inactive
@lohedges lohedges temporarily deployed to biosimspace-build December 1, 2023 16:46 — with GitHub Actions Inactive
chryswoods
chryswoods previously approved these changes Dec 1, 2023
Copy link
Contributor

@chryswoods chryswoods left a comment

Choose a reason for hiding this comment

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

👍

@lohedges lohedges merged commit fe41a76 into devel Dec 4, 2023
@lohedges lohedges deleted the fix_208 branch December 4, 2023 09:52
lohedges added a commit that referenced this pull request Dec 4, 2023
lohedges added a commit that referenced this pull request Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants