File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -180,10 +180,7 @@ 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 (
184
- probe_key ["probe" ] not in [p ["probe" ] for p in probe_list ]
185
- and probe_key not in probe .Probe ()
186
- ):
183
+ if probe_key ["probe" ] not in [p ["probe" ] for p in probe_list ]:
187
184
probe_list .append (probe_key )
188
185
189
186
probe_dir = meta_filepath .parent
@@ -207,10 +204,7 @@ def auto_generate_entries(cls, session_key):
207
204
"probe_type" : oe_probe .probe_model ,
208
205
"probe" : oe_probe .probe_SN ,
209
206
}
210
- if (
211
- probe_key ["probe" ] not in [p ["probe" ] for p in probe_list ]
212
- and probe_key not in probe .Probe ()
213
- ):
207
+ if probe_key ["probe" ] not in [p ["probe" ] for p in probe_list ]:
214
208
probe_list .append (probe_key )
215
209
probe_insertion_list .append (
216
210
{
You can’t perform that action at this time.
0 commit comments