Commit befc24fb authored by cmaffeo2's avatar cmaffeo2
Browse files

Relaxed assertion on minimum bond lengths

parent 2c518f1a
......@@ -1347,7 +1347,7 @@ class SegmentModel(ArbdModel):
raise Exception("Unhandled potential type '%s'" % type_)
return self._bonded_potential[key]
def get_bond_potential(self, kSpring, d):
assert( d > 1 )
assert( d > 0.2 )
return self._get_potential("bond", kSpring, d)
def get_angle_potential(self, kSpring, d):
return self._get_potential("angle", kSpring, d)
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