Skip to content

Commit

Permalink
Only run populator on initial curation entries
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelbray32 committed Oct 27, 2023
1 parent 1919427 commit 2c86a5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spyglass/spikesorting/spikesorting_populator.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def spikesorting_pipeline_populator(
print("Extracting waveforms")
curation_keys = [
{**k, "waveform_params_name": waveform_params_name}
for k in (Curation() & sort_dict).fetch("KEY")
for k in (Curation() & sort_dict & {"curation_id": 0}).fetch("KEY")
]
WaveformSelection.insert(curation_keys, skip_duplicates=True)
Waveforms.populate(sort_dict)
Expand Down

0 comments on commit 2c86a5b

Please sign in to comment.