Skip to content

Commit eb711e2

Browse files
committed
Release 0.10.1
1 parent 2a92b6c commit eb711e2

5 files changed

Lines changed: 6 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.10.1] - 2026-06-01
11+
1012
### Fixed
1113
- **NumPy 2.0 regression driving descending-drive / afferent cells.** `DD.integrate`, `DD_Gamma.integrate` and `AffIa.integrate` now coerce their input to a scalar via `np.asarray(y).item()`, so driving a cell with a neo `AnalogSignal` slice (shape `(1,)`) works again under NumPy 2.0. Previously this raised `TypeError: only 0-dimensional arrays can be converted to Python scalars` (NumPy 2.0 no longer auto-casts a single-element array to a Python scalar), which broke the descending-drive example gallery. Covered by a regression test.
1214
- **Docs gallery build.** Corrected a wrong `bin_spike_trains` import (`myogen.utils``myogen.utils.binning`) in the Watanabe visualization example, made the noise parameter-sweep example sphinx-gallery-safe (`Path("./results")` instead of `Path(__file__)`), and excluded the noise-calibration example from gallery execution since it requires a private iEMG recording that isn't available in CI.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
[![Documentation](https://img.shields.io/badge/docs-latest-blue.svg)](https://nsquaredlab.github.io/MyoGen/)
1010
[![Python 3.12+](https://img.shields.io/badge/python-3.12+-blue.svg)](https://www.python.org/downloads/)
11-
[![Version](https://img.shields.io/badge/version-0.10.0-orange.svg)](https://github.com/NsquaredLab/MyoGen)
11+
[![Version](https://img.shields.io/badge/version-0.10.1-orange.svg)](https://github.com/NsquaredLab/MyoGen)
1212

1313
[Installation](https://nsquaredlab.github.io/MyoGen/#installation)
1414
[Documentation](https://nsquaredlab.github.io/MyoGen/)

docs/source/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
[![Documentation](https://img.shields.io/badge/docs-latest-blue.svg)](https://nsquaredlab.github.io/MyoGen/)
1010
[![Python 3.12+](https://img.shields.io/badge/python-3.12+-blue.svg)](https://www.python.org/downloads/)
11-
[![Version](https://img.shields.io/badge/version-0.10.0-orange.svg)](https://github.com/NsquaredLab/MyoGen)
11+
[![Version](https://img.shields.io/badge/version-0.10.1-orange.svg)](https://github.com/NsquaredLab/MyoGen)
1212

1313
[Installation](https://nsquaredlab.github.io/MyoGen/#installation)
1414
[Documentation](https://nsquaredlab.github.io/MyoGen/)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "MyoGen"
3-
version = "0.10.0"
3+
version = "0.10.1"
44
description = "Modular and extensible neuromuscular simulation framework for generating physiologically grounded motor-unit activity, muscle force, and EMG signals (surface and intramuscular)"
55
readme = "README.md"
66
requires-python = ">=3.12,<3.14"

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)