diff --git a/src/spikeinterface/comparison/paircomparisons.py b/src/spikeinterface/comparison/paircomparisons.py index 7d5f04dfdd..fa5ec2d3d0 100644 --- a/src/spikeinterface/comparison/paircomparisons.py +++ b/src/spikeinterface/comparison/paircomparisons.py @@ -456,12 +456,12 @@ def print_summary(self, well_detected_score=None, redundant_score=None, overmerg num_gt=len(self.unit1_ids), num_tested=len(self.unit2_ids), num_well_detected=self.count_well_detected_units(well_detected_score), - num_redundant=self.count_redundant_units(redundant_score), - num_overmerged=self.count_overmerged_units(overmerged_score), ) if self.exhaustive_gt: txt = txt + _template_summary_part2 + d["num_redundant"] = self.count_redundant_units(redundant_score) + d["num_overmerged"] = self.count_overmerged_units(overmerged_score) d["num_false_positive_units"] = self.count_false_positive_units() d["num_bad"] = self.count_bad_units() @@ -676,11 +676,11 @@ def count_units_categories( GT num_units: {num_gt} TESTED num_units: {num_tested} num_well_detected: {num_well_detected} -num_redundant: {num_redundant} -num_overmerged: {num_overmerged} """ -_template_summary_part2 = """num_false_positive_units {num_false_positive_units} +_template_summary_part2 = """num_redundant: {num_redundant} +num_overmerged: {num_overmerged} +num_false_positive_units {num_false_positive_units} num_bad: {num_bad} """