Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to deselect all areas and default of None #21

Open
brianhhu opened this issue Jun 25, 2020 · 1 comment
Open

Option to deselect all areas and default of None #21

brianhhu opened this issue Jun 25, 2020 · 1 comment

Comments

@brianhhu
Copy link
Collaborator

I couldn't find how to deselect all structures using the CCFwidget- it seems at least one structure has to be selected. Currently, selected_acronyms and selected_allen_ids are initialized to None, which (unintuitively) actually selects all structures. It might be helpful to have something more like an 'all' option for all structures, a 'None' option for no structures (i.e. label map weights set close to zero), and the ability to select certain structures when passing either selected_acronyms or selected_allen_ids.

Relatedly, re-setting selected_allen_ids or selected_acronyms back to the default of None (e.g. using cc.selected_acronyms = None) results in an error.

@thewtex
Copy link
Collaborator

thewtex commented Jun 26, 2020

Please take a look at #22

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

No branches or pull requests

2 participants