biocore / biocore/microsetta-private-api

Sample collection date and time cannot only have one null

Open
#563 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
6
Forks
18
PR merge metrics
No merged PRs in 30d

Description

When creating a sample object [from DB](https://github.com/biocore/microsetta-private-api/blob/07a57578d63dc449b4b1e85cb80592a0a24767ea/microsetta_private_api/model/sample.py#L54), the code only creates the `datetime_collected` field when both date and time are non-null. In some situations there might be barcodes that only has the sampled date or time but not both, so that the db information is not accurately represented in downstream flows (e.g. finding sample summaries). @cassidysymons

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.