Commit 4feb04db authored by New Tbgl User's avatar New Tbgl User
Browse files

Fixed incorrect dihedral twist when local_twist is False

parent c3cb9ecb
......@@ -1622,7 +1622,7 @@ class SegmentModel(ArbdModel):
k = opt.leastsq( fitFun, x0=np.exp(-sep/Lp) )
k = k[0][0] * 2*kT*0.00030461742
t0 = sep*(360.0/s1.twist_per_nt)
t0 = sep*s1.twist_per_nt # TODO weighted avg between s1 and s2
# pdb.set_trace()
if A1.on_fwd_strand: t0 -= 120
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment