Skip to content

Commit

Permalink
No transactions v0 spikesorting pipeline (#1187)
Browse files Browse the repository at this point in the history
* no transactions v0 spikesorting

* update changelog

* no transact on v0 recording
  • Loading branch information
samuelbray32 authored Nov 14, 2024
1 parent 239f2a5 commit 4231e51
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions src/spyglass/spikesorting/v0/spikesorting_curation.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,8 @@ class WaveformSelection(SpyglassMixin, dj.Manual):

@schema
class Waveforms(SpyglassMixin, dj.Computed):
use_transaction, _allow_insert = False, True

definition = """
-> WaveformSelection
---
Expand Down Expand Up @@ -523,6 +525,8 @@ def insert1(self, key, **kwargs):

@schema
class QualityMetrics(SpyglassMixin, dj.Computed):
use_transaction, _allow_insert = False, True

definition = """
-> MetricSelection
---
Expand Down
2 changes: 2 additions & 0 deletions src/spyglass/spikesorting/v0/spikesorting_recording.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,8 @@ class SpikeSortingRecordingSelection(SpyglassMixin, dj.Manual):

@schema
class SpikeSortingRecording(SpyglassMixin, dj.Computed):
use_transaction, _allow_insert = False, True

definition = """
-> SpikeSortingRecordingSelection
---
Expand Down

0 comments on commit 4231e51

Please sign in to comment.