Commit a9600fed authored by cmaffeo2's avatar cmaffeo2
Browse files

Small fix for 0-length ssDNA segments

parent 47325593
......@@ -2514,6 +2514,9 @@ class SegmentModel(ArbdModel):
if b1 is b2:
return
if b1 is None or b2 is None:
return
## TODO: improve parameters
if add_bond:
pot = self.get_bond_potential(4,12)
......
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