Skip to content

Commit 78e82df

Browse files
authored
Merge pull request #1009 from int-brain-lab/hotfix/3.4.1
spike sorting loader loads proper revisions
2 parents d27a686 + 48ef40a commit 78e82df

File tree

4 files changed

+25
-7
lines changed

4 files changed

+25
-7
lines changed

release_notes.md renamed to CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
9+
10+
## [3.4.1] 2025-07-02
11+
12+
### Fixed
13+
14+
- SpikeSortingLoader takes into account revisions
15+
- There is a specific test for `spikeinterface` CI in our integration tests
16+
17+
118
## Release Note 3.4.0
219

320
### features

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ The library is currently 2 main modules:
99
- **brainbox**: neuroscience analysis oriented library
1010
- **ibllib**: general purpose library containing I/O, signal processing and IBL data pipelines utilities.
1111

12-
[Release Notes here](release_notes.md)
12+
[Release Notes here](CHANGELOG.md)
1313

1414
## Requirements
1515
**OS**: Only tested on Linux. Windows and Mac may work, but are not supported.
@@ -26,9 +26,10 @@ See https://int-brain-lab.github.io/iblenv/07_contribution.html
2626
We use Semantic Versioning.
2727

2828
Before committing to your branch:
29-
- run tests
30-
- flake8
31-
This is also enforced by continuous integration.
29+
- check formating `flake8`
30+
- run tests `python -m unittest discover`
31+
32+
Pull request to `develop` or `main`.
3233

3334

3435
## Matlab Library

brainbox/io/one.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -900,7 +900,7 @@ def load_spike_sorting_object(self, obj, *args, revision=None, **kwargs):
900900
:return:
901901
"""
902902
revision = revision if revision is not None else self.revision
903-
self.download_spike_sorting_object(obj, *args, **kwargs)
903+
self.download_spike_sorting_object(obj, *args, revision=revision, **kwargs)
904904
return self._load_object(self.files[obj])
905905

906906
def get_version(self, spike_sorter=None):
@@ -935,7 +935,7 @@ def download_spike_sorting_object(self, obj, spike_sorter=None, dataset_types=No
935935
try:
936936
self.files[obj] = self.one.load_object(
937937
self.eid, obj=obj, attribute=attributes.get(obj, None),
938-
collection=collection, download_only=True, **kwargs)
938+
collection=collection, download_only=True, revision=revision, **kwargs)
939939
except ALFObjectNotFound as e:
940940
if missing == 'raise':
941941
raise e

ibllib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import logging
33
import warnings
44

5-
__version__ = '3.4.0'
5+
__version__ = '3.4.1'
66
warnings.filterwarnings('always', category=DeprecationWarning, module='ibllib')
77

88
# if this becomes a full-blown library we should let the logging configuration to the discretion of the dev

0 commit comments

Comments
 (0)