Skip to content

Only init views in layout dict#257

Merged
alejoe91 merged 1 commit intoSpikeInterface:mainfrom
chrishalcrow:dont-init-all-views
Mar 24, 2026
Merged

Only init views in layout dict#257
alejoe91 merged 1 commit intoSpikeInterface:mainfrom
chrishalcrow:dont-init-all-views

Conversation

@chrishalcrow
Copy link
Copy Markdown
Member

At the moment, in QT, we init all views then only display the ones the user has chosen. This PR skips initing views which are not in the layout.

Problem arose when I was making a plug-in that required external_data on init (actually, I could move that aware from the init...). But seems sensible in general!

@alejoe91
Copy link
Copy Markdown
Member

LGTM!

@alejoe91 alejoe91 merged commit be4d6cc into SpikeInterface:main Mar 24, 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