Skip to content

Commit

Permalink
Fix RNA uploads/delivery message draft
Browse files Browse the repository at this point in the history
  • Loading branch information
islean committed Jan 23, 2025
1 parent 93feadb commit 2c9aa3a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cg/store/crud/read.py
Original file line number Diff line number Diff line change
Expand Up @@ -1663,10 +1663,9 @@ def get_uploaded_related_dna_cases(self, rna_case: Case) -> list[Case]:
"""Returns all uploaded DNA cases ids related to the given RNA case."""

related_dna_cases: list[Case] = []
collaborators: set[Customer] = rna_case.customer.collaborators
for rna_sample in rna_case.samples:

collaborators: set[Customer] = rna_case.customer.collaborators

related_dna_samples_query: Query = self._get_related_samples_query(
sample=rna_sample,
prep_categories=DNA_PREP_CATEGORIES,
Expand Down

0 comments on commit 2c9aa3a

Please sign in to comment.