@@ -126,7 +126,7 @@ class AcquisitionSoftware(dj.Lookup):
126
126
acq_software ( varchar(24) ): Acquisition software, e.g,. SpikeGLX, OpenEphys
127
127
"""
128
128
129
- definition = """ # Software used for recording of neuropixels probes
129
+ definition = """ # Name of software used for recording of neuropixels probes - SpikeGLX or Open Ephys
130
130
acq_software: varchar(24)
131
131
"""
132
132
contents = zip (["SpikeGLX" , "Open Ephys" ])
@@ -180,7 +180,10 @@ def auto_generate_entries(cls, session_key):
180
180
"probe_type" : spikeglx_meta .probe_model ,
181
181
"probe" : spikeglx_meta .probe_SN ,
182
182
}
183
- if probe_key ["probe" ] not in [p ["probe" ] for p in probe_list ]:
183
+ if (
184
+ probe_key ["probe" ] not in [p ["probe" ] for p in probe_list ]
185
+ and probe_key not in probe .Probe ()
186
+ ):
184
187
probe_list .append (probe_key )
185
188
186
189
probe_dir = meta_filepath .parent
@@ -204,7 +207,10 @@ def auto_generate_entries(cls, session_key):
204
207
"probe_type" : oe_probe .probe_model ,
205
208
"probe" : oe_probe .probe_SN ,
206
209
}
207
- if probe_key ["probe" ] not in [p ["probe" ] for p in probe_list ]:
210
+ if (
211
+ probe_key ["probe" ] not in [p ["probe" ] for p in probe_list ]
212
+ and probe_key not in probe .Probe ()
213
+ ):
208
214
probe_list .append (probe_key )
209
215
probe_insertion_list .append (
210
216
{
@@ -533,7 +539,6 @@ def make(self, key):
533
539
- 1 : 0 : - self ._skip_channel_counts
534
540
]
535
541
536
- # (sample x channel)
537
542
lfp = oe_probe .lfp_timeseries [:, lfp_channel_ind ]
538
543
lfp = (
539
544
lfp * np .array (oe_probe .lfp_meta ["channels_gains" ])[lfp_channel_ind ]
0 commit comments