Commit a0683141 authored by Sulfyderz's avatar Sulfyderz
Browse files

Test: ON

parent b9a1dcd4
......@@ -3884,9 +3884,8 @@ class Show(object):
if z['start']>=(valueRef['start']-tolerance) and z['stop']<=(valueRef['stop']+tolerance):
# Aucune action, tous les segments dans cet interval sont supprimés
valueTmp=DiarTools.dropSegment(z,valueTmp)
alarmViterbi=True
#alarmViterbi=True
elif z['start']>=(valueRef['start']-tolerance) and z['stop']>(valueRef['stop']+tolerance): #and z['start']<(valueRef['stop']-tolerance):
# partie permettant de savoir si on coupe le segment ou le detruit directement
stopTmp=None
for u in range(i+1,len(diarRef)):
......@@ -3926,7 +3925,7 @@ class Show(object):
actionsIncrementalSegmentationSegmentDeleteThrTurn.append(copy.deepcopy(z))
alarmViterbiValue=z['stop']
valueTmp=DiarTools.dropSegment(z,valueTmp)
alarmViterbi=True
#alarmViterbi=True
#elif z['start']>=(valueRef['stop']-tolerance):
# # On laisse le traitement de ce segment à la prochaine iteration
# break
......
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