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

Update age validation #83

Merged
merged 3 commits into from
Jan 24, 2024
Merged

Update age validation #83

merged 3 commits into from
Jan 24, 2024

Conversation

anngvu
Copy link
Contributor

@anngvu anngvu commented Jan 24, 2024

Hmm, so we want to keep age required so that's still emphasized in data collection, but required does not accept blanks. So this changes validation to use regex. For truly missing data, we will want contributors to be explicit, so let's only accept "unknown" (or another possible value is "Not Reported").

Helpful reference: https://sagebionetworks.jira.com/wiki/spaces/SCHEM/pages/2645262364/Data+Model+Validation+Rules#Regex-Validation-Type

Copy link

Test Suite Report

Template Generation

template result link
BulkMethylation-seqLevel1 😄 template link
BulkMethylation-seqLevel2 😄 template link
BulkMethylation-seqLevel3 😄 template link
CohortCoreTemplate 😄 template link
ImagingLevel2 😄 template link
ImagingLevel2Channels 😄 template link
ScRNA-seqLevel1 😄 template link
ScRNA-seqLevel2 😄 template link
ScRNA-seqLevel3 😄 template link
ScRNA-seqLevel4 😄 template link

Manifest Validation

TODO

@cconrad8
Copy link
Contributor

@anngvu it looks good to me!

we could change the other ages in a different PR too. as well as add more validation rules

@cconrad8 cconrad8 self-requested a review January 24, 2024 15:40
@anngvu anngvu merged commit 29c98c7 into main Jan 24, 2024
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.

3 participants