Skip to content

0.11.3#606

Merged
gviejo merged 9 commits into
mainfrom
dev
May 26, 2026
Merged

0.11.3#606
gviejo merged 9 commits into
mainfrom
dev

Conversation

@gviejo

@gviejo gviejo commented May 26, 2026

Copy link
Copy Markdown
Contributor

This pull request focuses on improving documentation accuracy, fixing doctests, and enhancing CI reliability for the project. It also includes a bug fix for timestamp precision and channel indexing, and makes many docstring examples more consistent and up-to-date with the current API and output formats.

Documentation and Testing Improvements:

  • Fixed and updated doctests across core (interval_set, time_series, ts_group) and process modules (signal, decoding, randomize), ensuring that all examples reflect the latest API and output formatting. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17]
  • Added a new GitHub Actions job to run doctests as part of the CI workflow, ensuring doctest coverage on every pull request.

Bug Fixes:

  • Fixed NeuroSuiteIO channel indexing so that skip and groups are keyed by channel ID, not sequential count, correcting channel ordering when IDs are non-contiguous.
  • Fixed TsIndex to preserve full floating-point precision for timestamps already in seconds by removing unnecessary rounding, resolving precision loss for UTC-based timestamps. [1] [2] [3]

Docstring and Example Consistency:

  • Updated docstring examples throughout core modules to use consistent output formatting, new API conventions, and improved clarity (e.g., new table formats, updated attribute names, and more realistic example outputs). [1] [2] [3] [4] [5] [6] [7] [8] [9]

Release Notes:

  • Added release notes for version 0.11.3, summarizing the above changes.

These changes improve the reliability of the documentation, ensure that doctests are always up to date, and fix subtle bugs affecting data precision and channel handling.

@codecov

codecov Bot commented May 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
pynapple/core/config.py 82.22% <ø> (ø)
pynapple/core/interval_set.py 97.13% <ø> (ø)
pynapple/core/time_index.py 100.00% <100.00%> (ø)
pynapple/core/time_series.py 93.43% <ø> (ø)
pynapple/core/ts_group.py 93.00% <ø> (ø)
pynapple/io/interface_neurosuite.py 93.15% <100.00%> (ø)
pynapple/process/decoding.py 92.43% <ø> (ø)
pynapple/process/perievent.py 100.00% <ø> (ø)
pynapple/process/randomize.py 84.61% <ø> (ø)
pynapple/process/signal.py 91.66% <ø> (ø)
... and 2 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@gviejo gviejo merged commit 2a64497 into main May 26, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant