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

Close Issue #309: account for helix group rotation properly #312

Merged
merged 2 commits into from
Oct 21, 2024

Conversation

DanielHader
Copy link
Collaborator

Description

closes issue #309

Before this change, helix group rotation wasn't correctly applied to helices during oxDNA export
This change fixes this by applying the helix group rotation to each helix before being translated by the helix group's origin position

This change also avoids using the Design.roll_of_helix(helix) since this gives the cumulative roll of the helix plus the roll of the group
Now, the helix group's roll is applied to the helix to determine it's global positions while the helix's individual roll is accounted for by separately rotating the normal axis returned by _oxdna_get_helix_vectors

Related Issue

#309

Screenshots:

Note the rolls of the helices as indicated by the slice bar
image
image

These are represented in the rolls of the exported helices
image
image

@dave-doty dave-doty merged commit 2f12f99 into dev Oct 21, 2024
8 checks passed
@dave-doty dave-doty deleted the 309-account-for-helix-group-rotation-properly branch October 21, 2024 20:45
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