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

Warn of duplicate entries #23

Closed
rhagenson opened this issue Nov 15, 2019 · 0 comments
Closed

Warn of duplicate entries #23

rhagenson opened this issue Nov 15, 2019 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@rhagenson
Copy link
Owner

rhagenson commented Nov 15, 2019

In all input formats (relatedness, demographics, and pedigree), I should add warnings if duplicate entries are found.

For relatedness (currently --input), this would be cases of:

  1. ID1 and ID2 repeated with different Rel entry
  2. ID1 and ID2 switched with different Rel entry

For parentage (currently --parentage), this would be cases of:

  1. ID repeated with different Sire and/or Dam
  2. ID repeated with switched Sire and Dam

For demographics (currently --demographics), this would be cases of:

  1. ID repeated with different Sex and/or Birth Year

For all of these, if it is simply a duplicate entry it should be downgraded to an information message rather than a warning because there is mostly no issue with duplicates, but a user might want to know.

@rhagenson rhagenson added enhancement New feature or request good first issue Good for newcomers labels Nov 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant