diff --git a/src/spikeinterface/qualitymetrics/quality_metric_calculator.py b/src/spikeinterface/qualitymetrics/quality_metric_calculator.py index 02409ffdbb..2f92f50ef0 100644 --- a/src/spikeinterface/qualitymetrics/quality_metric_calculator.py +++ b/src/spikeinterface/qualitymetrics/quality_metric_calculator.py @@ -248,9 +248,6 @@ def _compute_metrics(self, sorting_analyzer, unit_ids=None, verbose=False, metri # we do this because the convert_dtypes infers the wrong types sometimes. # the actual types for columns can be found in column_name_to_column_dtype dictionary. for column in metrics.columns: - # we have one issue where the name of the columns for synchrony are named based on - # what the user has input as arguments so we need a way to handle this separately - # everything else should be handled with the column name. metrics[column] = metrics[column].astype(column_name_to_column_dtype[column]) return metrics