Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix indexing of IntervalSet to be able to use -1 #409

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

sjvenditto
Copy link
Collaborator

addresses issue #407

fixes indexing of IntervalSet such that indexing like ep[-1] or ep[[0,-1]] doesn't throw an error

@sjvenditto sjvenditto requested a review from gviejo as a code owner February 3, 2025 16:43
Copy link

codecov bot commented Feb 3, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Files with missing lines Coverage Δ
pynapple/core/interval_set.py 94.35% <100.00%> (+0.01%) ⬆️
pynapple/core/metadata_class.py 78.89% <ø> (-3.67%) ⬇️

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