equal
deleted
inserted
replaced
63 # id, initial_start, initial_end, computed_start, computed_end, valid = self.computationResults[i] |
63 # id, initial_start, initial_end, computed_start, computed_end, valid = self.computationResults[i] |
64 |
64 |
65 for cc in commentList: |
65 for cc in commentList: |
66 if cc.valid: |
66 if cc.valid: |
67 for id in xrange(len(span_starts_new.keys())): |
67 for id in xrange(len(span_starts_new.keys())): |
68 if (span_starts_new.get(id)): |
|
69 start = span_starts_new.get(id, 0) |
68 start = span_starts_new.get(id, 0) |
70 end = span_starts_new.get(id+1, sys.maxint) |
69 end = span_starts_new.get(id+1, sys.maxint) |
71 |
70 |
72 # adjust start |
71 # adjust start |
73 if cc.computed_start_offset >= start and cc.computed_start_offset < end: |
72 if cc.computed_start_offset >= start and cc.computed_start_offset < end: |