From 28b845847041dddb28492383a31fda00dcb9c7a4 Mon Sep 17 00:00:00 2001 From: Sam Bray Date: Fri, 25 Oct 2024 14:30:27 -0700 Subject: [PATCH 1/2] no transact insert v0 lfp --- src/spyglass/common/common_ephys.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/spyglass/common/common_ephys.py b/src/spyglass/common/common_ephys.py index 2e56d47fa..c25fa09ef 100644 --- a/src/spyglass/common/common_ephys.py +++ b/src/spyglass/common/common_ephys.py @@ -460,6 +460,8 @@ class LFP(SpyglassMixin, dj.Imported): lfp_sampling_rate: float # the sampling rate, in HZ """ + _use_transaction, _allow_insert = False, True + def make(self, key): """Populate the LFP table with data from the NWB file. From 383693a6791c4671043bf98d375f70a91a979032 Mon Sep 17 00:00:00 2001 From: Sam Bray Date: Fri, 25 Oct 2024 14:33:48 -0700 Subject: [PATCH 2/2] update changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 84d6d2c11..9530fa9de 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 + #1108, #1172 - 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