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

WellPlatePlan selected_wells field_validator #183

Open
fdrgsp opened this issue Jul 12, 2024 · 1 comment
Open

WellPlatePlan selected_wells field_validator #183

fdrgsp opened this issue Jul 12, 2024 · 1 comment

Comments

@fdrgsp
Copy link
Contributor

fdrgsp commented Jul 12, 2024

@tlambert03 I think the reason for which when we do:

useq.WellPlatePlan(plate=6, a1_center_xy=(0,0), selected_wells=())

or

useq.WellPlatePlan(plate=6, a1_center_xy=(0,0), selected_wells=None)

we get all the well selected is because in the WellPlatePlan selected_wells field_validator we run plate.indices(value) which in absence of value returns the entire well indices.

Not sure what's the best way to fix that, if in the validator itself, in plate.indices or maybe in _expression_repr methods...

@tlambert03
Copy link
Member

The intention was to select all wells by default, do you want to change it to select no wells by default?

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