Commit d64e2892 authored by cmaffeo2's avatar cmaffeo2
Browse files

Fixed SegmentModel.count_crossovers() to include terminal_crossover connections

parent 03dc591c
...@@ -2479,7 +2479,7 @@ class SegmentModel(ArbdModel): ...@@ -2479,7 +2479,7 @@ class SegmentModel(ArbdModel):
for b in beads: for b in beads:
for l in b.locations: for l in b.locations:
if l.connection is not None: if l.connection is not None:
if l.connection.type_ == "crossover": if l.connection.type_ in ("crossover","terminal_crossover"):
count += 1 count += 1
return count return count
......
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