diff --git a/CHANGELOG.md b/CHANGELOG.md index 94c2c8c..ec92d92 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,14 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [v0.1.8](https://github.com/alleninstitute/npc_stim/releases/tag/v0.1.8) - 2024-04-28 + +[Compare with v0.1.7](https://github.com/alleninstitute/npc_stim/compare/v0.1.7...v0.1.8) + +### Fixed + +- Fix appending running times when data is missing ([95654e1](https://github.com/alleninstitute/npc_stim/commit/95654e13d886ff9e3bd3d77224a72aa07cc5f899) by bjhardcastle). + ## [v0.1.7](https://github.com/alleninstitute/npc_stim/releases/tag/v0.1.7) - 2024-04-27 [Compare with v0.1.6](https://github.com/alleninstitute/npc_stim/compare/v0.1.6...v0.1.7) diff --git a/pyproject.toml b/pyproject.toml index cfa2379..20e6ad4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ dependencies = [ "npc-session>=0.1.33", "scipy>=1.12.0", ] -version = "0.1.7" +version = "0.1.8" classifiers = [ "Development Status :: 3 - Alpha", "Programming Language :: Python :: 3", diff --git a/src/npc_stim/running.py b/src/npc_stim/running.py index 7e5b6fa..85489cb 100644 --- a/src/npc_stim/running.py +++ b/src/npc_stim/running.py @@ -40,7 +40,9 @@ def get_running_speed_from_stim_files( running_speed = np.array([]) timestamps = np.array([]) - def _append(values: npt.NDArray[np.floating], times: npt.NDArray[np.floating]) -> None: + def _append( + values: npt.NDArray[np.floating], times: npt.NDArray[np.floating] + ) -> None: if len(times) + 1 == len(values): values = values[1:]