Skip to content

Commit

Permalink
Update spikeinterface version (#852)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
khl02007 and edeno authored Mar 7, 2024
1 parent 0b944cd commit a689162
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
- Replace deprecated calls to `yaml.safe_load()` #834

- Spikesorting:
- 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
- Bug fix in single artifact interval edge case #859

## [0.5.0] (February 9, 2024)
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ dependencies:
- pubnub<=6.4.0
- pynwb>=2.2.0,<3
- sortingview>=0.11
- spikeinterface>=0.98.2,<0.99
- spikeinterface>=0.99.1,<0.100
- .
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ dependencies = [
"ripple_detection",
"seaborn",
"sortingview>=0.11",
"spikeinterface>=0.98.2,<0.99",
"spikeinterface>=0.99.1,<0.100",
"track_linearization>=2.3",
]
dynamic = ["version"]
Expand Down
2 changes: 1 addition & 1 deletion src/spyglass/spikesorting/v1/curation.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def get_sorting(cls, key: dict) -> si.BaseSorting:
}
]

sorting = si.NumpySorting.from_dict(
sorting = si.NumpySorting.from_unit_dict(
units_dict_list, sampling_frequency=sampling_frequency
)

Expand Down

0 comments on commit a689162

Please sign in to comment.