Loading ci/basop-pages/create_report_pages.py +4 −4 Original line number Original line Diff line number Diff line Loading @@ -247,8 +247,9 @@ def merge_and_cleanup_mld_reports( are uninteresting and are put last. are uninteresting and are put last. """ """ try: try: float(x[mld_col_curr]) cols = [mld_col_curr, mld_col_prev] + [p[1] for p in other_col_pairs] float(x[mld_col_prev]) for c in cols: float(x[c]) except ValueError: except ValueError: # Value is no valid floating point value # Value is no valid floating point value return float("inf") return float("inf") Loading @@ -263,7 +264,6 @@ def merge_and_cleanup_mld_reports( for col_pair in other_col_pairs: for col_pair in other_col_pairs: col_prev = col_pair[0] col_prev = col_pair[0] col_curr = col_pair[1] col_curr = col_pair[1] if x[col_curr] != '' and x[col_prev] != '': diff_other += abs(float(x[col_curr]) - float(x[col_prev])) diff_other += abs(float(x[col_curr]) - float(x[col_prev])) if diff_other > 0: if diff_other > 0: Loading Loading
ci/basop-pages/create_report_pages.py +4 −4 Original line number Original line Diff line number Diff line Loading @@ -247,8 +247,9 @@ def merge_and_cleanup_mld_reports( are uninteresting and are put last. are uninteresting and are put last. """ """ try: try: float(x[mld_col_curr]) cols = [mld_col_curr, mld_col_prev] + [p[1] for p in other_col_pairs] float(x[mld_col_prev]) for c in cols: float(x[c]) except ValueError: except ValueError: # Value is no valid floating point value # Value is no valid floating point value return float("inf") return float("inf") Loading @@ -263,7 +264,6 @@ def merge_and_cleanup_mld_reports( for col_pair in other_col_pairs: for col_pair in other_col_pairs: col_prev = col_pair[0] col_prev = col_pair[0] col_curr = col_pair[1] col_curr = col_pair[1] if x[col_curr] != '' and x[col_prev] != '': diff_other += abs(float(x[col_curr]) - float(x[col_prev])) diff_other += abs(float(x[col_curr]) - float(x[col_prev])) if diff_other > 0: if diff_other > 0: Loading