Commit 8c9d3113 authored by Sulfyderz's avatar Sulfyderz
Browse files

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

parent 10a212b1
......@@ -3037,15 +3037,15 @@ class Show(object):
actionsIncrementalAssignmentCreateThrTurn.append(copy.deepcopy([valueRef['cluster'],z['cluster'],copy.deepcopy(z)]))
else:
if z['cluster'] == dictionary[valueRef['cluster']]:
if (modeTranscriber == True and idx==0) or (modeTranscriber == False):
actionsAssignmentNothingThr.append(copy.deepcopy(z))
if actionsIncremental:
actionsIncrementalAssignmentNothingThrTurn.append(copy.deepcopy(z))
#if (modeTranscriber == True and idx==0) or (modeTranscriber == False):
actionsAssignmentNothingThr.append(copy.deepcopy(z))
if actionsIncremental:
actionsIncrementalAssignmentNothingThrTurn.append(copy.deepcopy(z))
else:
if (modeTranscriber == True and idx==0) or (modeTranscriber == False):
actionsAssignmentChangeThr.append(copy.deepcopy([dictionary[valueRef['cluster']],z]))
if actionsIncremental:
actionsIncrementalAssignmentChangeThrTurn.append(copy.deepcopy([dictionary[valueRef['cluster']],z]))
#if (modeTranscriber == True and idx==0) or (modeTranscriber == False):
actionsAssignmentChangeThr.append(copy.deepcopy([dictionary[valueRef['cluster']],z]))
if actionsIncremental:
actionsIncrementalAssignmentChangeThrTurn.append(copy.deepcopy([dictionary[valueRef['cluster']],z]))
applyChange=True
if applyChange:
# Met a jour la diar pour les merges par la suite
......@@ -4156,15 +4156,15 @@ class Show(object):
actionsIncrementalAssignmentCreateThrTurn.append(copy.deepcopy([valueRef['cluster'],valueTmp[z]['cluster'],copy.deepcopy(valueTmp[z])]))
else:
if valueTmp[z]['cluster'] == dictionary[valueRef['cluster']]:
if (modeTranscriber == True and idx==0) or (modeTranscriber == False):
actionsAssignmentNothingThr.append(copy.deepcopy(valueTmp[z]))
if actionsIncremental:
actionsIncrementalAssignmentNothingThrTurn.append(copy.deepcopy(valueTmp[z]))
#if (modeTranscriber == True and idx==0) or (modeTranscriber == False):
actionsAssignmentNothingThr.append(copy.deepcopy(valueTmp[z]))
if actionsIncremental:
actionsIncrementalAssignmentNothingThrTurn.append(copy.deepcopy(valueTmp[z]))
else:
if (modeTranscriber == True and idx==0) or (modeTranscriber == False):
actionsAssignmentChangeThr.append(copy.deepcopy([dictionary[valueRef['cluster']],valueTmp[z]]))
if actionsIncremental:
actionsIncrementalAssignmentChangeThrTurn.append(copy.deepcopy([dictionary[valueRef['cluster']],valueTmp[z]]))
#if (modeTranscriber == True and idx==0) or (modeTranscriber == False):
actionsAssignmentChangeThr.append(copy.deepcopy([dictionary[valueRef['cluster']],valueTmp[z]]))
if actionsIncremental:
actionsIncrementalAssignmentChangeThrTurn.append(copy.deepcopy([dictionary[valueRef['cluster']],valueTmp[z]]))
if not reassignment__overlapIntoAccount and DiarTools.segmentWithinDiar(valueRef,diarOverlapArea):
applyChange=True
else:
......
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