File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -182,7 +182,6 @@ def auto_generate_entries(cls, session_key):
182
182
}
183
183
if (
184
184
probe_key ["probe" ] not in [p ["probe" ] for p in probe_list ]
185
- and probe_key not in probe .Probe ()
186
185
):
187
186
probe_list .append (probe_key )
188
187
@@ -209,7 +208,6 @@ def auto_generate_entries(cls, session_key):
209
208
}
210
209
if (
211
210
probe_key ["probe" ] not in [p ["probe" ] for p in probe_list ]
212
- and probe_key not in probe .Probe ()
213
211
):
214
212
probe_list .append (probe_key )
215
213
probe_insertion_list .append (
@@ -222,7 +220,7 @@ def auto_generate_entries(cls, session_key):
222
220
else :
223
221
raise NotImplementedError (f"Unknown acquisition software: { acq_software } " )
224
222
225
- probe .Probe .insert (probe_list )
223
+ probe .Probe .insert (probe_list , skip_duplicates = True )
226
224
cls .insert (probe_insertion_list , skip_duplicates = True )
227
225
228
226
You can’t perform that action at this time.
0 commit comments