-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix RNA uploads/delivery message (#4145) (patch)
### Changed - The RNA uploads to Scout use the query logic found in the ReadHandler - More robust error raising in the ReadHandler for when there are multiple matching DNA samples or when no subject id is passed.
- Loading branch information
Showing
6 changed files
with
164 additions
and
257 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
from pydantic.dataclasses import dataclass | ||
|
||
|
||
@dataclass | ||
class RNADNACollection: | ||
"""Contains the id for an RNA sample, the name of its connected DNA sample, | ||
and a list of connected, uploaded DNA cases.""" | ||
|
||
rna_sample_id: str | ||
dna_sample_name: str | ||
dna_case_ids: list[str] |
Oops, something went wrong.