Skip to content

Commit 4a198e5

Browse files
authored
Bump version (#1316)
* Bump version * update citation file
1 parent c933864 commit 4a198e5

File tree

2 files changed

+19
-64
lines changed

2 files changed

+19
-64
lines changed

CHANGELOG.md

Lines changed: 17 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,76 +1,31 @@
11
# Change Log
22

3-
## [0.5.5] (Unreleased)
3+
<!--
4+
## [0.5.6] (Unreleased) - WHEN UNCOMMENTING, ADD LINK AT BOTTOM
45
56
### Release Notes
67
7-
<!-- Running draft to be removed immediately prior to release. -->
8-
9-
<!-- When altering tables, import all foreign key references. -->
10-
11-
Table update script
8+
Running draft to be removed immediately prior to release.
9+
When altering tables, import all foreign key references.
1210
1311
```python
14-
# -- For TrackGraph --
15-
from spyglass.linearization.v1.main import TrackGraph # noqa
16-
17-
TrackGraph.alter() # Add edge map parameter
18-
19-
# -- For dropping deprecated tables --
20-
import datajoint as dj
21-
22-
dj.FreeTable(dj.conn(), "common_nwbfile.analysis_nwbfile_log").drop()
23-
dj.FreeTable(dj.conn(), "common_session.session_group").drop()
24-
25-
# -- For v0 recompute --
26-
from spyglass.spikesorting.v0.spikesorting_recording import (
27-
SpikeSortingRecording,
28-
SpikeSortingRecordingSelection,
29-
IntervalList,
30-
)
31-
32-
SpikeSortingRecording().alter()
33-
SpikeSortingRecording().update_ids()
34-
35-
# -- For v1 recompute --
36-
from spyglass.spikesorting.v1.recording import (
37-
SpikeSortingRecording,
38-
SpikeSortingRecordingSelection,
39-
AnalysisNwbfile,
40-
)
41-
42-
SpikeSortingRecording().alter()
43-
SpikeSortingRecording().update_ids()
44-
45-
# -- For LFP pipeline --
46-
from spyglass.lfp.lfp_imported import ImportedLFP
47-
from spyglass.lfp.lfp_merge import LFPOutput
48-
49-
if len(ImportedLFP()) or len(LFPOutput.ImportedLFP()):
50-
raise ValueError(
51-
"Existing entries found and would be dropped in update. Please delete "
52-
+ "entries or start a GitHub discussion for migration assistance."
53-
+ f"\nImportedLFP: {len(ImportedLFP())}"
54-
+ f"\nLFPOutput.ImportedLFP: {len(LFPOutput.ImportedLFP())}"
55-
)
56-
57-
table = LFPOutput().ImportedLFP()
58-
table_name = table.full_table_name
59-
60-
if len(drop_list := table.connection.dependencies.descendants(table_name)) > 1:
61-
drop_list = [x for x in drop_list if x != table_name]
62-
raise ValueError(
63-
"Downstream tables exist and would be dropped in update."
64-
+ "Please drop the following tables first: \n"
65-
+ "\n ".join([str(t) for t in drop_list])
66-
)
67-
68-
LFPOutput().ImportedLFP().drop_quick()
69-
ImportedLFP().drop()
12+
#
7013
```
7114
7215
### Infrastructure
7316
17+
- Thing
18+
19+
### Pipelines
20+
21+
- Common
22+
- Thing
23+
-->
24+
25+
## [0.5.5] (Aug 6, 2025)
26+
27+
### Infrastructure
28+
7429
- Ensure merge tables are declared during file insertion #1205
7530
- Update URL for DANDI Docs #1210
7631
- Add common method `get_position_interval_epoch` #1056

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,5 +166,5 @@ keywords:
166166
- spike sorting
167167
- kachery
168168
license: MIT
169-
version: 0.5.4
170-
date-released: '2024-12-20'
169+
version: 0.5.5
170+
date-released: '2025-08-06'

0 commit comments

Comments
 (0)