Skip to content

Fix plot traces when t_start is defined#3893

Merged
alejoe91 merged 3 commits into
SpikeInterface:mainfrom
alejoe91:fix-plot-traces-with-tstart
Apr 29, 2025
Merged

Fix plot traces when t_start is defined#3893
alejoe91 merged 3 commits into
SpikeInterface:mainfrom
alejoe91:fix-plot-traces-with-tstart

Conversation

@alejoe91
Copy link
Copy Markdown
Member

We were not handling correctly the case when time_vector is None, but t_starts are present

@alejoe91 alejoe91 added bug Something isn't working widgets Related to widgets module labels Apr 29, 2025
@alejoe91 alejoe91 requested a review from chrishalcrow April 29, 2025 10:11
Copy link
Copy Markdown
Member

@zm711 zm711 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In line 138 we verify that we have an appropriate segment_index for multisegment? Wouldn't it make sense to move those lines before we do the time vector stuff?

Otherwise this PR looks good to me. So if you'd prefer to discuss in a different PR just let me know.

@alejoe91 alejoe91 closed this Apr 29, 2025
@alejoe91
Copy link
Copy Markdown
Member Author

In line 138 we verify that we have an appropriate segment_index for multisegment? Wouldn't it make sense to move those lines before we do the time vector stuff?

Otherwise this PR looks good to me. So if you'd prefer to discuss in a different PR just let me know.

Totally! Moved in last commit

@alejoe91 alejoe91 reopened this Apr 29, 2025
@alejoe91
Copy link
Copy Markdown
Member Author

@zm711 I didn't mean to close it! Probably hit the wrong button eheheh

@chrishalcrow
Copy link
Copy Markdown
Member

Works for me, and looks good

Copy link
Copy Markdown
Member

@zm711 zm711 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good by me too :)

@alejoe91 alejoe91 merged commit 533432f into SpikeInterface:main Apr 29, 2025
17 of 18 checks passed
@alejoe91 alejoe91 deleted the fix-plot-traces-with-tstart branch March 20, 2026 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working widgets Related to widgets module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants