Skip to content

Commit b1775af

Browse files
authored
Merge pull request #217 from ttngu207/main
Add key_source to `ProbeLevelReport` to filter for 'good' quality units
2 parents 3761c61 + 80926c8 commit b1775af

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and
44
[Keep a Changelog](https://keepachangelog.com/en/1.0.0/) convention.
55

6+
## [0.4.2] - 2025-03-25
7+
8+
+ Fix - Add key_source to `ProbeLevelReport` to filter for 'good' quality units
9+
610
## [0.4.1] - 2025-02-13
711

812
+ Fix - Auto generate ProbeInsertion allows duplicate probes (e.g. probe reuse)

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

element_array_ephys/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""Package metadata."""
22

3-
__version__ = "0.4.1"
3+
__version__ = "0.4.2"

0 commit comments

Comments
 (0)