From 67d99408b6b0a353f47c6f5b4a419247c7685f0b Mon Sep 17 00:00:00 2001 From: Sam Bray Date: Thu, 14 Nov 2024 09:36:30 -0800 Subject: [PATCH] no transactions v0 spikesorting --- src/spyglass/spikesorting/v0/spikesorting_curation.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/spyglass/spikesorting/v0/spikesorting_curation.py b/src/spyglass/spikesorting/v0/spikesorting_curation.py index 27aa074d3..77a4e8edb 100644 --- a/src/spyglass/spikesorting/v0/spikesorting_curation.py +++ b/src/spyglass/spikesorting/v0/spikesorting_curation.py @@ -324,6 +324,8 @@ class WaveformSelection(SpyglassMixin, dj.Manual): @schema class Waveforms(SpyglassMixin, dj.Computed): + use_transaction, _allow_insert = False, True + definition = """ -> WaveformSelection --- @@ -523,6 +525,8 @@ def insert1(self, key, **kwargs): @schema class QualityMetrics(SpyglassMixin, dj.Computed): + use_transaction, _allow_insert = False, True + definition = """ -> MetricSelection ---