Skip to content

Commit 5c04d20

Browse files
authored
Merge pull request #213 from ttngu207/main
Auto generate ProbeInsertion allows duplicate probes (e.g. probe reuse)
2 parents d2492ee + 4c0bfc9 commit 5c04d20

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and
44
[Keep a Changelog](https://keepachangelog.com/en/1.0.0/) convention.
55

6+
## [0.4.1] - 2025-02-13
7+
8+
+ Fix - Auto generate ProbeInsertion allows duplicate probes (e.g. probe reuse)
9+
610
## [0.4.0] - 2025-01-28
711

812
+ Update - No longer support multiple variation of ephys module, keep only `ephys_no_curation` module, renamed to `ephys`

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

element_array_ephys/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""Package metadata."""
22

3-
__version__ = "0.4.0"
3+
__version__ = "0.4.1"

0 commit comments

Comments
 (0)