File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -1021,10 +1021,10 @@ def load_channels(self, **kwargs):
1021
1021
self .download_spike_sorting_object (obj = 'channels' , missing = 'ignore' , ** kwargs )
1022
1022
channels = self ._load_object (self .files ['channels' ], wildcards = self .one .wildcards )
1023
1023
if 'electrodeSites' in self .files : # if common dict keys, electrodeSites prevails
1024
- esites = channels | self ._load_object (self .files ['electrodeSites' ], wildcards = self .one .wildcards )
1025
- if alfio .check_dimensions (esites ) != 0 :
1026
- esites = self ._load_object (self .files ['electrodeSites' ], wildcards = self .one .wildcards )
1027
- esites ['rawInd' ] = np .arange (esites [list (esites .keys ())[0 ]].shape [0 ])
1024
+ channels = channels | self ._load_object (self .files ['electrodeSites' ], wildcards = self .one .wildcards )
1025
+ if alfio .check_dimensions (channels ) != 0 :
1026
+ channels = self ._load_object (self .files ['electrodeSites' ], wildcards = self .one .wildcards )
1027
+ channels ['rawInd' ] = np .arange (channels [list (channels .keys ())[0 ]].shape [0 ])
1028
1028
if 'brainLocationIds_ccf_2017' not in channels :
1029
1029
_logger .debug (f"loading channels from alyx for { self .files ['channels' ]} " )
1030
1030
_channels , self .histology = _load_channel_locations_traj (
Original file line number Diff line number Diff line change 2
2
import logging
3
3
import warnings
4
4
5
- __version__ = '3.3.0 '
5
+ __version__ = '3.3.1 '
6
6
warnings .filterwarnings ('always' , category = DeprecationWarning , module = 'ibllib' )
7
7
8
8
# if this becomes a full-blown library we should let the logging configuration to the discretion of the dev
Original file line number Diff line number Diff line change
1
+ ## Release Note 3.3.1
2
+
3
+ ### Bugfixes
4
+ - SpikeSortingLoader: returns channels from 'electrodeSites' if available (it always was the intention...)
5
+
1
6
## Release Note 3.3.0
2
7
3
8
### features
You can’t perform that action at this time.
0 commit comments