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
Pierre-Alexandre Broux
s4dl
Commits
3c630507
Commit
3c630507
authored
May 22, 2018
by
Sulfyderz
Browse files
[Error Update]:Correcting the methods dual from Show.
parent
317ba634
Changes
1
Hide whitespace changes
Inline
Side-by-side
s4dl/Show.py
View file @
3c630507
...
...
@@ -3159,7 +3159,10 @@ class Show(object):
if
actionsIncremental
:
actionsIncrementalSegmentationBoundaryMergeThrTurn
.
append
(
copy
.
deepcopy
([
newSegment
,
listTmp
[
y
]]))
if
modeTranscriber
==
True
and
newSegment
[
'cluster'
]
!=
listTmp
[
y
][
'cluster'
]:
valueTmp
=
DiarTools
.
dropSegment
(
listTmp
[
y
],
valueTmp
)
listTmp
[
y
][
'cluster'
]
=
newSegment
[
'cluster'
]
valueTmp
.
append_seg
(
listTmp
[
y
])
valueTmp
.
sort
()
newSegment
,
valueTmp
=
DiarTools
.
mergeSegment
(
newSegment
,
listTmp
[
y
],
valueTmp
)
else
:
newSegment
=
listTmp
[
y
]
...
...
@@ -4414,7 +4417,10 @@ class Show(object):
if
actionsIncremental
:
actionsIncrementalSegmentationBoundaryMergeThrTurn
.
append
(
copy
.
deepcopy
([
newSegment
,
listTmp
[
y
]]))
if
modeTranscriber
==
True
and
newSegment
[
'cluster'
]
!=
listTmp
[
y
][
'cluster'
]:
valueTmp
=
DiarTools
.
dropSegment
(
listTmp
[
y
],
valueTmp
)
listTmp
[
y
][
'cluster'
]
=
newSegment
[
'cluster'
]
valueTmp
.
append_seg
(
listTmp
[
y
])
valueTmp
.
sort
()
newSegment
,
valueTmp
=
DiarTools
.
mergeSegment
(
newSegment
,
listTmp
[
y
],
valueTmp
)
else
:
newSegment
=
listTmp
[
y
]
...
...
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