File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 6464
6565setup (
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' ,
You can’t perform that action at this time.
0 commit comments