Skip to content

Commit d65b70f

Browse files
authored
Merge pull request #181 from ttngu207/main
fix(probe_geometry): bugfix in x_coords for probe with staggered electrode positions
2 parents 6184b2f + 2e79f3d commit d65b70f

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
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.3.2] - 2024-01-12
7+
+ Fix - `probe_geometry` bugfix for incorrect handling of probes with staggered electrode positions
8+
69
## [0.3.1] - 2023-11-28
710
+ Update - Flowchart borders for consistency with other DataJoint Elements
811
+ Fix - `dj.config()` setup moved to `tutorial_pipeline.py` instead of `__init__.py`

element_array_ephys/readers/probe_geometry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def build_electrode_layouts(
188188
row_offset = np.zeros_like(x_coords)
189189
else:
190190
assert len(row_offset) == row_count
191-
row_offset = np.tile(row_offset, col_count_per_shank)
191+
row_offset = np.repeat(row_offset, col_count_per_shank)
192192
x_coords = x_coords + row_offset
193193

194194
shank_cols = np.tile(range(col_count_per_shank), row_count)

element_array_ephys/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
"""Package metadata."""
2-
__version__ = "0.3.1"
2+
__version__ = "0.3.2"

0 commit comments

Comments
 (0)