Skip to content

Commit

Permalink
Update scadnano.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dave-doty committed Oct 21, 2024
1 parent 2795055 commit cf75e42
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scadnano/scadnano.py
Original file line number Diff line number Diff line change
Expand Up @@ -9041,7 +9041,9 @@ def _oxdna_get_helix_vectors(design: Design, helix: Helix) -> Tuple[_OxdnaVector
position_in_helix_group = grid_position_to_position(helix.grid_position, grid, geometry)

# helix's position in it's group rotated so that it exists in the global rotation
position_in_helix_group_rotated = (pitch_axis * position_in_helix_group.x) + (yaw_axis * position_in_helix_group.y) + (roll_axis * position_in_helix_group.z)
position_in_helix_group_rotated = ((pitch_axis * position_in_helix_group.x) +
(yaw_axis * position_in_helix_group.y) +
(roll_axis * position_in_helix_group.z))

# offset of helix group origin with respect to global coordinates
helix_group_offset = _OxdnaVector(group.position.x, group.position.y, group.position.z)
Expand Down

0 comments on commit cf75e42

Please sign in to comment.