Skip to content

Commit

Permalink
WIP: fix get_wf for new keys
Browse files Browse the repository at this point in the history
  • Loading branch information
CBroz1 committed Jan 14, 2025
1 parent 4eaebf8 commit cdfc757
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spyglass/spikesorting/v1/metric_curation.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ def get_waveforms(
if cached := self._waves_cache.get(key_hash):
return cached

query = (self & key) * MetricCurationSelection * WaveformParameters
query = (MetricCurationSelection & key) * WaveformParameters
if len(query) != 1:
raise ValueError(f"Found {len(query)} entries for: {key}")

Expand Down

0 comments on commit cdfc757

Please sign in to comment.