Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
guoshzhao committed Nov 20, 2023
1 parent a685b8e commit bbdaf87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions superbench/analyzer/baseline_generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ def fix_threshold_outlier_detection(self, data_series, single_metric_with_baseli
Returns:
tuple: the baseline of the metric, normal data of the metric.
"""
if single_metric_with_baseline['metrics'][
metric] is not None and single_metric_with_baseline['metrics'][metric] != -1:
if single_metric_with_baseline['metrics'][metric] \
is not None and single_metric_with_baseline['metrics'][metric] != -1:
return single_metric_with_baseline['metrics'][metric]
tmp_single_metric_with_baseline = deepcopy(single_metric_with_baseline)
tmp_single_metric_with_baseline['metrics'] = {}
Expand Down

0 comments on commit bbdaf87

Please sign in to comment.