Skip to content

Commit

Permalink
Upgrade #3059
Browse files Browse the repository at this point in the history
  • Loading branch information
alejoe91 committed Jun 24, 2024
1 parent 68886b0 commit 9e8a709
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/spikeinterface/core/baserecording.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,6 @@ def get_traces(
start_frame = int(start_frame) if start_frame is not None else 0
num_samples = rs.get_num_samples()
end_frame = int(min(end_frame, num_samples)) if end_frame is not None else num_samples
if start_frame < 0:
raise ValueError("start_frame cannot be negative")
traces = rs.get_traces(start_frame=start_frame, end_frame=end_frame, channel_indices=channel_indices)
if order is not None:
assert order in ["C", "F"]
Expand Down

0 comments on commit 9e8a709

Please sign in to comment.