Skip to content

Commit d69ad3f

Browse files
committed
Update version to 2.2.6 after merging bugfixes
2 parents 0adac5b + eb3bdc1 commit d69ad3f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

quickff/valence.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ def init_bend_terms(self, thresshold=10*deg):
419419
#sort rvs in rvs in [90-thresshold, 90+thresshold], rvs in
420420
#[180-thresshold,180] and others
421421
rvs90 = [rv for rv in rvs if 90*deg-thresshold<rv<90*deg+thresshold]
422-
rvs180 = [rv for rv in rvs if 180*deg-thresshold<rv<180*deg]
422+
rvs180 = [rv for rv in rvs if 180*deg-thresshold<rv<180*deg+thresshold]
423423
rvsother = [rv for rv in rvs if rv not in rvs90 and rv not in rvs180]
424424
#detect whether rvs are centered around 90 and 180, then
425425
#use 1-cos(4*theta) term
@@ -515,7 +515,7 @@ def init_dihedral_terms(self, thresshold=20*deg):
515515
self.system.cell.mic(d23)
516516
#check if bending angle is not 180 deg
517517
bend012 = _bend_angle_low(d10, d12, 0)[0]
518-
bend123 = _bend_angle_low(d12, d23, 0)[0]
518+
bend123 = _bend_angle_low(-d12, d23, 0)[0]
519519
if bend012>175*deg or bend123>175*deg:
520520
bendskip = True
521521
continue

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464

6565
setup(
6666
name='QuickFF',
67-
version='2.2.5',
67+
version='2.2.6',
6868
description='Python library to quickly derive force fields from ab initio training data.',
6969
author='Louis Vanduyfhuys',
7070
author_email='Louis.Vanduyfhuys@UGent.be',

0 commit comments

Comments
 (0)