File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1212from  pynwb .behavior  import  SpatialSeries 
1313from  pynwb .misc  import  Units 
1414
15- from  ..logger  import  set_logging 
1615from  ..config  import  _load_config 
16+ from  ..logger  import  set_logging 
1717from  ..pipeline .nwb  import  run_nwb_conversion 
1818
1919logger  =  set_logging (__name__ )
@@ -212,7 +212,7 @@ def _parse_pynwb_probe(
212212        brain_area_spikes_and_chan_best [brain_area .replace ("-" , "_" )][
213213            "unit_guide" 
214214        ] =  unit_guide 
215-         brain_area_spikes_and_chan_best [brain_area .replace ("-" , "_" )]["KSLabel " ] =  (
215+         brain_area_spikes_and_chan_best [brain_area .replace ("-" , "_" )]["kslabel " ] =  (
216216            probe_units .KSLabel [brain_area_neurons ][sorted_chan_best_indices ]
217217        )
218218
@@ -662,8 +662,8 @@ def add_spiking_data_to_df(self):
662662                    ] *  len (self .pyaldata_df )
663663
664664                    # Add kilosort labels 
665-                     self .pyaldata_df [f"{ brain_area_key } _KSLabel " ] =  [
666-                         brain_area_spike_data ["KSLabel " ]
665+                     self .pyaldata_df [f"{ brain_area_key } _kslabel " ] =  [
666+                         brain_area_spike_data ["kslabel " ]
667667                    ] *  len (self .pyaldata_df )
668668
669669                    self .pyaldata_df [f"{ brain_area_key }  _spikes" ] =  np .nan 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments