ignore bad Record Gramplet/Report data (the data-verification tool catches them)

svn: r22663
This commit is contained in:
Paul Franklin 2013-07-08 21:52:38 +00:00
parent bdc77e74ab
commit a3b7807233

View File

@ -315,6 +315,9 @@ def find_records(db, filter, top_size, callname,
def _record(lowest, highest, value, text, handle_type, handle, top_size): def _record(lowest, highest, value, text, handle_type, handle, top_size):
if value < 0: # ignore erroneous data
return # (since the data-verification tool already finds it)
if isinstance(value, Span): if isinstance(value, Span):
low_value = value.minmax[0] low_value = value.minmax[0]
high_value = value.minmax[1] high_value = value.minmax[1]