Skip to content

Turn off optimize_palette in our colour selector - #288

Merged
alejoe91 merged 1 commit into
SpikeInterface:mainfrom
chrishalcrow:remove-optimize-palette
Oct 15, 2026
Merged

alejoe91 merged 1 commit into
SpikeInterface:mainfrom
chrishalcrow:remove-optimize-palette

Conversation

@chrishalcrow

Copy link
Copy Markdown
Member

When I run the GUI, I get 4 divide by zero warnings for each color in our color palette. According to a friend, this is due to some weird BLAS bug which actually affects nothing.

But it turns out that the warning appears during optimization of the palette. create_palette makes an initial color palette guess, which is very good, than does a optimization by nudging each color a bit and seeing if this improves things. For our use case - finding ~20 colours that are as dissimilar as possible - the optimizations make no impact. So I propose turning it off rather than suppressing the warnings.

@alejoe91
alejoe91 merged commit 2dbdf83 into SpikeInterface:main Oct 15, 2026
2 checks passed
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.

2 participants