diff --git a/CHANGELOG.md b/CHANGELOG.md index dd3bbeeb3..86058203b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,7 +17,7 @@ dj.FreeTable(dj.conn(), "common_session.session_group").drop() ### Infrastructure - Disable populate transaction protection for long-populating tables #1066, - #1108, #1172 + #1108, #1172, #1187 - Add docstrings to all public methods #1076 - Update DataJoint to 0.14.2 #1081 - Allow restriction based on parent keys in `Merge.fetch_nwb()` #1086, #1126 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 --- diff --git a/src/spyglass/spikesorting/v0/spikesorting_recording.py b/src/spyglass/spikesorting/v0/spikesorting_recording.py index a6a356a33..16fbf3544 100644 --- a/src/spyglass/spikesorting/v0/spikesorting_recording.py +++ b/src/spyglass/spikesorting/v0/spikesorting_recording.py @@ -291,6 +291,8 @@ class SpikeSortingRecordingSelection(SpyglassMixin, dj.Manual): @schema class SpikeSortingRecording(SpyglassMixin, dj.Computed): + use_transaction, _allow_insert = False, True + definition = """ -> SpikeSortingRecordingSelection ---