Skip to content

Commit 682ed17

Browse files
authored
fix(ephys): skip_duplicates in Probe.insert - allow probe reuse
1 parent d2492ee commit 682ed17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

element_array_ephys/ephys.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def auto_generate_entries(cls, session_key):
213213
else:
214214
raise NotImplementedError(f"Unknown acquisition software: {acq_software}")
215215

216-
probe.Probe.insert(probe_list)
216+
probe.Probe.insert(probe_list, skip_duplicates=True)
217217
cls.insert(probe_insertion_list, skip_duplicates=True)
218218

219219

0 commit comments

Comments
 (0)