-
Notifications
You must be signed in to change notification settings - Fork 223
Correct handling of time in plot_traces #3393
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
base: main
Are you sure you want to change the base?
Changes from 1 commit
53ee86a
e225fd5
c9a0e64
01a21ce
0b6d49f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,9 @@ def __init__(self, parent_recording, start_frame=None, end_frame=None): | |
if start_frame is None: | ||
start_frame = 0 | ||
else: | ||
assert 0 <= start_frame < parent_size | ||
assert ( | ||
0 <= start_frame < parent_size | ||
), f"'start_frame' must be fewer than number of samples in parent: {parent_size}" | ||
|
||
|
||
if end_frame is None: | ||
end_frame = parent_size | ||
|
Uh oh!
There was an error while loading. Please reload this page.