Commit 3c630507 authored by Sulfyderz's avatar Sulfyderz
Browse files

[Error Update]:Correcting the methods dual from Show.

parent 317ba634
......@@ -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]
......
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