Skip to content

Seed perturbed coords from a system clone, not raw arrays#140

Merged
lohedges merged 1 commit intodevelfrom
fix_perturbed_system
Apr 10, 2026
Merged

Seed perturbed coords from a system clone, not raw arrays#140
lohedges merged 1 commit intodevelfrom
fix_perturbed_system

Conversation

@lohedges
Copy link
Copy Markdown
Contributor

@lohedges lohedges commented Apr 10, 2026

This PR improves the setup for the perturbed_system option used for multiconformational seeding. Instead of apply the positions and periodic space of the perturbed system to the OpenMM context post setup, we instead set the positions and space of the input system prior to setup. This means that the setup pathway is the same, regardless of the input, so that GCMC waters and virtual sites are added afterwards, i.e. we don't need to account for their presence when setting the positions, which required padding arrays, etc.

Note that this change needs the latest development version of Sire.

@lohedges lohedges added enhancement New feature or request cresset Related to work with Cresset labels Apr 10, 2026
@lohedges lohedges merged commit 5481736 into devel Apr 10, 2026
4 checks passed
@lohedges lohedges deleted the fix_perturbed_system branch April 10, 2026 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cresset Related to work with Cresset enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant