Commit 4590bd5b authored by Sulfyderz's avatar Sulfyderz
Browse files

[Error Update]:Correcting the SegmentationAutomaton and the...

[Error Update]:Correcting the SegmentationAutomaton and the AssignmentSegmentationAutomaton methods.
parent fad4b2ac
......@@ -3139,7 +3139,7 @@ class Show(object):
listTmp[1]['cluster']=listTmp[0]['cluster']
newSegment,valueTmp=DiarTools.mergeSegment(listTmp[0],listTmp[1],valueTmp)
else:
newSegment=listTmp[1]['cluster']
newSegment=listTmp[1]
for y in range(2,len(listTmp)):
if modeTranscriber == True:
if not (Segment.intersection(newSegment,listTmp[y]) is not None or newSegment["stop"]==listTmp[y]["start"] or newSegment["start"]==listTmp[y]["stop"]):
......@@ -4392,7 +4392,7 @@ class Show(object):
listTmp[1]['cluster']=listTmp[0]['cluster']
newSegment,valueTmp=DiarTools.mergeSegment(listTmp[0],listTmp[1],valueTmp)
else:
newSegment=listTmp[1]['cluster']
newSegment=listTmp[1]
for y in range(2,len(listTmp)):
if modeTranscriber == True:
if not (Segment.intersection(newSegment,listTmp[y]) is not None or newSegment["stop"]==listTmp[y]["start"] or newSegment["start"]==listTmp[y]["stop"]):
......
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