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

Fixed examples and container improvements #37

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

kingofpayne
Copy link
Collaborator

This PR fixes broken examples due to recent breaking changes.

It also replaces the number_of_traces attributes by implementing the __len__ method in each container class, which is more pythonic.

Finally, as modifying number_of_traces could be used to limit the number of traces for an analysis, this must now be done by using the new class Slice which wraps an existing container. Any container has sliced(start, stop) and limited(count) shortcut methods to wrap the container in a Slice.

Fixed broken examples and tests.
Fixed documentation.
Replaced containers number_of_traces attributes by __len__
implementation.
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