Skip to content

Commit

Permalink
fixes to issue with resetting dihedral_angle to -180 if equivalently 180
Browse files Browse the repository at this point in the history
  • Loading branch information
CalCraven committed Oct 23, 2023
1 parent dd29312 commit e444a81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mosdef_dihedral_fit/utils/math_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def dihedral_angle(
dihedral_angle_degrees = -dihedral_angle_degrees

if dihedral_angle_degrees == 180:
dihedral_angle_degrees == -180
dihedral_angle_degrees = -180

return dihedral_angle_degrees

Expand Down

0 comments on commit e444a81

Please sign in to comment.