Skip to content

Commit 2454b96

Browse files
MilagrosMarinttngu207
authored andcommitted
fix: add key_source to ProbeLevelReport to filter for 'good' quality units
1 parent 4c0bfc9 commit 2454b96

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

element_array_ephys/ephys_report.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ class ProbeLevelReport(dj.Computed):
5050
---
5151
drift_map_plot: attach
5252
"""
53+
54+
@property
55+
def key_source(self):
56+
return ephys.CuratedClustering & (
57+
ephys.CuratedClustering.Unit & "cluster_quality_label='good'"
58+
)
5359

5460
def make(self, key):
5561
from .plotting.probe_level import plot_driftmap

0 commit comments

Comments
 (0)