Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tbgl
tools
mrdna
Commits
d64e2892
Commit
d64e2892
authored
Feb 21, 2020
by
cmaffeo2
Browse files
Fixed SegmentModel.count_crossovers() to include terminal_crossover connections
parent
03dc591c
Changes
1
Hide whitespace changes
Inline
Side-by-side
mrdna/segmentmodel.py
View file @
d64e2892
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment