Skip to content

Commit

Permalink
Merge pull request #182 from datajoint/staging
Browse files Browse the repository at this point in the history
fix(probe_geometry): bugfix in x_coords for probe with staggered electrode positions
  • Loading branch information
JaerongA authored Jan 19, 2024
2 parents 6184b2f + d65b70f commit 95d25f2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and
[Keep a Changelog](https://keepachangelog.com/en/1.0.0/) convention.

## [0.3.2] - 2024-01-12
+ Fix - `probe_geometry` bugfix for incorrect handling of probes with staggered electrode positions

## [0.3.1] - 2023-11-28
+ Update - Flowchart borders for consistency with other DataJoint Elements
+ Fix - `dj.config()` setup moved to `tutorial_pipeline.py` instead of `__init__.py`
Expand Down
2 changes: 1 addition & 1 deletion element_array_ephys/readers/probe_geometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def build_electrode_layouts(
row_offset = np.zeros_like(x_coords)
else:
assert len(row_offset) == row_count
row_offset = np.tile(row_offset, col_count_per_shank)
row_offset = np.repeat(row_offset, col_count_per_shank)
x_coords = x_coords + row_offset

shank_cols = np.tile(range(col_count_per_shank), row_count)
Expand Down
2 changes: 1 addition & 1 deletion element_array_ephys/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""Package metadata."""
__version__ = "0.3.1"
__version__ = "0.3.2"

0 comments on commit 95d25f2

Please sign in to comment.