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 Aug 17, 2023
1 parent a37b35a commit 0837366
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scadnano/scadnano.py
Original file line number Diff line number Diff line change
Expand Up @@ -1797,8 +1797,8 @@ def relax_roll(self, helices: Dict[int, Helix], grid: Grid, geometry: Geometry)
"""
Like :meth:`Design.relax_helix_rolls`, but only for this :any:`Helix`.
"""
angle = self.compute_relaxed_roll(helices, grid, geometry)
self.roll = angle
roll = self.compute_relaxed_roll(helices, grid, geometry)
self.roll = roll

def compute_relaxed_roll(self, helices: Dict[int, Helix], grid: Grid, geometry: Geometry) -> float:
"""
Expand Down

0 comments on commit 0837366

Please sign in to comment.