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 @@ -1020,10 +1020,10 @@ def load_channels(self, **kwargs):
10201020 self .download_spike_sorting_object (obj = 'channels' , missing = 'ignore' , ** kwargs )
10211021 channels = self ._load_object (self .files ['channels' ], wildcards = self .one .wildcards )
10221022 if 'electrodeSites' in self .files : # if common dict keys, electrodeSites prevails
1023- esites = channels | self ._load_object (self .files ['electrodeSites' ], wildcards = self .one .wildcards )
1024- if alfio .check_dimensions (esites ) != 0 :
1025- esites = self ._load_object (self .files ['electrodeSites' ], wildcards = self .one .wildcards )
1026- esites ['rawInd' ] = np .arange (esites [list (esites .keys ())[0 ]].shape [0 ])
1023+ channels = channels | self ._load_object (self .files ['electrodeSites' ], wildcards = self .one .wildcards )
1024+ if alfio .check_dimensions (channels ) != 0 :
1025+ channels = self ._load_object (self .files ['electrodeSites' ], wildcards = self .one .wildcards )
1026+ channels ['rawInd' ] = np .arange (channels [list (channels .keys ())[0 ]].shape [0 ])
10271027 if 'brainLocationIds_ccf_2017' not in channels :
10281028 _logger .debug (f"loading channels from alyx for { self .files ['channels' ]} " )
10291029 _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