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):
180180 "probe_type" : spikeglx_meta .probe_model ,
181181 "probe" : spikeglx_meta .probe_SN ,
182182 }
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 ]:
187184 probe_list .append (probe_key )
188185
189186 probe_dir = meta_filepath .parent
@@ -207,10 +204,7 @@ def auto_generate_entries(cls, session_key):
207204 "probe_type" : oe_probe .probe_model ,
208205 "probe" : oe_probe .probe_SN ,
209206 }
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 ]:
214208 probe_list .append (probe_key )
215209 probe_insertion_list .append (
216210 {
You can’t perform that action at this time.
0 commit comments