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

Allow parsing less specific dates #1000

Merged
merged 3 commits into from
Jul 21, 2023
Merged

Allow parsing less specific dates #1000

merged 3 commits into from
Jul 21, 2023

Conversation

naglepuff
Copy link
Collaborator

Previously, biosample collection dates without a month or year would not be ingested. This interpolates months/days as needed
Fix #999

@naglepuff naglepuff requested a review from marySalvi July 20, 2023 22:35
Sometimes the raw value of collection date doesn't need to be changed.
Our validator catches specific exceptions, but should otherwise leave
the value alone.
@naglepuff
Copy link
Collaborator Author

Upon further investigation, the first commit to this branch breaks datetime validation for other collection dates. I'm currently investigating further

Testing was done on production data 7/21/23 to determine
patterns to check.
@naglepuff naglepuff merged commit 5939651 into main Jul 21, 2023
2 checks passed
@naglepuff naglepuff deleted the 999-ingest-dates branch July 21, 2023 18:06
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.

Ingest: validation errors when parsing some datestrings from mongo
1 participant