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

Validate C Elegans Sex Correctly #705

Merged
merged 4 commits into from
Mar 26, 2024
Merged

Conversation

garrettmflynn
Copy link
Member

This PR allows us to validate C Elegans sex correctly by grouping the sex and species properties on the Subjects table to validate with each other.

They now both validate when one changes.

As far as I can tell, Handsontable doesn't allow for different dropdown configurations to be used per-cell—only per-column—so all options have to be shown all the time.

@garrettmflynn garrettmflynn self-assigned this Mar 26, 2024
@CodyCBakerPhD
Copy link
Collaborator

image

The invalidation message is incorrect in this case, see what it should be in the Inspector: https://github.com/NeurodataWithoutBorders/nwbinspector/blob/dev/src/nwbinspector/checks/nwbfile_metadata.py#L211

Also why is what I have selected there invalid?

@garrettmflynn
Copy link
Member Author

Ah I see. Works one way (Sex then Species) but not the other.

@garrettmflynn
Copy link
Member Author

Should be fixed now!

@CodyCBakerPhD CodyCBakerPhD enabled auto-merge March 26, 2024 20:47
@CodyCBakerPhD CodyCBakerPhD merged commit b3f89db into main Mar 26, 2024
14 of 15 checks passed
@CodyCBakerPhD CodyCBakerPhD deleted the validate-c-elegans-correctly branch March 26, 2024 20:53
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