Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not delete quality and template metrics on recompute #3292

Merged
merged 20 commits into from
Sep 13, 2024
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update src/spikeinterface/qualitymetrics/quality_metric_calculator.py
Co-authored-by: Garcia Samuel <sam.garcia.die@gmail.com>
  • Loading branch information
alejoe91 and samuelgarcia authored Sep 13, 2024
commit 6c8889d74d5e8c4c2b5fa073f9b5cfcd7b9141b6
Original file line number Diff line number Diff line change
@@ -165,7 +165,7 @@ def _compute_metrics(self, sorting_analyzer, unit_ids=None, verbose=False, metri

import pandas as pd

metrics = pd.DataFrame(index=sorting_analyzer.unit_ids)
metrics = pd.DataFrame(index=unit_ids)

# simple metrics not based on PCs
for metric_name in metric_names: