Skip to content

Commit

Permalink
changed the default branch-of-log for "coords2dihedrals.py" (from 0 d…
Browse files Browse the repository at this point in the history
…egrees to 360 degrees). This means that now, by default the dihedral angles returned by this script are in the range from [-180,180).
  • Loading branch information
jewettaij committed May 18, 2020
1 parent da79701 commit ecbb3c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dlpdb/coords2dihedrals.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def cross_prod_v3(a,b):

def main():

branch_of_log = 2.0*pi # by default, dihedral angles lie in range: [0, 360.0)
branch_of_log = pi # by default, dihedral angles lie in range: [-180,180.0)
truncate_a = 0
truncate_b = 0

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@

url='https://github.com/jewettaij/dlpdb',

download_url='https://github.com/jewettaij/dlpdb/archive/v0.3.0.zip',
download_url='https://github.com/jewettaij/dlpdb/archive/v0.3.1.zip',

version='0.3.0',
version='0.3.1',

license='MIT',

Expand Down

0 comments on commit ecbb3c8

Please sign in to comment.