Skip to content

Commit

Permalink
Respond to z-man
Browse files Browse the repository at this point in the history
  • Loading branch information
chrishalcrow committed Dec 3, 2024
1 parent 039b408 commit 771de98
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/spikeinterface/postprocessing/template_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ class ComputeTemplateMetrics(AnalyzerExtension):
Whether to compute multi-channel metrics
delete_existing_metrics : bool, default: False
If True, any template metrics attached to the `sorting_analyzer` are deleted. If False, any metrics which were previously calculated but are not included in `metric_names` are kept, provided the `metric_params` are unchanged.
metric_params : dict of dicts
metric_params : dict of dicts or None
metric_params : dict of dicts or None, default: None
Dictionary with parameters for template metrics calculation.
Default parameters can be obtained with: `si.postprocessing.template_metrics.get_default_tm_params()`
Expand Down Expand Up @@ -138,7 +137,7 @@ def _set_params(

if metrics_kwargs is not None and metric_params is None:
deprecation_msg = "`metrics_kwargs` is deprecated and will be removed in version 0.104.0. Please use metric_params instead"
warnings.warn(deprecation_msg, category=DeprecationWarning)
deprecation_msg = "`metrics_kwargs` is deprecated and will be removed in version 0.104.0. Please use `metric_params` instead"

metric_params = {}
for metric_name in metric_names:
Expand Down

0 comments on commit 771de98

Please sign in to comment.