Skip to content

Commit d71860a

Browse files
[RelVal] Fix index (AliceO2Group#1456)
1 parent ce628a6 commit d71860a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

RelVal/utils/o2dpg_release_validation_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ def load(self, summaries_to_test):
400400
idx, metric = self.get_metric_checking_dict(line)
401401
if idx is None:
402402
# in this case, this metric is new
403-
idx = len(self.metrics) - 1
403+
idx = len(self.metrics)
404404
if not self.add_metric(metric):
405405
# only attempt to add if that metric is not yet there
406406
continue

0 commit comments

Comments
 (0)