Skip to content

Commit a689162

Browse files
khl02007edeno
andauthored
Update spikeinterface version (#852)
* Save LFP as pynwb.ecephys.LFP * Fix formatting * Fix formatting * Update spikeinterface version * Update changelog * Fix CurationV1 get_sorting * Remove release note --------- Co-authored-by: Eric Denovellis <[email protected]>
1 parent 0b944cd commit a689162

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
- Replace deprecated calls to `yaml.safe_load()` #834
1919

2020
- Spikesorting:
21+
- Increase the required `spikeinterface` version to >=0.99.1 for `get_sorting` method associated with `SpikeSorting` and `CurationV1` tables in spike sorting V1 pipeline. Limit version to <0.100 in case there are other issues with it. #852
2122
- Bug fix in single artifact interval edge case #859
2223

2324
## [0.5.0] (February 9, 2024)

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,5 @@ dependencies:
4646
- pubnub<=6.4.0
4747
- pynwb>=2.2.0,<3
4848
- sortingview>=0.11
49-
- spikeinterface>=0.98.2,<0.99
49+
- spikeinterface>=0.99.1,<0.100
5050
- .

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ dependencies = [
5555
"ripple_detection",
5656
"seaborn",
5757
"sortingview>=0.11",
58-
"spikeinterface>=0.98.2,<0.99",
58+
"spikeinterface>=0.99.1,<0.100",
5959
"track_linearization>=2.3",
6060
]
6161
dynamic = ["version"]

src/spyglass/spikesorting/v1/curation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def get_sorting(cls, key: dict) -> si.BaseSorting:
213213
}
214214
]
215215

216-
sorting = si.NumpySorting.from_dict(
216+
sorting = si.NumpySorting.from_unit_dict(
217217
units_dict_list, sampling_frequency=sampling_frequency
218218
)
219219

0 commit comments

Comments
 (0)