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
e47682f9
Commit
e47682f9
authored
Jul 10, 2018
by
cmaffeo2
Browse files
May have fixed issues with single-nt segments, but needs testing
parent
7bc1eb13
Changes
1
Show whitespace changes
Inline
Side-by-side
segmentmodel.py
View file @
e47682f9
...
...
@@ -694,7 +694,7 @@ class Segment(ConnectableElement, Group):
## Add ends if they don't exist yet
## TODOTODO: test 1 nt segments?
if
len
(
existing_beads
)
==
0
or
existing_beads
[
0
].
get_nt_position
(
self
)
>
0.5
:
if
len
(
existing_beads
)
==
0
or
existing_beads
[
0
].
get_nt_position
(
self
)
>
=
0.5
:
# if len(existing_beads) > 0:
# assert(existing_beads[0].get_nt_position(self) >= 0.5)
b
=
self
.
_generate_one_bead
(
self
.
nt_pos_to_contour
(
0
),
0
)
...
...
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