Skip to content

Commit

Permalink
Bump [skip CI]
Browse files Browse the repository at this point in the history
  • Loading branch information
bjhardcastle committed Apr 28, 2024
1 parent 95654e1 commit 7ec2edc
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

<!-- insertion marker -->
## [v0.1.8](https://github.com/alleninstitute/npc_stim/releases/tag/v0.1.8) - 2024-04-28

<small>[Compare with v0.1.7](https://github.com/alleninstitute/npc_stim/compare/v0.1.7...v0.1.8)</small>

### 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

<small>[Compare with v0.1.6](https://github.com/alleninstitute/npc_stim/compare/v0.1.6...v0.1.7)</small>
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 3 additions & 1 deletion src/npc_stim/running.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:]

Expand Down

0 comments on commit 7ec2edc

Please sign in to comment.