|
|
@ -109,7 +109,6 @@ def assign_brushes(at):
|
|
|
|
for tags in annot.values():
|
|
|
|
for tags in annot.values():
|
|
|
|
statuses = list(filter(lambda x: isinstance(x, DifferenceStatus), tags))
|
|
|
|
statuses = list(filter(lambda x: isinstance(x, DifferenceStatus), tags))
|
|
|
|
status = statuses[-1] if len(statuses) > 0 else DifferenceStatus.DISCREPANCY # should always have something.
|
|
|
|
status = statuses[-1] if len(statuses) > 0 else DifferenceStatus.DISCREPANCY # should always have something.
|
|
|
|
print(repr(status))
|
|
|
|
|
|
|
|
color = {
|
|
|
|
color = {
|
|
|
|
DifferenceStatus.NORMAL: 'black',
|
|
|
|
DifferenceStatus.NORMAL: 'black',
|
|
|
|
DifferenceStatus.EXTRA: 'green',
|
|
|
|
DifferenceStatus.EXTRA: 'green',
|
|
|
|