Skip to content

Fix metrics widgets for convert_dtypes#3417

Merged
alejoe91 merged 1 commit intoSpikeInterface:mainfrom
alejoe91:fixes-convert-dtypes
Sep 16, 2024
Merged

Fix metrics widgets for convert_dtypes#3417
alejoe91 merged 1 commit intoSpikeInterface:mainfrom
alejoe91:fixes-convert-dtypes

Conversation

@alejoe91
Copy link
Copy Markdown
Member

Moved some bug fixes out of #3370 for better logging :)

@alejoe91 alejoe91 added the widgets Related to widgets module label Sep 16, 2024
@alejoe91 alejoe91 requested a review from zm711 September 16, 2024 16:35
@alejoe91
Copy link
Copy Markdown
Member Author

@zm711 if you could approve this I'll go ahead wiht the review!

alejoe91 added a commit that referenced this pull request Sep 16, 2024
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.

One tiny question. Should we unify that someway? Why return None sometimes and np.nan other times. It might work better long-term if we can have consistent behavior?

@alejoe91
Copy link
Copy Markdown
Member Author

One tiny question. Should we unify that someway? Why return None sometimes and np.nan other times. It might work better long-term if we can have consistent behavior?

I think with the convert_dtypes it always returns None, but I left the nan part there since it doesn't hurt ;)

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.

Works for me. Thanks.

@alejoe91 alejoe91 merged commit 8a1870c into SpikeInterface:main Sep 16, 2024
@alejoe91 alejoe91 deleted the fixes-convert-dtypes branch March 20, 2026 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

widgets Related to widgets module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants