You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Found that some of the entries in SpikeSortingOutput.CuratedSpikeSorting are duplicated with different merge_ids. This should be prevented by the UUID hashing in Merge._merge_insert().
If so, should _merge_insert check for a matching entry in the part table for a given source primary key before generating a UUID and inserting? This would help prevent overlapping entries going forward in case of other hash method changes
Can confirm the difference is due to inclusion of the source table in the hash generation. duplicate entry UUIDs match hash results with and without the source table respectively.
Solution: Implement check for existing key in part table prior to UUID generation and insert
Describe the bug
SpikeSortingOutput.CuratedSpikeSorting
are duplicated with different merge_ids. This should be prevented by the UUID hashing inMerge._merge_insert()
._merge_insert
check for a matching entry in the part table for a given source primary key before generating a UUID and inserting? This would help prevent overlapping entries going forward in case of other hash method changesTo Reproduce
Example duplicate key:
The text was updated successfully, but these errors were encountered: