Skip to content
Snippets Groups Projects
Commit 17f8c66a authored by cmaffeo2's avatar cmaffeo2
Browse files

Fixed error in ssDNA model where the terminal dihedral angle was not applied.

Added PointerParticle.duplicate()
parent 54c51b6e
No related branches found
No related tags found
No related merge requests found
......@@ -408,6 +408,9 @@ class PointParticle(Transformable, Child):
def get_restraints(self):
return [(self,r) for r in self.restraints]
def duplicate(self):
new = deepcopy(self)
return new
def __getattr__(self, name):
"""
......
......@@ -76,7 +76,7 @@ class DnaStrandFromPolymer(Group):
self.add_exclusion( i=b1, j=p3 )
## Four consecutive nts
for i in range(len(nts)-4):
for i in range(len(nts)-3):
p1,b1 = nts[i].children
p2,b2 = nts[i+1].children
p3,b3 = nts[i+2].children
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment