Skip to content

Raise an error if timeline values are duplicated#129

Open
oplantalech wants to merge 1 commit into
mainfrom
validate_timeline_duplications
Open

Raise an error if timeline values are duplicated#129
oplantalech wants to merge 1 commit into
mainfrom
validate_timeline_duplications

Conversation

@oplantalech
Copy link
Copy Markdown
Contributor

Fix #128

Raise an error if timeline entries are duplicated

@oplantalech oplantalech force-pushed the validate_timeline_duplications branch from 97c3807 to 0976fcc Compare March 26, 2026 14:27
@oplantalech oplantalech force-pushed the validate_timeline_duplications branch from 0976fcc to 3980dc2 Compare March 26, 2026 14:30
@sheridancbio
Copy link
Copy Markdown
Contributor

This PR seems to cover full record duplication.
#108 covers cases where a sample_id appears twice in certain event types (the same sample id acquired at two different time points). These seem complementary and independent, but care should be taken when merging to make sure these two checks do not interfere with each other.

@oplantalech
Copy link
Copy Markdown
Contributor Author

@sheridancbio I think this highlights a need for a broader discussion on how we handle timeline duplications. My PR targets full record duplication to keep the logic lean, but since #108 takes a case-by-case approach, we’re at a crossroads. Do we prefer a catch-all validation, or the granular control seen in #108?

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.

Validator doesn't look for duplicated entries in timeline data

2 participants