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):
10211021 self .download_spike_sorting_object (obj = 'channels' , missing = 'ignore' , ** kwargs )
10221022 channels = self ._load_object (self .files ['channels' ], wildcards = self .one .wildcards )
10231023 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 ])
10281028 if 'brainLocationIds_ccf_2017' not in channels :
10291029 _logger .debug (f"loading channels from alyx for { self .files ['channels' ]} " )
10301030 _channels , self .histology = _load_channel_locations_traj (
Original file line number Diff line number Diff line change 22import logging
33import warnings
44
5- __version__ = '3.3.0 '
5+ __version__ = '3.3.1 '
66warnings .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
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+
16## Release Note 3.3.0
27
38### features
You can’t perform that action at this time.
0 commit comments