-
Notifications
You must be signed in to change notification settings - Fork 587
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
VS_1327 ensure sample ids are unique #8818
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ed input file) are unique.
…sureSampleIdsAreUnique
rsasch
approved these changes
May 8, 2024
Comment on lines
6
to
7
# A comment is here. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggested change
# A comment is here. |
koncheto-broad
approved these changes
May 8, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Glad we're catching it early before we do any BQ stuff
gbggrant
added a commit
that referenced
this pull request
May 8, 2024
* Have GvsAssignIds.wdl validate that input sample names (in the provided input file) are unique.
gbggrant
added a commit
that referenced
this pull request
May 8, 2024
* VS_1327 ensure sample ids are unique (#8818) * Have GvsAssignIds.wdl validate that input sample names (in the provided input file) are unique.
RoriCremer
pushed a commit
that referenced
this pull request
Jun 10, 2024
* Have GvsAssignIds.wdl validate that input sample names (in the provided input file) are unique.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds a task to GvsAssignIds to verify that there are no duplicate sample names in the file provided.
Here is an example run of BulkIngest that replicates the original reported problem. No sample set provided, the sample id column is not sample_id and there's a duplicate in THAT column.
Here is an example run where the updated code runs and reports the problem early-ish without creating database tables that need to be cleaned up.
Here is a normal run that passes (same basic idea as the initial problem, except that I removed the duplicate row from the samples table.
Here is a passing integration test.