File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -1068,9 +1068,14 @@ def make(self, key):
1068
1068
}
1069
1069
1070
1070
spike_locations = sorting_analyzer .get_extension ("spike_locations" )
1071
- extremum_channel_inds = si .template_tools .get_template_extremum_channel (sorting_analyzer , outputs = "index" )
1071
+ extremum_channel_inds = si .template_tools .get_template_extremum_channel (
1072
+ sorting_analyzer , outputs = "index"
1073
+ )
1072
1074
spikes_df = pd .DataFrame (
1073
- sorting_analyzer .sorting .to_spike_vector (extremum_channel_inds = extremum_channel_inds ))
1075
+ sorting_analyzer .sorting .to_spike_vector (
1076
+ extremum_channel_inds = extremum_channel_inds
1077
+ )
1078
+ )
1074
1079
1075
1080
units = []
1076
1081
for unit_idx , unit_id in enumerate (si_sorting .unit_ids ):
Original file line number Diff line number Diff line change @@ -114,7 +114,9 @@ def make(self, key):
114
114
spikeglx_recording .validate_file ("ap" )
115
115
data_dir = spikeglx_meta_filepath .parent
116
116
117
- si_extractor = si .extractors .neoextractors .spikeglx .SpikeGLXRecordingExtractor
117
+ si_extractor = (
118
+ si .extractors .neoextractors .spikeglx .SpikeGLXRecordingExtractor
119
+ )
118
120
stream_names , stream_ids = si .extractors .get_neo_streams (
119
121
"spikeglx" , folder_path = data_dir
120
122
)
@@ -125,7 +127,9 @@ def make(self, key):
125
127
oe_probe = ephys .get_openephys_probe_data (key )
126
128
assert len (oe_probe .recording_info ["recording_files" ]) == 1
127
129
data_dir = oe_probe .recording_info ["recording_files" ][0 ]
128
- si_extractor = si .extractors .neoextractors .openephys .OpenEphysBinaryRecordingExtractor
130
+ si_extractor = (
131
+ si .extractors .neoextractors .openephys .OpenEphysBinaryRecordingExtractor
132
+ )
129
133
130
134
stream_names , stream_ids = si .extractors .get_neo_streams (
131
135
"openephysbinary" , folder_path = data_dir
You can’t perform that action at this time.
0 commit comments