Commit 06fa752c authored by cmaffeo2's avatar cmaffeo2
Browse files

Long interhelical bonds are now ignored

parent dbaaef73
......@@ -1265,6 +1265,8 @@ class atomicModel():
i,j = [nt.firstAtomicIndex for nt in (nt1,nt2)]
if j <= i: continue
if np.linalg.norm(nt1.position-nt2.position) > 45: continue
ai,aj = [nt.atoms(transform=False) for nt in (nt1,nt2)]
i += ai.index('P')-1
j += aj.index('P')-1
......
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