Skip to content

Commit 4231e51

Browse files
authored
No transactions v0 spikesorting pipeline (#1187)
* no transactions v0 spikesorting * update changelog * no transact on v0 recording
1 parent 239f2a5 commit 4231e51

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ dj.FreeTable(dj.conn(), "common_session.session_group").drop()
1717
### Infrastructure
1818

1919
- Disable populate transaction protection for long-populating tables #1066,
20-
#1108, #1172
20+
#1108, #1172, #1187
2121
- Add docstrings to all public methods #1076
2222
- Update DataJoint to 0.14.2 #1081
2323
- Allow restriction based on parent keys in `Merge.fetch_nwb()` #1086, #1126

src/spyglass/spikesorting/v0/spikesorting_curation.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,8 @@ class WaveformSelection(SpyglassMixin, dj.Manual):
324324

325325
@schema
326326
class Waveforms(SpyglassMixin, dj.Computed):
327+
use_transaction, _allow_insert = False, True
328+
327329
definition = """
328330
-> WaveformSelection
329331
---
@@ -523,6 +525,8 @@ def insert1(self, key, **kwargs):
523525

524526
@schema
525527
class QualityMetrics(SpyglassMixin, dj.Computed):
528+
use_transaction, _allow_insert = False, True
529+
526530
definition = """
527531
-> MetricSelection
528532
---

src/spyglass/spikesorting/v0/spikesorting_recording.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,8 @@ class SpikeSortingRecordingSelection(SpyglassMixin, dj.Manual):
291291

292292
@schema
293293
class SpikeSortingRecording(SpyglassMixin, dj.Computed):
294+
use_transaction, _allow_insert = False, True
295+
294296
definition = """
295297
-> SpikeSortingRecordingSelection
296298
---

0 commit comments

Comments
 (0)